public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: Pedro Ribeiro <pedrib@gmail.com>
Cc: xfs@oss.sgi.com
Subject: Re: Tuning XFS for real time audio on a laptop with encrypted LVM
Date: Sat, 22 May 2010 08:22:05 -0500	[thread overview]
Message-ID: <4BF7DA7D.5070405@sandeen.net> (raw)
In-Reply-To: <AANLkTilJD2Jfr4W97BiAlyc_7C9jLEhEzuEWSDyVKXYP@mail.gmail.com>

Pedro Ribeiro wrote:
> Hi all,
> 
> I was wondering what is the best scheduler for my use case given my
> current hardware.
> 
> I have a laptop with a fast Core 2 duo at 2.26 and a nice amount of
> ram (4GB) which I use primarily for real time audio (though without a
> -rt kernel). All my partitions are XFS under LVM which itself is
> contained on a LUKS partition (encrypted with AES 128).
> 
> CFQ currently does not perform very well and causes a lot of thrashing
> and high latencies when I/O usage is high. Changing it to the noop
> scheduler solves some of the problems and makes it more responsive.
> Still performance is a bit of a let down: it takes 1m30s to unpack the
> linux-2.6.34 tarball and a massive 2m30s to rm -r.
> I have lazy-count=1, noatime, logbufs=8, logbsize=256k and a 128m log.

Are you optimizing for kernel untars, or "real time audio?"

I would expect that even suboptimal tuning would keep up just fine with
audio demands.

-Eric

> Is there any tunable I should mess with to solve this? And what do you
> think of my scheduler change (I haven't tested it that much to be
> honest)?
> 
> Regards,
> Pedro

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  parent reply	other threads:[~2010-05-22 13:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21  2:16 Tuning XFS for real time audio on a laptop with encrypted LVM Pedro Ribeiro
2010-05-21  4:14 ` Dave Chinner
2010-05-21  6:25   ` Stan Hoeppner
2010-05-21 11:29     ` Pedro Ribeiro
2010-05-21 13:45       ` Stan Hoeppner
2010-05-22 12:21         ` Pedro Ribeiro
2010-05-22 22:13           ` Stan Hoeppner
2010-05-22 13:22 ` Eric Sandeen [this message]
2010-05-22 13:54   ` Pedro Ribeiro

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=4BF7DA7D.5070405@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