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
|