500-700 is indeed excessive, suggests a bug somewhere...
On Sat, Sep 09, 2006 at 09:18:09PM +0200, Nicola Lugato wrote:
> I have this connections: not few but not as many as a ubernode. I try
> to never have the "too many" warning.
>
> * Connected: 6
> * Backed off: 3
> * Disconnected: 27
>
> I usually have 500/700 or more when i run frost, and about 200 when i
> don't run it.
> Bandwidth limit is as default iirc, i can't access config page now :P
> Ok that was just an abstract suggestion, i don't really know freenet
> internals.. :)
> I think that an acceptable number of threads could be around 100.
>
> On 9/9/06, toad <toad at amphibian.dyndns.org> wrote:
> >What was your bandwidth limit set to? How many connections do you have?
> >An ubernode will naturally use significant resources. Is the below
> >number of threads / cpu usage situation "normal" for your node?
> >
> >Artificially constraining the number of threads in use is likely to be
> >catastrophic with freenet's current architecture, so no.
> >
> >On Sat, Sep 09, 2006 at 10:56:23AM +0200, Nicola Lugato wrote:
> >> You can try and run "pstree", it should show the number of processes
> >> (in this case threads, if i'm not completely wrong).
> >>
> >> $ pstree
> >> init???acpid
> >> [CUT]
> >> ??wrapper-linux-x???java???533*[{java}]
> >> ??{wrapper-linux-x}
> >>
> >> That's 533 processes. The highest number i got was about 800.
> >> To be honest, CPU usage is very high. I can't play games while freenet
> >> is running, but i can with donkey or other filesharing programs. (i
> >> know freenet is far more complex anyway).
> >> Maybe some operation that are currently executing in parallel can be
> >> serialized on a single thread, or on a limited thread pool?
> >>
> >> On 9/9/06, Lars Juel Nielsen <lars.j.nielsen at gmail.com> wrote:
> >> >On 9/9/06, Ian Clarke <ian at locut.us> wrote:
> >> >>
> >> >>
> >> >>
> >> >> On 8 Sep 2006, at 15:45, David 'Bombe' Roden wrote:
> >> >>
> >> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> >> Hash: SHA1
> >> >>
> >> >> Ian Clarke wrote:
> >> >>
> >> >>
> >> >> On 8 Sep 2006, at 14:42, Thomas Bruderer wrote:
> >> >>
> >> >> Using threads has _nothing_ to do with careless programming.
> >> >> Using 1200 Thread IS CARELESS Programming.
> >> >> I can't think of any reason why we should be using so many threads
> >given
> >> >> what the node is doing. What are all of these threads being used for?
> >> >>
> >> >> And from what chapter of "Polemics for Dummies" does the 1200 come
> >from?
> >> >> My node rarely exceeds 150 threads. Currently it's at 74.
> >> >>
> >> >>
> >> >> I assumed it was true since people appeared to be defending it. Can
> >> >anyone
> >> >> confirm whether nodes can reach this number of threads?
> >> >
> >> >If memory serve me and I'm also no mixing up issues here then it was
> >> >some issue with certain versions of java and certain linux threading
> >> >libs causing problems with a bunch of threads, look it up in the IRC
> >> >and mailinglist logs somewhere between April and July 2006.
> >> >
> >> >>
> >> >> Ian.
> >> >>
> >> >> Ian Clarke: Co-Founder & Chief Scientist Revver, Inc.
> >> >> phone: 323.871.2828 | personal blog - http://locut.us/blog
> >> >>
> >> >> _______________________________________________
> >> >> Devl mailing list
> >> >> Devl at freenetproject.org
> >> >> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
> >> >>
> >> >>
> >> >>
> >> >_______________________________________________
> >> >Devl mailing list
> >> >Devl at freenetproject.org
> >> >http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
> >> >
> >
> >> _______________________________________________
> >> Devl mailing list
> >> Devl at freenetproject.org
> >> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
> >
> >
> >-----BEGIN PGP SIGNATURE-----
> >Version: GnuPG v1.4.5 (GNU/Linux)
> >
> >iD8DBQFFAtl6A9rUluQ9pFARAsVdAJ9ewjvJIv9a10hARI5ug+jb9V9JywCeK3ME
> >S7UJPiqZ9KPr+qYN/wt7pEc=
> >=rM+N
> >-----END PGP SIGNATURE-----
> >
> >
> >_______________________________________________
> >Devl mailing list
> >Devl at freenetproject.org
> >http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
> >
> >
> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20060918/92834b85/attachment.pgp>