[freenet-support] freenet/jvm priority over linux system?

2008-02-05 Thread Volodya
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Martin Nyhus wrote:
> On Monday 04 February 2008 14:45:31 Ermanno Baschiera wrote:
>> IMHO that's a problem of process priority. Anybody knows how to rise
>> the priority of freenet? (or JVM, I don't know which one)
>> (My CPU isn't too slow for Freenet. My monitoring tool says it's 25%
>> busy average)
> 
> I'm not sure how you can do this automatically, but you can use renice to do 
> it manually:
> $ renice  -p 
> 
> The new priority should be lower than the priority portage runs at (not sure 
> what this is), and the pid should be that of the java process that runs 
> Freenet.
> 
> Hope that helps, at least temporarily...
> 
> Nogaso

In run.sh i have these lines:

# Priority at which to run the wrapper.  See "man nice" for valid priorities.
#  nice is only used if a priority is specified.
PRIORITY=15

q;-)

- --
http://freedom.libsyn.com/   Voice of Freedom, Radical Podcast
http://eng.anarchopedia.org/ Anarchopedia, A Free Knowledge Portal

 "None of us are free until all of us are free."~ Mihail Bakunin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHqE0wuWy2EFICg+0RAjKuAJ0Q3e2uCk4uYD0axGpDOZre5fOOVACg3GZ7
E6x++qLILnownq4nW+8azBk=
=IE0S
-END PGP SIGNATURE-



[freenet-support] freenet/jvm priority over linux system?

2008-02-05 Thread Ermanno Baschiera
Thanks a lot boys!
I edited run.sh (priority 0) and also added PORTAGE_NICENESS="15" in make.conf.
I tested my new configuration with a quick kernel compilation...
That's fine now!

-ermanno

2008/2/5, Bob :
> Hi,
>
> On 2008-02-04 13:45, Ermanno Baschiera wrote:
> > Hello,
> > I'm running my node on a Gentoo Linux machine.
> > You know... we gentooers sometimes have to compile updates and new
> > packages. Ok, we OFTEN have to compile stuff. :-)
> > During those compile sessions, my node pings higher and higher. Up to
> > 22sec! Also if there's heavy use of samba, my node gets slower.
>
> You should be able to address slowdown during emerges by setting
> PORTAGE_NICENESS to e.g. 15 in make.conf, see
> http://gentoo-wiki.com/TIP_nice_and_PORTAGE_NICENESS.
>
> You could also edit run.sh(?) so the java-launching line reads
> something like "nice -10 java (...)" if it still seems necessary.
>
> Bob
>
>
>
>   __
> Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
>
> ___
> Support mailing list
> Support at freenetproject.org
> http://news.gmane.org/gmane.network.freenet.support
> Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
> Or mailto:support-request at freenetproject.org?subject=unsubscribe
>



[freenet-support] freenet/jvm priority over linux system?

2008-02-05 Thread Bob
Hi,

On 2008-02-04 13:45, Ermanno Baschiera wrote:
> Hello,
> I'm running my node on a Gentoo Linux machine.
> You know... we gentooers sometimes have to compile updates and new
> packages. Ok, we OFTEN have to compile stuff. :-)
> During those compile sessions, my node pings higher and higher. Up to
> 22sec! Also if there's heavy use of samba, my node gets slower.

You should be able to address slowdown during emerges by setting
PORTAGE_NICENESS to e.g. 15 in make.conf, see
http://gentoo-wiki.com/TIP_nice_and_PORTAGE_NICENESS.

You could also edit run.sh(?) so the java-launching line reads
something like "nice -10 java (...)" if it still seems necessary.

Bob



  __
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com




Re: [freenet-support] freenet/jvm priority over linux system?

2008-02-05 Thread Volodya
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Martin Nyhus wrote:
 On Monday 04 February 2008 14:45:31 Ermanno Baschiera wrote:
 IMHO that's a problem of process priority. Anybody knows how to rise
 the priority of freenet? (or JVM, I don't know which one)
 (My CPU isn't too slow for Freenet. My monitoring tool says it's 25%
 busy average)
 
 I'm not sure how you can do this automatically, but you can use renice to do 
 it manually:
 $ renice priority -p pid
 
 The new priority should be lower than the priority portage runs at (not sure 
 what this is), and the pid should be that of the java process that runs 
 Freenet.
 
 Hope that helps, at least temporarily...
 
 Nogaso

In run.sh i have these lines:

# Priority at which to run the wrapper.  See man nice for valid priorities.
#  nice is only used if a priority is specified.
PRIORITY=15

q;-)

- --
http://freedom.libsyn.com/   Voice of Freedom, Radical Podcast
http://eng.anarchopedia.org/ Anarchopedia, A Free Knowledge Portal

 None of us are free until all of us are free.~ Mihail Bakunin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHqE0wuWy2EFICg+0RAjKuAJ0Q3e2uCk4uYD0axGpDOZre5fOOVACg3GZ7
E6x++qLILnownq4nW+8azBk=
=IE0S
-END PGP SIGNATURE-
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] freenet/jvm priority over linux system?

2008-02-05 Thread Bob
Hi,

On 2008-02-04 13:45, Ermanno Baschiera wrote:
 Hello,
 I'm running my node on a Gentoo Linux machine.
 You know... we gentooers sometimes have to compile updates and new
 packages. Ok, we OFTEN have to compile stuff. :-)
 During those compile sessions, my node pings higher and higher. Up to
 22sec! Also if there's heavy use of samba, my node gets slower.

You should be able to address slowdown during emerges by setting
PORTAGE_NICENESS to e.g. 15 in make.conf, see
http://gentoo-wiki.com/TIP_nice_and_PORTAGE_NICENESS.

You could also edit run.sh(?) so the java-launching line reads
something like nice -10 java (...) if it still seems necessary.

Bob



  __
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com

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


Re: [freenet-support] freenet/jvm priority over linux system?

2008-02-05 Thread Ermanno Baschiera
Thanks a lot boys!
I edited run.sh (priority 0) and also added PORTAGE_NICENESS=15 in make.conf.
I tested my new configuration with a quick kernel compilation...
That's fine now!

-ermanno

2008/2/5, Bob [EMAIL PROTECTED]:
 Hi,

 On 2008-02-04 13:45, Ermanno Baschiera wrote:
  Hello,
  I'm running my node on a Gentoo Linux machine.
  You know... we gentooers sometimes have to compile updates and new
  packages. Ok, we OFTEN have to compile stuff. :-)
  During those compile sessions, my node pings higher and higher. Up to
  22sec! Also if there's heavy use of samba, my node gets slower.

 You should be able to address slowdown during emerges by setting
 PORTAGE_NICENESS to e.g. 15 in make.conf, see
 http://gentoo-wiki.com/TIP_nice_and_PORTAGE_NICENESS.

 You could also edit run.sh(?) so the java-launching line reads
 something like nice -10 java (...) if it still seems necessary.

 Bob



   __
 Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com

 ___
 Support mailing list
 Support@freenetproject.org
 http://news.gmane.org/gmane.network.freenet.support
 Unsubscribe at http://emu.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://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


[freenet-support] freenet/jvm priority over linux system?

2008-02-04 Thread Martin Nyhus
On Monday 04 February 2008 14:45:31 Ermanno Baschiera wrote:
> IMHO that's a problem of process priority. Anybody knows how to rise
> the priority of freenet? (or JVM, I don't know which one)
> (My CPU isn't too slow for Freenet. My monitoring tool says it's 25%
> busy average)

I'm not sure how you can do this automatically, but you can use renice to do 
it manually:
$ renice  -p 

The new priority should be lower than the priority portage runs at (not sure 
what this is), and the pid should be that of the java process that runs 
Freenet.

Hope that helps, at least temporarily...

Nogaso
-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: 



[freenet-support] freenet/jvm priority over linux system?

2008-02-04 Thread Ermanno Baschiera
Hello,
I'm running my node on a Gentoo Linux machine.
You know... we gentooers sometimes have to compile updates and new
packages. Ok, we OFTEN have to compile stuff. :-)
During those compile sessions, my node pings higher and higher. Up to
22sec! Also if there's heavy use of samba, my node gets slower.
IMHO that's a problem of process priority. Anybody knows how to rise
the priority of freenet? (or JVM, I don't know which one)
(My CPU isn't too slow for Freenet. My monitoring tool says it's 25%
busy average)

Thanks a lot.

-ermanno



[freenet-support] freenet/jvm priority over linux system?

2008-02-04 Thread Ermanno Baschiera
Hello,
I'm running my node on a Gentoo Linux machine.
You know... we gentooers sometimes have to compile updates and new
packages. Ok, we OFTEN have to compile stuff. :-)
During those compile sessions, my node pings higher and higher. Up to
22sec! Also if there's heavy use of samba, my node gets slower.
IMHO that's a problem of process priority. Anybody knows how to rise
the priority of freenet? (or JVM, I don't know which one)
(My CPU isn't too slow for Freenet. My monitoring tool says it's 25%
busy average)

Thanks a lot.

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