Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* rtc and smp
@ 1999-09-29 22:02 Rich Payne
  1999-09-29 22:17 ` Ruediger Oertel
  0 siblings, 1 reply; 2+ messages in thread
From: Rich Payne @ 1999-09-29 22:02 UTC (permalink / raw)
  To: axp-list


I've been working with 2.2.13pre14 on an SMP machine and came across
something rather strange. If I compile the kernel with Enhanced Real Time
clock support (config_rtc) then it 'seems' like nothing ever gets
scheduled on the 2nd cpu. I say 'seems' because I'm looking at tools like
top (which never shows >50% cpu util) and gtop (which never shows work on
the 2nd cpu). Howver both CPUs are detected at boot and /proc/cpuinfo
reports 

'CPUs probed 2 active 2 map 0x3 IPIs 40131'

/proc/interupts shows +rtc interupts for the 2nd CPU

Now if I disable the RTC then everything looks fine.


So, is this a kernel problem or are the userland tools failing? The only
other way I could thing of testing this would be to run some sort of
benchmark, get the time it took to run, then run it twice (both at the
same time that is) and see if the second time is 2x the original (or greater).
That should in theory tell me if the 2nd CPU is being used.

Anybody have any ideas on this? It's seems a little strange, especaially
when config_rtc says 

"If you run Linux on a multiprocessor machine and said Y to
"Symmetric Multi Processing" above, you should say Y here to read
and set the RTC clock in an SMP compatible fashion."

--rdp

Rich Payne
rpayne@alphalinux.org			www.alphalinux.org


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-09-29 22:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-29 22:02 rtc and smp Rich Payne
1999-09-29 22:17 ` Ruediger Oertel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox