xfs
[Top] [All Lists]

Re: XFS mkfs/mount options

To: Mark <musicman529@xxxxxxxxx>
Subject: Re: XFS mkfs/mount options
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 17 Jun 2008 17:41:58 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <881489.19090.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Mail-followup-to: Mark <musicman529@xxxxxxxxx>, xfs@xxxxxxxxxxx
References: <881489.19090.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.17+20080114 (2008-01-14)
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@xxxxxxxxxxxxx


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