Quote:
Originally Posted by eltonsky
When I started using them I check their I/O using iozone. The first partition has 100MB/s for read, 70MB/s for write. And the second partition has 80MB/s for read, 55MB/s for write. All 4 disks has the same result.
|
The first sectors of the disk are on the outer tracks, where there are more bits per physical track, so more bits per second in transfer rate as well as more bits reachable within a given physical seek distance.
Quote:
As I use on, the I/O speed on each partition decrease, to different extend. For example, for the 4 first partitions, the write speed varies from 69MB/s to 56MB/s. And I have same amount of data on each of them, all used 11%.
|
Partitions get fragmented. Many documents and posts will tell you that fragmentation doesn't matter in Linux file systems. That isn't really true. Fragmentation doesn't matter
as much in sane filesystems as it did in FAT. Fragmentation doesn't matter as much in the way files are used in modern systems as it did many years ago. But fragmentation will still produce measurable differences.
Quote:
My guess for this is the disk block allocation policy. This is caused because some disk starts writing from inner location while others writes on the outer edge, even though amount of data on each disk is the same.
|
Why would the policy be different?
It seems more likely that the sequence of creation, extension and deletion of files varied among your partitions. Even if the total fraction used ended up the same, the exact sequence of creation, extension and deletion requests that reached that current use level could result in arbitrary differences in the distribution of the used sectors.
Quote:
Originally Posted by eltonsky
This is caused because some disk starts writing from inner location while others writes on the outer edge,
|
I think all disks give the lowest physical addresses to the outer edge and the highest physical addresses to the inner edge.
I think the file system policies will tend to use lower physical addresses before higher physical addresses, but that will just be a tendency, not a strict rule. Lots of factors may influence which sectors a filesystem decides to use next.