Support for CPU affinity & topology detection on FreeBSD 8

Paul Guyot pguyot@REDACTED
Sun Oct 3 18:20:56 CEST 2010


Hello,

Support for CPU affinity and topology detection on FreeBSD is available on this branch:
git fetch git://github.com/pguyot/otp.git freebsd-cpu-affinity-and-topology

CPU affinity code is based on configure-time detection of FreeBSD's native CPU affinity API which appeared on FreeBSD 7.1.
CPU topology detection code is based on the parsing of what the ULE scheduler detected at boot time and saved in a sysctl variable. This variable appeared on FreeBSD 8.0. The format of this specification is documented in SMP(4) and I believe this is the only way to know about the topology (except talking to the CPU directly).

Paul
-- 
Semiocast                    http://semiocast.com/
+33.175000290 - 62 bis rue Gay-Lussac, 75005 Paris



More information about the erlang-patches mailing list