Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - One Pagefile / Swap - Multiple operating systems

 
11-19-2011   #1


Windows 7 Enterprise 32Bit/64bit, Windows XP 32bit, CentOs/Solaris/FreeBSD->External hdd
 
 

One Pagefile / Swap - Multiple operating systems

Hello!

In my first partition I have windows xp, and in the second partition windows 7.

Is it safe to use only one swap / pagefile from only one partition (first one where resides windows xp)?

My pagefile size is set to be in the first partition and at fixed size (minimum 4096 Mb maximum 4096 mb).

Or should I make/move/user a swap file from the second partition (windows 7 partition). Far as I know from my benchmarks the hardisk is faster in the first partition (first 20 GB), that would be the xp partition, fast in the second one (from 20 to 50 gb) after this the speed is decreasing.

I am using windows xp because Photoshop and some games seem's to be far more resposive and faster than in windows 7, and I use windows 7 for internet related & other stuff.

My System SpecsSystem Spec
11-19-2011   #2


WCP ONLY
 
 


Quote   Quote: Originally Posted by doctortonic View Post
Hello!

In my first partition I have windows xp, and in the second partition windows 7.

Is it safe to use only one swap / pagefile from only one partition (first one where resides windows xp)? NO and IMHO you wont be able too.

My pagefile size is set to be in the first partition and at fixed size (minimum 4096 Mb maximum 4096 mb). Fixed amount isnt a good idea especially with PS.

Or should I make/move/user a swap file from the second partition (windows 7 partition). Far as I know from my benchmarks the hardisk is faster in the first partition (first 20 GB), that would be the xp partition, fast in the second one (from 20 to 50 gb) after this the speed is decreasing. If there is any variation in HD speed it is minimal and you wont notice any speed change.

I am using windows xp because Photoshop and some games seem's to be far more resposive and faster than in windows 7, and I use windows 7 for internet related & other stuff.

PS and some games seem to be faster because you are thin (very thin in 64 bit) in RAM
My System SpecsSystem Spec
11-20-2011   #3


Windows 7 x64 SP1
 
 


To zigzag3143

If the OP had two hard drives with the first partition of the second being used for a dedicated pagefile (as is common), is there any particular reason why a common pagefile could not be used?
My System SpecsSystem Spec
.


11-20-2011   #4


Windows 7 (7600) x86
 
 


You can use a single pagefile between Windows XP and Windows 7. The contents of the pagefile are wiped each time you boot into Windows. It is perfectly safe and capable.
My System SpecsSystem Spec
11-20-2011   #5


W7 X-64 RTM,SUSE 11.1, XP PRO SP3 as a VM, VMware ESXi
 
 


Hi there
Note there is a difference between paging and swapping.

Swapping simply means just copying some of your current workspace out to HDD - almost like imaging your current workspace -- it's usually a fairly expensive and time consuming process - and EXTREMELY I/O bound.

Paging on the other hand is just a mechanism mapping memory addresses to actual addresses -- when an application needs more memory say it wants an extra 120 MB of real memory which isn't available -- Windows goes to see what chunks of memory were last recently used (known as LRU) and writes these addresses with their contents to the paging file.
The Windows Task dispatcher then allocates this chunk of memory to the application which can use it at will.

Paging algorithms are often very complex to get the OS to perform efficiently -- the LRU (last recently used) algorithm is used fairly often in OS design as it's relatively (and I say relatively since this whole topic is a complex subject) easy to implement.

What happens with swapping is when there isn't enough memory left even for the paging system to allocate properly so a whole application will be swapped out to disk - including temprary storage areas and paging data -- often a long I/O process.

If this application is needed again quickly the whole process is reveresed with another application having to be swapped out.

This phenomonenon is known as thrashing and you will immediately notice when it happens -- the disk HDD light will be permaanently on and the computer will seem as if its locked ---occurs when you don't have much ram and are trying to run too many applications at once.

Windows store swapping in the page file too so swapping here is DOUBLY expensive if it occurs --some os'es at least keep separate swap and page files on different drives.

the Pagefile.sys for XP / Windows 7 will be overwritten each time by each os at boot if you have them on different partitions / drives to the OS so no problems.

Running multiple OS'es concurrently as VM's won't cause any problems either since each VM will have its own set of virtual disks too. You will only hose it up if you try and use the same RAW DISKS for two concurrently running VM's.

Cheers
jimbo
My System SpecsSystem Spec
11-20-2011   #6


Windows 7 x64 SP1
 
 


I'll probably have to get around to dual OS operation when my old XP system finally kicks the bucket - have too many useful programs that will not run on Windows 7. Either that or the virtual XP approach.
My System SpecsSystem Spec
Reply

 One Pagefile / Swap - Multiple operating systems problems?



Thread Tools



Similar Threads for: One Pagefile / Swap - Multiple operating systems
Thread Forum
Backing up a HD with multiple partitions and Operating Systems. Backup and Restore
multiple operating systems Installation & Setup
Do Old Operating Systems Ever Die? Chillout Room
Regarding 64 bit Operating Systems Installation & Setup
2 Operating Systems Installation & Setup


All times are GMT -5. The time now is 06:40 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30