Re: Distinguish real vs. virtual CPUs?

From: Tom Vier
Date: Wed Mar 23 2005 - 12:53:31 EST


On Tue, Mar 22, 2005 at 04:26:47PM -0500, Bill Davidsen wrote:
> It's not clear if that's bizarre practice on AMD system boards or if
> it's mis-reported. Of course Tom may be running a NUMA setup, in which
> case I won't guess what's expected to be displayed. I've added him to
> the CC list, in hopes of comment.

It's numa (two cores, one ram ctrlr per core, one core per package). I'm
running an x86 kernel, btw, not 64bit. I have CONFIG_X86_HT set, and it
looks like it gets the pkg id from the apic (there's only one in multicore
packages?), but i might be reading it wrong.

My dmseg overflows before syslog starts, so all i could gather is:

Mar 23 12:04:25 zero kernel: Brought up 2 CPUs
Mar 23 12:04:25 zero kernel: CPU0 attaching sched-domain:
Mar 23 12:04:25 zero kernel: domain 0: span 3
Mar 23 12:04:25 zero kernel: groups: 1 2
Mar 23 12:04:25 zero kernel: CPU1 attaching sched-domain:
Mar 23 12:04:25 zero kernel: domain 0: span 3
Mar 23 12:04:25 zero kernel: groups: 2 1

I don't know how the scheduling domains work, and i'm too busy to look it up
right now.

--
Tom Vier <tmv@xxxxxxxxxxx>
DSA Key ID 0x15741ECE
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/