I am looking to improve the performance of our file server for serving large files.
I wish to experiment and benchmark the effect of file system block size:
Im using
2.6.x kernel
XFS file system
32-bit or 64-bit at this stage
According to SGI (makers of XFS) the maximum block size is 4096 bytes
#Filesystem Block Size
The minimum filesystem block size is 512 bytes. The maximum filesystem block size is the page size of the kernel, which is 4K on x86 architecture and is set as a kernel compile option on the IA64 architecture (up to 64 kilobyte pages). So, XFS supports filesystem block sizes up to 64 kilobytes (from 512 bytes, in powers of 2), when the kernel page size allows it.
http://oss.sgi.com/projects/xfs/So how do i find the kernel page size from a running Linux system?
Then i can look to recompiling the kernel with different settings if appropriate.
Cheers
CouldntCareBear
Start Free Trial