Page 1 of 1

Gentoox and virtual memory

Posted: Sun Aug 01, 2004 10:02 am
by DOGSMAN
I read somewhere last night that the xbox has got over 2 gig of vm, Is it not possible for future releases of gentoox to use the this or is the vm not compatible with linux. How would virtual memory affect the speed of linux on the box.

Posted: Sun Aug 01, 2004 5:03 pm
by Trogdor
Whoever wrote this didn't know what he/she was talking about, AFAIK. Virtual Memory, AKA ``swap space,'' or, in the M$ Windows world, ``page file,'' is simply using secondary memory (like the hard drive) to perform a similar duty as primary memory (Core, for example, RAM). There should be no reason that Linux can access all of the hard drive except the VM. As another aside, Linux has its own swap space at /swap (of your XBOX filesystem, not your linux filesystem).

Posted: Sun Aug 01, 2004 6:23 pm
by Taily
And that swap file is 256mb if i remember correctly

Posted: Sun Aug 01, 2004 10:56 pm
by Trogdor
Taily wrote:And that swap file is 256mb if i remember correctly
Correct.

Posted: Mon Aug 02, 2004 1:31 am
by ShALLaX
There is absolutely no point in having swap above 256mb.

Posted: Mon Aug 02, 2004 6:35 am
by nobspangle
ShALLaX wrote:There is absolutely no point in having swap above 256mb.
So having more than 256MB is something you'd never do :wink:

Posted: Mon Aug 02, 2004 7:07 am
by Taily
nobspangle wrote:
ShALLaX wrote:There is absolutely no point in having swap above 256mb.
So having more than 256MB is something you'd never do :wink:
Nice sample nobspangle :D

Actually on my totally native gentoo i have something like 350 :/ couldn't hava cared less when i was using fdisk xD.. (i know its more than enough tho)

btw, shallax, on my gentoo install, i tried once to get that phpSys stuff to work, i compiled xboxtemp and put it in my bin folder but it just wouldn't display the temps or the fan speed :(
is there something additional you use, kinda.. or?
thanks :D (maybe its not the right place to ask but i can't bother making a topic about it)
DOGSMAN wrote:I read somewhere last night that the xbox has got over 2 gig of vm, Is it not possible for future releases of gentoox to use the this or is the vm not compatible with linux. How would virtual memory affect the speed of linux on the box.
You sure that person wasn't talking about windows? :lol:

Posted: Mon Aug 02, 2004 8:08 am
by ShALLaX
Youll find you will never fully swap 256mb with an Xbox unless youre doing something REALLY major. In fact, its reported that swap greater than 512mb is pointless for any "domestic" computer.

Posted: Mon Aug 02, 2004 3:00 pm
by nobspangle
I assume you mean any domestic linux computer. My windows box will happily consume more than that depending on the task at hand.

Posted: Mon Aug 02, 2004 6:02 pm
by Trogdor
My general rule for swap is twice the primary memory, truncated at 512 mb.

Posted: Thu Dec 02, 2004 2:45 pm
by ShALLaX
I honestly dont know why i made a 450mb swap... I was probably dealing with posts like this at the time and mistyped ;)

Posted: Fri Dec 03, 2004 6:56 pm
by nobspangle
I just built three new terminal servers at work (windows) they have 4GB RAM and 8GB swap, windows is rubbish