[PATCH] sched: mc/smt power savings sched policy

Danny Kukawka danny.kukawka at web.de
Mon Jul 2 01:43:18 PDT 2007


On Sonntag, 1. Juli 2007, S.Çağlar Onur wrote:
> Further investigation shows CPU topology already exported to sysfs with
> different way :). And LKML has that discussion before (Ulrich Drepper wants
> to export that information for some glibc/openMPI optimizations which ends
> up with nothing)
>
> So, /sys/devices/system/cpu/cpu*/topology/core_id already exports CPU core
> id's to userspace, for all CPU's if they all 0 that means machine is smt
> capable else its mc capable one.

That's somehow in inefficient. Why do they not export this information to a 
sysfs attribute under /sys/devices/system/cpu/ which show if the system is 
MC/SMT ? Check each CPU is really ... no comment.

Danny


More information about the hal mailing list