On Mon, 26 Sep 2005 17:22:16 +0000 (UTC) Squished Squirrel <Squished_Squirrel at hotmail.com> wrote:
> I've decided to dedicate an old PC as a freenet node, and I'd like to get it > optimized the best I can, given its resources. > > It is a Celeron 400 with 640MB RAM running XP. The problem I see is a lot of > disk access. About every second, the drive thrashes. I've read the posts on > upping the VM to 192..256..512 or so using -Xmx or by changing the JavaMem > line > in flaunch.ini, and it doesn't really make any difference. I would venture to say that increasing VM is more likely to increase disk access, not decrease it. -Xmx does seem to be what you want, though; it will set a ceiling on the amount of RAM that Java will allocate. Try disabling Virtual Memory in Windows altogether, and see if that helps any with the disk thrashing. You should be able to run Windows plus Freenet reasonably well in 640 megs, especially if you kill off any tray utilities and unnecessary services. Check the task manager to see how much RAM Windows wants for itself, then use -Xmx (or FLaunch.ini) to give Java most of whatever's left. s