Re: defrag deployment status (was Re: [PATCH] ext4: allow defrag(EXT4_IOC_MOVE_EXT) in 32bit compat mode)

From: David Newall
Date: Tue Mar 09 2010 - 11:19:52 EST


jim owens wrote:
No. Your logic would be correct if rotating disks had
similar speed at all locations. Current disks are much
faster at the 0 end than at the middle or highest address.

I think my logic is still correct, although I wished I had said "closer to the middle." In fact, simplistic ideas for placement of files are unlikely to produce fabulous results (and that includes placing commonly used files towards the middle of the disk, say at the inside edge of the outermost zone.) The effort that BSD went to in FFS, placing directories with files and meta-data in cylinder groups, illustrates that disk performance is a sophisticated problem.

Why don't we use BSD FFS/FFS2?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/