On Mon, May 16, 2005 at 12:30:32PM -0500, Steve Lord wrote:
> Forwarding from lkml to somewhere where it might be seen.
> -------- Original Message --------
> Subject: XFS lstat() _very_ slow on SMP
> Date: Mon, 16 May 2005 18:25:06 +0200
> From: Jan Kasprzak <kas@xxxxxxxxxx>
> To: linux-kernel@xxxxxxxxxxxxxxx
> Hi all,
> I have a big XFS volume on my fileserver, and I have noticed that
> making an incremental backup of this volume is _very_ slow. The incremental
> backup essentially checks mtime of all files on this volume, and it
> takes ~4ms of _system_ time (i.e. no iowait or what) to do a lstat().
> The server is quad opteron with 26GB of RAM, 2.6.11.x kernel.
> The volume in question is this big:
> $ df -i /export/home
> Filesystem Inodes IUsed IFree IUse% Mounted on
> /dev/array-vg/home 2147502080 7917653 2139584427 1% /export/home
> $ df -k /export/home
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/array-vg/home 2147371008 558965100 1588405908 27% /export/home
Have you tried setting the ihashsize mount option?
R&D Software Engineer
SGI Australian Software Group