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
>

Reply via email to