-----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-----