I would claim that if I had a RAID-10 array which is used as swap device only, a chunk size of 4K would be perfect as it matches the page size.
Am I right?
I would claim that if I had a RAID-10 array which is used as swap device only, a chunk size of 4K would be perfect as it matches the page size.
Am I right?
Such a low chunk size is way too small for striped/mirrored RAID arrays. The reason is that with such a small chunk size, even small sequential I/Os will engage both disks, leaving no bandwidth at all for other I/O requests.
Moreover, as for mechanical disks a 4K request 's service time is dominated by access time, rather than transfer rate, it is always better to exceed a little on the bigger side sizing striped chunks.
I strongly suggest you to use at least a 64K chunk size, if not more.