lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 23 Jul 2009 11:07:59 -0600
From:	Andreas Dilger <adilger@....com>
To:	Eric Sandeen <sandeen@...hat.com>
Cc:	Theodore Tso <tytso@....edu>, linux-ext4@...r.kernel.org
Subject: Re: [PATCH] e2freefrag utility

On Jul 22, 2009  23:59 -0500, Eric Sandeen wrote:
> Theodore Tso wrote:
> > Here's the output on my root filesystem (which has been in use since
> > February):
> > 
> > Total chunks: 71681
> > Free chunks: 21792 (30.4%)
> > 
> > Min free chunk: 4 KB 
> > Max free chunk: 568232 KB
> > Avg free chunk: 184 KB
> > 
> > HISTOGRAM OF FREE CHUNK SIZES:
> > Chunk Size Range :	Free chunks
> >     4K...    8K- :       35005
> >     8K...   16K- :       33639
:
:
> >   128M...  256M- :           8
> >   512M... 1024M- :           1
> > 
> > Yeah.... pretty fragmented.   :-(
> > 
> 
> 
> Just for comparison, here's a 30G xfs root that has run for a year or
> two, currently about 70% full:
> 
> xfs_db> freesp -s
>    from      to extents  blocks    pct
>       1       1    1849    1849   0.08
>       2       3    1383    3293   0.14
:
:
>  262144  524287       1  509811  21.91
>  524288 1048575       1  554838  23.85
> total free extents 7153
> total free blocks 2326556
> average free extent size 325.256

I like the printing of the total blocks in each section and the
percent of blocks...  Attached is an incremental patch that adds
the same to e2freefrag.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.


View attachment "e2freefrag-pct.diff" of type "text/plain" (4787 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ