Order of partitions on drive? [closed]

I plan to partition my hard drive into efi, /, /home, and swap.

If considering the beginning of my disk is faster than its end, how shall I arrange the order of my partitions?

  • Should / be as close to the front as possible, because there is the running OS?

  • Should swap also be as close to the front as possible, because swapping back and forth with main memory should be fast?

  • Does efi need to be near the front or not?

  • How about /home?


  1. swap
  2. /
  3. /home
  4. efi

Why?

Indeed, the beginning of a HDD is faster than the end (SSDs are entirely different animals), and when you need to swap, you want it to be as fast as possible.

You want your applications, temp files, ... to start as fast as possible to have a nice user experience.

(For completeness: If you're running a database server, put the database log files in-between 1 and 2)

Additional free tip: Don't just buy a new internal HDD, buy 2: One extra to make back-ups on! Read this Q&A for more info! ;-)