Michael Cronenworth wrote:
-------- Original Message --------
Subject: Re: Things to do this week instead of arguing about mixers
From: Eric Sandeen <sandeen(a)redhat.com>
To: Development discussions related to Fedora <fedora-devel-list(a)redhat.com>
Date: 04/28/2009 08:55 AM
> Florian Festi wrote:
>> Eric Sandeen wrote:
>>> - rpm? (file installation and/or db files?)
>> The rpmdb is a bunch of db4 files. In don't think I want to interfere with
>> the db4 engine...
> They're often badly fragmented, too :) But whether or not that matters
> much for rpm performance, I dunno.
>
> [root@host ~]# filefrag /var/lib/rpm/Packages
> /var/lib/rpm/Packages: 844 extents found, perfection would be 1 extent
> [root@host ~]# ls -lh /var/lib/rpm/Packages
> -rw-r--r-- 1 rpm rpm 52M Apr 27 15:40 /var/lib/rpm/Packages
Somehow XFS is doing a much better job. This is from a four year old system:
$ sudo filefrag /var/lib/rpm/Packages
/var/lib/rpm/Packages: 2 extents found
$ ls -lh /var/lib/rpm/Packages
-rw-r--r-- 1 rpm rpm 88M 2009-04-28 10:18 /var/lib/rpm/Packages
on my xfs root systems I still have hundreds of extents for this file.
Do you have xfs_fsr in a cron job?
-Eric