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

From: David Newall
Date: Mon Mar 08 2010 - 10:34:04 EST


Christian Borntraeger wrote:
Some bigger things are missing in the e4defrag tool:
...
- overall layout considerations (e.g. putting files close to its directory or
use the atime to move often used files to the beginning of a disk etc.)

Shouldn't oft-used files be placed closer to the middle? If you place them at the beginning of the file, it's only possible for the head-stack to be close to the file from the inner direction. Place them in the middle and it's possible for the head-stack to be close from the outer direction, too, which sounds like a doubling of probability. It seems that it's the least frequently used files that should be placed at one end of the disk or the other.
--
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/