INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: NTFS partition performance question  (Read 1886 times)

rjm

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2699
NTFS partition performance question
« on: August 25, 2012, 06:51:26 pm »

Anyone know when creating multiple partitions on an NTFS drive using Windows' built in tool, are the partitions to the left or to the right (on the graphical box of the tool) the fastest?

I seem to recall partitions near the inside of a disc are fastest because of reduced seek time. But I don't know if left or right represents outside or inside in the Windows tool.
Logged

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: NTFS partition performance question
« Reply #1 on: August 26, 2012, 03:14:10 am »

This only counts for mechanical disks, not SSD's. You can asume the partitions to the left are on the inside if they are created first. To be sure though, especially when you're redoing your work and recreating and deleting partitions, you can use a free/open source partitioning tool with a better graphical view, like GpartEd.

Also, if speed is important and you're willing to compromise some disk space, consider 64K allocation unit size.

If you're not into recklessly wasting space for a little more speed, you can still consider using larger allocation units but you'd have to be more considerate. 64K would suit volumes where you'd store files that are typically a few MB or larger in size. If you're storing large amounts of smaller files, try and pick an allocation size that averages around the file size, if possible.

Basically, if you pick 64K with too many small files, each file will take up 64K regardless of its own (smaller) size. With 30,000 files and wasting half of each allocation unit, you're wasting twice the space you would with 32K allocation units. Theoretically, it might be faster but that's not a good trade off IMO. But let's say its mostly videos and large music files on there, go with 64K units.

The reason is simply that the OS caches allocation tables. It's basically a database with records and pointers. If you have a large volume of 1TB with the default (4K) allocation unit size, I estimate you have around 200 million allocation units. With 64K allocation units that would be roughly 12,5 million units for the OS to keep track of. That's a lot less which can lead to a faster volume.

This practise is diminishing with faster pc's but I still believe its good practise and something to consider if speed is important. The OS still needs less memory with larger units and less CPU cycles to crawl through all the allocation units.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: NTFS partition performance question
« Reply #2 on: August 26, 2012, 02:52:57 pm »

+1 to everything InflatableMouse said.

I probably wouldn't bother with the allocation unit sizing thing.  It has VERY diminishing returns, performance-wise, for desktop use.  It can matter a LOT for database servers and big file servers that handle multi-I/O from lots of clients at once.  In your average home-use server scenario, you aren't going to see much.

The only thing I wasn't sure of was the left/right thing.  The inside tracks being on the left makes the most sense to me, but I've never seen documentation showing that for sure (I've never looked either, though).
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: NTFS partition performance question
« Reply #3 on: August 26, 2012, 03:54:21 pm »

Now that I'm thinking about it, you shouldn't have to worry about the left partition being on the inside. If its the first partition you create, its automatically at the start of the drive. Windows won't deliberately create a partition at the end/outside of a disk.

So unless you start deleting/recreating partitions with other partitions still in place (ie, making a mess of things :P), don't worry about it. Create the partition you want on the inside first, that's all.
Logged

rjm

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2699
Re: NTFS partition performance question
« Reply #4 on: August 26, 2012, 04:21:01 pm »

Wow you guys are generous with your time. Great community here. Thanks!

Reason I asked is I am redeploying my old XP desktop as a poor man's server for backing up the media on my shiny new i5 desktop.

My old XP system has only 5 SATA and I'm not putting any more money into it so I had to make an ugly compromise and partition 1 3TB drive into system + 3 other media partitions. Don't really care how this system performs but thought I'd at least try to put the system partition in the sweet spot. Thanks to your advice I will ensure I create the system partition first.
Logged
Pages: [1]   Go Up