no "defrag" in Linux?
Gilles Gravier
Gilles at Gravier.org
Tue Jul 18 21:49:34 UTC 2006
http://linux.maruhn.com/sec/defrag.html
James Gray wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Peter Clutton wrote:
>
>> ext3 is better than windows file systems like fat and ntfs, it is soo
>> unlikely you would reach more then 0.1 percent fragmented.
>>
>
> I agree - defragmenting ext2/3 is more a waste of time than anything
> else, but I have to challenge your assertion that >0.1% fragmentation is
> highly unlikely. I've been running Linux both in the server room and on
> desktops since the mid-90's. It's not uncommon for ext2/3 (or
> jfs/xfs/reiserfs too) to be between 5-10% fragmented. However, this
> amount of fragmentation on these file systems, coupled with the way the
> Linux kernel uses buffers and caching for disk access, results in no
> appreciable reduction in performance.
>
> I've only occasionally seen more than 10% fragmentation and that was on
> extremely small and busy partitions (like 100MB /temp partitions). As
> the partitions were small, it's pretty easy to drop to single user mode,
> tar up the partition to /somewhere/else then reformat the partition and
> untar the files back where they came from. Back into run level 3 and
> /temp is 0% fragmented. Voila.
>
> Using /temp as an example is rather trivial but highlights the
> conditions required to cause significant fragmentation:
> 1. small partition.
> 2. lots of files being created/deleted with varying sizes.
> 3. a lot of time.
>
> Cheers,
>
> James
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEvHiJwBHpdJO7b9ERAqK+AKDC3a49T8hxhF911No0sxNK+BmUcgCgutvM
> 5ThxzBJatNg2H5aiceYacII=
> =UUXX
> -----END PGP SIGNATURE-----
>
>
>
--
/*Gilles Gravier*/ *=* *Gilles at Gravier.org* <mailto:Gilles at Gravier.org>
*=* *http://www.gravier.org/*
ICQ : *77488526*
<http://www.icq.com/whitepages/about_me.php?Uin=77488526> * || *MSN
Messenger : Gilles at Gravier.org <http://members.msn.com/Gilles@Gravier.org>*
*Skype : ggravier <callto://ggravier>* || *Y! : ggravier
<http://profiles.yahoo.com/ggravier> || AOL : gillesgravier
<aim:goim?screenname=gillesgravier>
PGP Key ID : *0x8DE6D026*
<http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index>
"Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]
"De toutes les aberrations sexuelles, la chasteté est la plus
aberrante." [Anatole France]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3314 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060718/cc4ac470/attachment.bin>
More information about the ubuntu-users
mailing list