Does the position of partition on disk affect speed

diskperformance

If I put /var as first partition, then /home and /, will the partition for /var have better performance than if I put other partitions close to head of the disk? Will the disk sector position matter?

I heard some people saying that I should put swap closer to the head of a partition to get higher performance.

Best Answer

Yes, it is true.

The platters in a disk rotate at a fixed speed (7200 RPM in the common case). As such when the head is over the outer portion of the platter more surface area passes under the head per rotation than on the inside track. Thus more IO per rotation is possible.
(The 'beginning' of the drive is the outside tracks of the platters)

Now whether this is going to be at all noticeable, especially for swap which you shouldnt be using extensively anyway, is debatable.

Related Question