Re: [freenet-support] jcpuid and jbigi

2005-01-07 Thread Anders Bruun Olsen
On Fri, Jan 07, 2005 at 03:58:14PM -0600, Darren wrote:
> > Thread Pool
> > Total pooled threads50
> > Available pooled threads13
> > Pooled threads in use   37
> Your thread pool appears to be larger than mine as do your threads in
> use, so clearly your node is doing more work. (I accept all defaults
> related to thread behavior).  

I have tried setting maximumThreads to 20, but after restarting freenet
my thread pool is at 60 with 51 in use.

> Do you do any kind of outbound bandwidth limiting?  If not, it may help
> a bit (uncomment %outputBandwidthLimit). Apart from keeping your outbound 
> link 
> from being saturated, it should help calm your node down a bit I would think.

I have outputBandwidthLimit set to 40960, which should be fair for my
512kbit upstream ADSL.

> > I have just tried switching to NPTL, but so far haven't gotten much
> > change. Will have to see over the weekend if the effects surface.
> That's strange, I noticed a difference right away.
> gcc -v should return "Thread model: posix"
> and
> execting /lib/libc.so.6 returns "Native POSIX Threads Library by Ulrich 
> Drepper et al"

Got both correctly, so I have NPTL in my libs.

-- 
Anders
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/O d--@ s:+ a-- C++ UL+++$ P++ L+++ E- W+ N(+) o K? w O-- M- V
PS+ PE@ Y+ PGP+ t 5 X R+ tv+ b++ DI+++ D+ G e- h !r y?
--END GEEK CODE BLOCK--
PGPKey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8BFECB41
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] jcpuid and jbigi

2005-01-07 Thread Darren
On Fri, Jan 07, 2005 at 05:05:34PM +0100, Anders Bruun Olsen wrote:
> On Thu, Jan 06, 2005 at 10:09:43PM -0600, Darren wrote:
> > Well, I cant answer that question, but you may be following a false
> > trail.   I'm essentially in the same boat, since I run gentoo under
> > amd64 and cannot get support for those libraries.   
> > My cpu usage is very low however (like 5%), so there may be some
> > tweaking you can do.
> > What JVM are you using?  I'm using 1.5.
> 
> sun-jdk-1.4.2.06
> Should 1.5 give better performance?
> 
> > Also, if you go to advanced mode and environment in the web interface,
> > what information is shown for "Memory Allocation"?  How about "Thread
> > pool"?
> 
> Memory Allocation
> Maximum memory the JVM will allocate259,264 KiB
> Memory currently allocated by the JVM   259,264 KiB
> Memory in use   166,105,920 Bytes
> Estimated memory used by logger None
> Unused allocated memory 99,378,440 Bytes
This very closely matches my numbers.

> 
> Thread Pool
> Total pooled threads50
> Available pooled threads13
> Pooled threads in use   37
> 
Your thread pool appears to be larger than mine as do your threads in
use, so clearly your node is doing more work. (I accept all defaults
related to thread behavior).  
Do you do any kind of outbound bandwidth limiting?  If not, it may help
a bit (uncomment %outputBandwidthLimit). Apart from keeping your outbound link 
from being saturated, it should help calm your node down a bit I would think.
> > Also, I want to add that I've had great success with NPTL...but I cant
> > say how well that will work with your platform/JVM.
> 
> I have just tried switching to NPTL, but so far haven't gotten much
> change. Will have to see over the weekend if the effects surface.
That's strange, I noticed a difference right away.
gcc -v should return "Thread model: posix"
and
execting /lib/libc.so.6 returns "Native POSIX Threads Library by Ulrich Drepper 
et al"

> 
> Anyways, it seemed that I hadn't gotten the newest freenet-ext.jar
> (thanks Mika).
> After fetching that I got this output when starting Freenet:
> 
> INFO: Native CPUID library 
> 'freenet/support/CPUInformation/libjcpuid-x86-linux.so' loaded from resource
> INFO: Optimized native BigInteger library 
> 'net/i2p/util/libjbigi-linux-athlon.so' loaded from resource
> 
> So those things should be in place now.
> But the Freenet java processes still almost cripple my CPU most of the
> time :-/
> 
> -- 
> Anders
> -BEGIN GEEK CODE BLOCK-
> Version: 3.12
> GCS/O d--@ s:+ a-- C++ UL+++$ P++ L+++ E- W+ N(+) o K? w O-- M- V
> PS+ PE@ Y+ PGP+ t 5 X R+ tv+ b++ DI+++ D+ G e- h !r y?
> --END GEEK CODE BLOCK--
> PGPKey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8BFECB41
> ___
> Support mailing list
> Support@freenetproject.org
> http://news.gmane.org/gmane.network.freenet.support
> Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
> Or mailto:[EMAIL PROTECTED]
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] jcpuid and jbigi

2005-01-07 Thread Anders Bruun Olsen
On Thu, Jan 06, 2005 at 10:09:43PM -0600, Darren wrote:
> Well, I cant answer that question, but you may be following a false
> trail.   I'm essentially in the same boat, since I run gentoo under
> amd64 and cannot get support for those libraries.   
> My cpu usage is very low however (like 5%), so there may be some
> tweaking you can do.
> What JVM are you using?  I'm using 1.5.

sun-jdk-1.4.2.06
Should 1.5 give better performance?

> Also, if you go to advanced mode and environment in the web interface,
> what information is shown for "Memory Allocation"?  How about "Thread
> pool"?

Memory Allocation
Maximum memory the JVM will allocate259,264 KiB
Memory currently allocated by the JVM   259,264 KiB
Memory in use   166,105,920 Bytes
Estimated memory used by logger None
Unused allocated memory 99,378,440 Bytes

Thread Pool
Total pooled threads50
Available pooled threads13
Pooled threads in use   37

> Also, I want to add that I've had great success with NPTL...but I cant
> say how well that will work with your platform/JVM.

I have just tried switching to NPTL, but so far haven't gotten much
change. Will have to see over the weekend if the effects surface.

Anyways, it seemed that I hadn't gotten the newest freenet-ext.jar
(thanks Mika).
After fetching that I got this output when starting Freenet:

INFO: Native CPUID library 
'freenet/support/CPUInformation/libjcpuid-x86-linux.so' loaded from resource
INFO: Optimized native BigInteger library 
'net/i2p/util/libjbigi-linux-athlon.so' loaded from resource

So those things should be in place now.
But the Freenet java processes still almost cripple my CPU most of the
time :-/

-- 
Anders
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/O d--@ s:+ a-- C++ UL+++$ P++ L+++ E- W+ N(+) o K? w O-- M- V
PS+ PE@ Y+ PGP+ t 5 X R+ tv+ b++ DI+++ D+ G e- h !r y?
--END GEEK CODE BLOCK--
PGPKey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8BFECB41
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] docs for x86_64 ?

2005-01-07 Thread Ian Clarke
On 29 Dec 2004, at 22:44, <[EMAIL PROTECTED]> wrote:
By the way, I tried going to dodo.freenetproject.org and was greeted by
"Placeholder for lawtracker.org website"
What's lawtracker.org ?
Its a project I started which, unfortunately, hasn't yet got off the 
ground.

As was pointed out by someone else, the idea is described here:
 http://slashdot.org/~Sanity/journal/74880
Ian.
--
Founder, The Freenet Projecthttp://freenetproject.org/
CEO, Cematics Ltd   http://cematics.com/
Personal Blog   http://locut.us/~ian/blog/
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


[freenet-support] Re: Support Digest, Vol 17, Issue 28

2005-01-07 Thread Newsbyte
"I believe it's one of Ian's projects: Bugzilla for government or some
such."

An exellent name/idea, for making our largely paranoid userbase at ease  ;-)



___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]