Re: Extreme slowdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 16, 2011 at 09:51:56AM +0100, Tobias wrote:
> Am 16.12.2011 03:09, schrieb Liu Bo:
> >On 12/16/2011 02:49 AM, Tobias wrote:
> >>Any hints how i could speed it up?
> >>
> >
> >I recommend to run defragment on your files,
> >it should help you, although defrag maybe slow, too.
> >
> 
> When deleting files does it matter if the data is fragmented?

   Yes. Deleting a file involves visiting the metadata for every
extent (i.e. fragment) and updating it to reduce the reference count
and possibly free up the space -- which itself involves more writes,
as the free space cache is updated.

> When i do normal file-access the speed of reading is ok so until not
> i didn't care about fragmentation. Especially because the data isn't
> changes after the first write.
> 
> Can i do a defrag on the metadata only?

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
                    --- UNIX:  Italian pen maker. ---                    

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux