Re: Small files perform much faster on newly formatted fs?

Michael Monnerie
2011-06-08T13:47:44Z

[-- Attachment #1.1: Type: Text/Plain, Size: 911 bytes --]

On Mittwoch, 8. Juni 2011 Norbert Veber wrote:
> Yes its already mounted this way as I mentioned in my original
> message: /dev/mapper/vg0-shared on /shared type xfs
> (rw,noatime,sunit=128,swidth=256)

Oh, I did only look at the xfs_info output.

> Both filesystems are on the same MD raid 5 which consists of 3 1 tb
> WD Black hard drive.

The difference could be that your filesystem is very much aged, and the
free space clustered around to new files get heavily fragmented. Did you
run xfs_defrag often? How full is your filesystem?

Also the log has sunit=0 against 16, maybe there's the diff.
Are you on a newer kernel that supports delaylog? Then try that.

--
mit freundlichen Grüssen,
Michael Monnerie, Ing. BSc

it-management Internet Services: Protéger
http://proteger.at [gesprochen: Prot-e-schee]
Tel: +43 660 / 415 6531

// Haus zu verkaufen: http://zmi.at/langegg/

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]