On Mon, Oct 01, 2001 at 01:48:50PM +0530, Kingsly John wrote:
> On Mon, 1 Oct 2001, H.S.Rai wrote:
> 
>  |With passage of time the percentage of non-contiguous on 
>  |various partitions  go on increasing. Is there any upper 
>  |acceptable limit for this, and  what is the harm of high 
>   value?
> 
> it's about the same as fragmentation in the  windoze world
> ... but fragmentation on  ext2fs is pretty limited because 
> its a *smart* file system as compared to FAT.
> 
> It'll make you system slower as the value keeps increasing
> ... esp. if the files that you are using are heavily frag-
> mented.
> 
>  |Is there any way to reset this equal to zero.
> 
> One sure fire way to do it...
> 
> move all the contents of that partition to  another partit-
> ion (make the  original partition  empty (except for  lost+
> found)) and  then move the  contents  back  to the original 
> partion... this will make the system 100% unfragmented.
> 
---end quoted text---

I agree with you here, Kingsly, that best way is to start on
clean slate. Just a few points (from personal experience):

a) If at the time of creating a file partition with  mke2fs,
   if you keep the block size small (viz 1024 instead of the 
   default 4096), fragmentation reduces subsequently.
   
b) There will hardly be any significant drop  of  speed till
   the fragmentation level crosses about 10-12 %
   
c) Fragmentation for the first 4-5% comes  pretty  fast, but 
   takes a long time to reach 10%.
   
d) Unless it crosses 10%, do not bother ...

My 2p !

Bish.   
     
     
--
:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Directories-Only ls                            LOST #023

To get the  ls of directories only without a listing of files
in that directory:

$ls -d */        .... if you are on bash shell.

You may  alias a command ( alias lsd='ls -d */' ) and place it 
in your .profile or the sytem /etc/profile ... 

####<[EMAIL PROTECTED]>####################################
:

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to