One Pagefile / Swap - Multiple operating systems

doctortonic

New member
Local time
11:11 PM
Messages
8
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom, Toshiba, Dell, Lenovo, Ibm, Sun, Mac, Compaq
OS
Windows 7 Ultimate 64bit, Windows XP 32bit, Gentoo Linux, Debian Linux, Arch Linux, Ubuntu Linux,
CPU
Various Intel cpu's, core 2 duo, i5, i7
Memory
2 Gb
Graphics Card(s)
1 Gb Ram memory, pixel shader 4.0
Sound Card
Realteck
Monitor(s) Displays
LCD+analog
Hard Drives
Seagate ( G force, shock protection ), WesternDigital
Mouse
Trust Predator, DPI change dedicated button
Internet Speed
Download: 10 M /s Upload: 4 M /s
Antivirus
Avast! Free, Eset, Comodo, MalwareBytes, Spybot S&D
Browser
PaleMoon, CoolNovo, Opera, OperaNext, Firefox Aurora
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 Computer

Computer Manufacturer/Model Number
HP Pavillion dv-7 1005 Tx
OS
Win 8 Release candidate 8400
CPU
[email protected]
Memory
4 gigs
Graphics Card(s)
Nvidia 9600M
Sound Card
HD built-in
Monitor(s) Displays
17" Wxga
Screen Resolution
1440x900
Cooling
none
Internet Speed
45Mb down 5Mb up
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? :confused:
 

My Computer

Computer Manufacturer/Model Number
Compaq desktop
OS
Windows 7 x64 SP1
CPU
Athlon II x2 215
Memory
4.0 GB
Graphics Card(s)
Onboard
Sound Card
Creative SB X-Fi Titanium HD (nice)
Monitor(s) Displays
24" Dell LCD
Screen Resolution
1900 x 1200
Hard Drives
320 GB, 500 GB and 750 GB 7200 rpm
PSU
430w
Keyboard
USB
Mouse
USB
Internet Speed
approx 10 Mbps
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up
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 W7. Either that or the virtual XP approach. :( :rolleyes:
 

My Computer

Computer Manufacturer/Model Number
Compaq desktop
OS
Windows 7 x64 SP1
CPU
Athlon II x2 215
Memory
4.0 GB
Graphics Card(s)
Onboard
Sound Card
Creative SB X-Fi Titanium HD (nice)
Monitor(s) Displays
24" Dell LCD
Screen Resolution
1900 x 1200
Hard Drives
320 GB, 500 GB and 750 GB 7200 rpm
PSU
430w
Keyboard
USB
Mouse
USB
Internet Speed
approx 10 Mbps
Back
Top