[Top] [All Lists]

Improving XFS desktop performance?

To: xfs@xxxxxxxxxxx
Subject: Improving XFS desktop performance?
From: Pedro Ribeiro <pedrib@xxxxxxxxx>
Date: Fri, 20 Nov 2009 02:05:01 +0000
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=EQ6+XeDCCU7teClXljonrRALAckh9PxSzcq2c83/akk=; b=iGi4Wn5P8R6JkqaT7/4jXCPmzlGZRfVGyuDNonmG40Iv02EQLOsFs9Lu0NHkoDDfl2 0eSGGz1QBqwyV7aE49vuXDSGSo+EmZ6VHyiqQ5i8JqPKmhbqfKozlOdrGIYbuSkAuX+y RrknQ7IHaKmzw2G9S6a9IGmxb5EC0PUdmDd5k=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ag1/ppHL8xOu8/ZwH3rygeNwj7L9EA58wRllknuwFQ1XuNPJRycOsjv3sBfjm4sNDw IRxubQNRnoeVSic1OgCrJ7s1fkb3QyaYUL4tQ5OjhG1aKYmAweQRBGHS+FC49gMJ/Hjr 9RNLfn7FL41WY0NoFjvvmbwriS/TJ7xGAeH5Y=
Hi all,

I've been using XFS since 2007 and I although I'm quite happy with its
performance, I am always looking at ways to improve it.
My usage is a regular desktop machine, for software development and
web browsing.
The main performance bottleneck I have is LUKS :-) However, I really
like my data encrypted, so dissing it is not an option. Actually, I'm
the xfs improvements discussed below I was able to get the performance
hit to something like 10% - negligible for me.

So what I do is specify a 128m log on filesystem creation:
mkfs.xfs -l size=128m /dev/mapper/target

And on /etc/fstab mount it as;
/dev/mapper/target      noatime,logbufs=8,logbsize=256k

After the above, my delete speed improved drastically.

Searching around the net I was able to find that using "lazy-count=1"
on mkfs would give a performance increase - how much would that be,
enough for me to do a full backup, format with that option + 128m log
and then restore all again?
And anything else you recommend?

Thanks for your time,

<Prev in Thread] Current Thread [Next in Thread>