From: Eric Sandeen <sandeen@sandeen.net>
To: Pedro Ribeiro <pedrib@gmail.com>
Cc: xfs@oss.sgi.com
Subject: Re: Improving XFS desktop performance?
Date: Thu, 19 Nov 2009 23:29:26 -0600 [thread overview]
Message-ID: <4B062936.30103@sandeen.net> (raw)
In-Reply-To: <74fd948d0911191805m30c34b51m97c2a998dbe0bac3@mail.gmail.com>
Pedro Ribeiro wrote:
> 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
FWIW, 8 logbufs is default already.
> 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?
You should be able to use xfs_admin to turn it on; see the man page
for that.
> And anything else you recommend?
In general, the defaults are optimal for generic use; unless you have
a specific use case that is suffering, it's hard to make recommendations
beyond the defaults....
...although we do keep talking about making lazy sb counters default.
-Eric
> Thanks for your time,
> Pedro
>
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2009-11-20 5:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-20 2:05 Improving XFS desktop performance? Pedro Ribeiro
2009-11-20 5:29 ` Eric Sandeen [this message]
2009-11-20 6:43 ` Dave Chinner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B062936.30103@sandeen.net \
--to=sandeen@sandeen.net \
--cc=pedrib@gmail.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox