I recently installed Ubuntu 11.04 onto a RAID0(stripe) device using the alternate installation disc and manually partitioned the HDs ext4 and swap partitions; during this process, I was reading in a forum walkthrough (can't remember where...) that having the swap partition at the beginning of your hard drive could be better for some reason!
Is the idea that the swap is "closer" at the beginning so its accessed quicker with a lower latency/delay? The HD 'needle' moves less to reach the swap...
This confuses me because I like to think of Hard Drives as likened to a samurai sword(not literally)!
I was told that the last inch or two at the tip of the sword is the cutting edge because it travels the fastest.
(Think of a ball on a string and as you swing it around the ball at the end of the string is travelling at a greater speed than it would be if it was closer to the source - your hand)
BUT since the HD is spinning at (x)RPM then the outer edge of that HD should be spinning relatively faster (+x) providing quicker read/write rate.
So does the swap position affect performance in anyway? If so, is it better to have it placed in the beginning for immediate access, or at the end for increased read/write?
I would think the swap is sized and placed according to the individuals needs but how do I decide...
As a note, I do have 8GB of RAM (4x2GB) so I noticed that the swap has not been used in any of my GIS (mapping and analysis) processing. 8GB is the full capacity for my motherboard.