On Tue, Apr 28, 2009 at 5:36 PM, Eric Sandeen <sandeen@xxxxxxxxxx> wrote: > Michael Cronenworth wrote: >> -------- Original Message -------- >> Subject: Re: Things to do this week instead of arguing about mixers >> From: Eric Sandeen <sandeen@xxxxxxxxxx> >> To: Development discussions related to Fedora <fedora-devel-list@xxxxxxxxxx> >> 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? well here (F10, ext4): filefrag /var/lib/rpm/Packages /var/lib/rpm/Packages: 8 extents found du -hs /var/lib/rpm/Packages 52M /var/lib/rpm/Packages What did you do to get 800+ ? (I did a db rebuild a while ago that might have changed / improved it) -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list