Virtual memory on separate disc.

steimm

Senior member
Feb 26, 2001
310
1
0
I know that it is best to have the VirtualMemory/Pagefile on another disc than the OS is running.

I have 2x160GB SATA RAID-0 in my rig and would like to gain a little more out of it, I have 2 discs just lying around to no use. 1 WD 120GB ATA-133 7200rpm and 1 Xbox original hard-drive (I think it is a lousy ATA-66 5400rpm on those - not sure tho).

Theoretically: Compared to my setup today,
1. Would it give me higher performance with the page file on the Xbox drive?
2. Would it give me higher performance with the page file on the WD 120GB?
3. Would it give me higher performance with splitting up the RAID-setup and run OS on one disc and the page file on the other?

Best regards

steimm
 

fightcancer

Member
May 25, 2005
100
0
0
I had 3x80GB RAID-0...

until Friday when one crashed. now I'm trying to get the one to work so I can get data from any of the 3.
 

KoolDrew

Lifer
Jun 30, 2004
10,226
7
81
If you have enough RAM where the pagefile is not really used much placemnt of it will matter very little.
 

steimm

Senior member
Feb 26, 2001
310
1
0
Is that really true? Lets say for gaming, the Battlefield-games are really needy for bigger pagefile.

But what about my first question, which alternative gives the highest performance?
 

KoolDrew

Lifer
Jun 30, 2004
10,226
7
81
You can measure your PF usage using the "%usage" counter in perfmon. Of course if it is being used very little the placement would also matter very little. If you are accessing it very often then placement will make a difference. However, then I think you need more RAM.

The PF performs best on the least-used HDD and the most-used partition. Also of course the better performing drive would be better.
 
Feb 19, 2001
20,158
20
81
Well I got a similar case

250gb Seagate 7200.8 SATA
and

160GB Hitachi PATA (7K250 series), which is pretty much the fastest 160gb PATA drive out there bought last summer.

Was wondering if putting page file on the 160gb would be nice
 

KoolDrew

Lifer
Jun 30, 2004
10,226
7
81
Originally posted by: DLeRium
Well I got a similar case

250gb Seagate 7200.8 SATA
and

160GB Hitachi PATA (7K250 series), which is pretty much the fastest 160gb PATA drive out there bought last summer.

Was wondering if putting page file on the 160gb would be nice

Again, the PF should be on the least-used drive and the most-used partition. Whether or not it will give you a performance increase depends on how much you actually use the PF.
 

steimm

Senior member
Feb 26, 2001
310
1
0
Sorry for being a little annoying...

But is it faster to have a page file on a separate hard drive with ATA-133 access than have it on the same partition as the OS on the RAID-0 SATA? Having the page file on another partition on the same physical disc as the OS won't gain anything - or?

(I have 1GB of RAM)
 

Zepper

Elite Member
May 1, 2001
18,998
0
0
As another wrote: If you have adequate hardware RAM, the swap file should be little used. As far as Windwoes is concerned, a RAID 0 array is a single drive. So under some circumstances, having your swap file on a separate drive from the array can speed things up . I would put my OS and programs on a single stand-alone drive and keep my datafiles and swap file on another drive. The swap file would be in its own partition and would be static rather than dynamic. I would NOT have any RAID-0 on a single user system. I might do a spanned array or JaBoD if I wanted to just have one huge data drive. There is adequate evidence that RAID-0 doesn't provide enough added perf to overcome the added risk in a single-user scenario.

.bh.
 
Feb 19, 2001
20,158
20
81
Originally posted by: Zepper
As another wrote: If you have adequate hardware RAM, the swap file should be little used. As far as Windwoes is concerned, a RAID 0 array is a single drive. So under some circumstances, having your swap file on a separate drive from the array can speed things up . I would put my OS and programs on a single stand-alone drive and keep my datafiles and swap file on another drive. The swap file would be in its own partition and would be static rather than dynamic. I would NOT have any RAID-0 on a single user system. I might do a spanned array or JaBoD if I wanted to just have one huge data drive. There is adequate evidence that RAID-0 doesn't provide enough added perf to overcome the added risk in a single-user scenario.

.bh.


2gb pagefile is more than enough for your 1gb of RAM. Check out how much RAM/pagefile you're actually using. If you allocate too much pagefile, Windows is stupid and will leave a a lot of RAM untouched. But this is a separate issue.

I think we're just trying to figure out where to put the page file.
 

McPudd

Member
Jul 10, 2005
153
0
0

KoolDrew

Lifer
Jun 30, 2004
10,226
7
81
Sorry for being a little annoying...

But is it faster to have a page file on a separate hard drive with ATA-133 access than have it on the same partition as the OS on the RAID-0 SATA? Having the page file on another partition on the same physical disk as the OS won't gain anything - or?

(I have 1GB of RAM)

RAID-0 helps with your sequential transfer rate, but page file writes and reads are all small and random. The max and typical page file write and read is 64 KB. So RAID-0 does not help much with page file access.

Also if you have the page file on the same physical drive as the OS, but a separate partition it would actually decrease performance. This is because it would increase your average seeking distance.

Since everybody has different usage patterns I cannot say just because you have 1GB of RAM you will not benefit from moving the page file. Games like BF2 and other applications greatly benefit from more then 1GB and you may be using the page file quite a bit.

Why OS on a single stand-alone drive and not on the RAID-0 array?

As I said before a RAID-0 array helps with your sequential transfer rate. So when you are dealing with large files you will benefit. However the majority of other things you won't benefit from RAID-0 and it reduces reliability. Having the two drives separate (and on a separate controller) each drive can do work at the same time. So while you are accessing something on one drive the other can be accessing something else.

Pretty much I agree with Zepper except that he recommends putting the page file in its own partition. The page file should be on the least-used drive and the most-used partition on that drive. This is because seek time is everything in drive performance. The pure transfer rate is insignificant. If it is separated from other files it will increase the average seek distance.

Also the only time it should be set static is when it is in its own partition. However as I already told you it should never have its own partition. To determine the optimal size run your most intensive application and then after a while measure your PF usage using the "&usage" counter in perfmon. The number being displayed is the percentage. So figure out actually how much the page file is being used. Then multiply this number by 4. Set that as your initial size. The max should be at least 2x the number you just calculated. Most users are fine leaving it System Managed too, but if you want to set it manually that is the best way to do it.

2gb page file is more than enough for your 1gb of RAM.

How exactly do you know this? While you are most likely right, everybody's usage patterns are different.

As for the links McPudd posted. The first one is good, but it misses a few points and stuff that I would of added in there. The second one I have not looked at and do not have the time to, but I bet it also has some false info or bad advice (just assuming since just about every one does).

As for the third one it has a bit of bad advice and poor advice. I won't go into any detail, but one thing I remember it saying was to put the page file outermost cylinders of the drive. You can forget about this. All this will help with is sequential transfer rate and as I already said seek time is everything.
 

steimm

Senior member
Feb 26, 2001
310
1
0
really thx for all the answers I'm starting to understand a little bit more.
About the risk w/ RAID-0 am I really aware of and that's a risk I'm willing to take. I've had a disc-crash earlier on a RAID-0 array and that wasn't so fun. But I do "feel" the performance difference when gaming and benching so I'll continue to take that risk.

I will do some testing with the setup I have today and try page file on another physical disc and see if there's gonna be a difference.

really thanks everyone!
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |