partitons and swap files

bwanaaa

Senior member
Dec 26, 2002
739
1
81
I have a raid-0 array of 2 hitachi 7k250 drives using an nforce 4 chipset. 1 gig of ram and an amd64 x2 proc. What whould be the best way to set up the swap file?
a) make a 2 gig partition first and make that the swap file-the remaining space will be for everything else
b)make abig partition first and the last 2 gig for the swap file
c) get another disc and put he swap file on it


Linux does it the first way. (a). Many people suggest however, that (c) is best-since most of the time accessing memory is in head movement over the platters. My problem with this concept though is that a raid-0 is so much faster than any single disc that putting the swap file elsewhere will slow things down. Does anyone have any data to support one way?
 

flexy

Diamond Member
Sep 28, 2001
8,464
155
106
another partition for the page-file is absolutely pointless - it would only make sense if the pagefile is on a seperate physical*drive*.

But then there is the question whether the performance on the Raid0 would out-do the advantage of having the pagefile on a seperate drive, since your Raid would (i guess) be twice as fast as the one single drive.

I am just guessing but i THINK it doesnt really matter in this case...ehrm..i just see you say all that for yourself already....well then it would come down to measuring performance and similiar.
 

Blain

Lifer
Oct 9, 1999
23,643
3
81
Originally posted by: flexy
another partition for the page-file is absolutely pointless - it would only make sense if the pagefile is on a seperate physical*drive*.
How true. :laugh:
A swapfile partition may actually hurt performance vs allowing Windows to handle the task.