public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Mark <musicman529@yahoo.com>
Cc: xfs@oss.sgi.com
Subject: Re: XFS mkfs/mount options
Date: Tue, 17 Jun 2008 17:41:58 +1000	[thread overview]
Message-ID: <20080617074158.GQ3700@disturbed> (raw)
In-Reply-To: <881489.19090.qm@web34506.mail.mud.yahoo.com>

On Tue, Jun 17, 2008 at 12:33:57AM -0700, Mark wrote:
> I have been doing some experiments with XFS on my "hot new desktop
> system," and I have turned up an interesting bit of info. (Note:
> My system is an AMD64 X2 2.5GHz running Linux.)
> 
> When I mount an XFS volume (thus loading the xfs kernel module),
> the kernel spawns two CPU-bound threads for "xfslogd" and
> "xfsdatad". However, it appears that only one of each of these
> kernel processes is getting any load, as indicated by "ps ax":
> 
>  3700 ?        S<     0:00 [xfslogd/0]
>  3701 ?        S<     0:19 [xfslogd/1]
>  3702 ?        S<     0:00 [xfsdatad/0]
>  3703 ?        D<     0:05 [xfsdatad/1]
> 
> For each of these kernel threads, only those on CPU #2 are actually pulling notable load. Why is this?

Because your disk interrupts are delivered to that CPU only.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

  reply	other threads:[~2008-06-17  7:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-17  7:33 XFS mkfs/mount options Mark
2008-06-17  7:41 ` Dave Chinner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-06-17  9:20 Mark
2008-06-17 12:27 ` Justin Piszcz
2008-06-17 17:29 Mark
2008-06-17 20:41 ` Martin Steigerwald

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=20080617074158.GQ3700@disturbed \
    --to=david@fromorbit.com \
    --cc=musicman529@yahoo.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