The arrow of time

Ivan Voras' blog

ULE topology dump

I'm working (instructed by Jeff Roberson) on a small patch that exposes the CPU topology used by ULE as a read-only sysctl variable.

Here's an example output:

kern.sched.topology_spec: <groups>
 <group level="1" cache-level="0">
  <cpu count="8" mask="0xff">0, 1, 2, 3, 4, 5, 6, 7</cpu>
  <flags></flags>
  <children>
  <group level="2" cache-level="0">
   <cpu count="4" mask="0xf">0, 1, 2, 3</cpu>
   <flags></flags>
  </group>
  <group level="2" cache-level="0">
   <cpu count="4" mask="0xf0">4, 5, 6, 7</cpu>
   <flags></flags>
  </group>
  </children>
 </group>
</groups>

 The preliminary patch is here. This has been committed.

Post your comment here!

Your name:
Comment title:
Text:
Type "xxx" here:

Comments are subject to moderation and will be deleted if deemed inappropriate. All content is © Ivan Voras. Comments are owned by their authors (who agree to basically surrender all rights by publishing them :) )..