Forum Home
Press F1
 
Thread ID: 85030 2007-11-27 05:20:00 Two pagefiles (swap) in one partition? mzee (3324) Press F1
Post ID Timestamp Content User
615555 2007-11-27 05:20:00 I have two versions of Windows xp, "Pro" & a compact version of "Home".
For convenience I would like to place both swapfiles in the same partition. Will they get confused?
mzee (3324)
615556 2007-11-27 07:07:00 I am not sure in MS Windows but I guess it is the same (similar) as in Linux??

However Linux does use a swap partition rather than a file. Different OSs can use the same swap partition but not at the same time as far as I know. A swap file or partition only gets used when an OS is active - when you close down there is nothing in it (since it is effectively an overflow from RAM and RAM is "volatile" - nothing in it when you turn off your PC).

Maybe somebody can confirm this is the same for Windows?
johnd (85)
615557 2007-11-27 07:55:00 only if windows is set to clear the swap file on shut down and both where set to the exact same size. tweak'e (69)
615558 2007-11-27 08:11:00 tweak'e - you are probably right but that does not make sense to me - if swap is an overflow from RAM what is the use of any data there the next time you boot? johnd (85)
615559 2007-11-27 10:55:00 I would suggest you set them to the same size, as mentioned, but Im not sure how useful clearing-on-shutdown would be, windows has a seperate Hiberfil.sys for hibernation, unlike Linux... Clearing it on shutdown could just add 10 seconds to your shutdown time.. then again, it may be crucial?

Its possible from what I understand thou! :)
Chilling_Silence (9)
615560 2007-11-27 19:51:00 tweak'e - you are probably right but that does not make sense to me - if swap is an overflow from RAM what is the use of any data there the next time you boot?

you would thing so but if that was the case you wouldn't get corrupt swap file problems on boot up ;) simply clearing it on shutdown would avoid any risk of windows throwing a hissy due to any possible record of data still left in the swap file. after all clearing it can't hurt it, just a precautionary measure.
tweak'e (69)
615561 2007-11-27 22:29:00 The answer is simple:p
They just overwrite each other.
mzee (3324)
1