2

I am installing both linux mint and win 7 on the same disk on an old machine, I first installed linux (I know I should have installed win first so I wouldn't have to fix grub later but well, it's done now), and I let the installer format the HDD and setup the partitions.

Now I am resizing the main (ext4) partition in half, to create a NTFS one for installing windows on it, but my swap partition will be at the end of the disk. The partitions look something like this now:

||---------- EXT4 (247GB) ----------|---------- NTFS (247GB) ----------|- SWAP (5GB) -||

Should I move the swap partition to the start or in the middle of the other two partitions? Or it doesn't really matters?

  • 2
    Theoretically, you might have some impact if the swap drive is physically located near the linux partition. It would reduce the head movement, which is one of the slower parts of the hard disk read/write cycle. In reality, it probably doesn't make a significant difference. Still, I would recommend placing the swap space immediately after the ext4 partition. – David Paige May 6 '15 at 19:43
  • @DavidPaige Thanks, I ended up doing that, if you want to post an answer i'll accept it. – margca May 6 '15 at 20:30
1

Theoretically, you might have some impact if the swap drive is physically located near the linux partition. It would reduce the head movement, which is one of the slower parts of the hard disk read/write cycle. In reality, it probably doesn't make a significant difference. Still, I would recommend placing the swap space immediately after the ext4 partition.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.