Hi: May I know if it possible to enble cpuinfo translator for the cpu structure to know the core info for CMT CPU performance monitoring ? Pointer is very appreciated ! Thanks This message posted from opensolaris.org
> May I know if it possible to enble cpuinfo translator > for the cpu structure to know the core info for CMT > CPU performance monitoring ?I agree something like this would be useful. One challenge is that the definition of the term ''core'' is very processor implementation dependent, and for some processors will be debatable and subjective. So something like this might be possible, but it''s unclear how stable the concept (and therefore the translator), could be. Thanks, -Eric Eric Saxe Solaris Kernel Development 510.550.4866 : eric.saxe at sun.com : http://blogs.sun.com/esaxe
I agree something like this would (at present) be useful. One of the challenges would be that the definition of the term "core", is very processor implementation dependent, and for future processors what constitutes a core could be debatable and subjective. Doing something like this might be possible, but it''s unclear how much stability could be associated with the translator, since the meaning of the term itself is unstable. This message posted from opensolaris.org
Sorry for the double reply. The system told me the first one bounced... -Eric Eric Saxe Solaris Kernel Development 510.550.4866 : eric.saxe at sun.com : http://blogs.sun.com/esaxe
On Thu, Dec 22, 2005 at 12:01:46PM -0800, Eric Saxe wrote:> Sorry for the double reply. The system told me the first one bounced...Sorry about that. Our list management software gets very finicky about senders, and it doesn''t realize that if "esaxe at eng.sun.com" is subscribed to the list, then messages from "esaxe at foobar.eng.sun.com" are okay. I don''t object to this necessarily, but there doesn''t seem to be a way to turn it off to have a slightly looser policy. I know others have been bit by this; apologies. And now back to your regularly scheduled DTrace discussions... - Bryan -------------------------------------------------------------------------- Bryan Cantrill, Solaris Kernel Development. http://blogs.sun.com/bmc
Eric: Thanks for the reply. May I have */platform specific cpu info_core_t which can be down casted from */common cpuinfo_t so that platform specific D code can extract the abstracted core strcuture there after. Thanks This message posted from opensolaris.org
Sorry for my delay in responding. I''ve been away for the holidays.> May I have */platform specific cpu info_core_t which can > be down casted from */common cpuinfo_t so that platform > specific D code can extract the abstracted core strcuture > there after.There''s work in progress to make the cpu->core mapping information available through an unstable cpu_info kstat. We''ll also work though how this could/should be done for DTrace (thanks for your suggestion). I''ll follow up with more details soon... Thanks, -Eric Eric Saxe Solaris Kernel Development 510.550.4866 : eric.saxe at sun.com : http://blogs.sun.com/esaxe