Advertisement

10.29.2007 at 10:14AM PDT, ID: 22924866
[x]
Attachment Details

How do i determine linux kernel page size

Asked by couldntcarebear in Linux, Linux Setup, Kernel And Operating System Specific Programming

Tags: linux, size, page, kernel

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
CouldntCareBearStart Free Trial
 
Loading Advertisement...
 
[+][-]10.29.2007 at 01:38PM PDT, ID: 20173084

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Linux, Linux Setup, Kernel And Operating System Specific Programming
Tags: linux, size, page, kernel
Sign Up Now!
Solution Provided By: ravenpl
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628