Re: Extreme slowness with xfs [WAS: Re: Slowness with new pc]

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sven-Haegar Koch
Date: Monday, November 24, 2008 - 5:09 pm

On Tue, 25 Nov 2008, Stian Jordet wrote:


I had the same problem when I tried it on my laptop (T60) - using it on 
the unencrypted root filesystem (with /usr/src) took ages, using it on 
the LUKS encrypted /home was blasing fast - on the same disk.

This test was some time ago with something like 2.6.20 or 2.6.24 - I 
gave up and reformatted / with ext3 as I needed the machine.

I think barriers were the problem, they seem to cost performance like 
hell, especially for operations with many small files. My laptop used 
barriers for xfs on the direct partition, but not on crypto drivermapper 
mounts.

So perhaps try mounting with nobarrier and see if the speed problem goes 
away - but know that you sacrifice some crash-resilience when doing so.

c'ya
sven

-- 

The Internet treats censorship as a routing problem, and routes around
it. (John Gilmore on http://www.cygnus.com/~gnu/)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Slowness with new pc, Stian Jordet, (Sat Nov 15, 7:44 am)
Re: Slowness with new pc, Sergio Luis, (Tue Nov 18, 6:51 am)
Re: Extreme slowness with xfs [WAS: Re: Slowness with new pc], Sven-Haegar Koch, (Mon Nov 24, 5:09 pm)
Re: Extreme slowness with xfs [WAS: Re: Slowness with new pc], Christoph Hellwig, (Tue Nov 25, 3:44 am)
Re: Extreme slowness with xfs [WAS: Re: Slowness with new pc], Michael Tokarev, (Tue Nov 25, 11:39 am)