[erlang-questions] FreeBSD cpu topology detection

Garret Smith garret.smith@REDACTED
Fri Oct 17 03:04:44 CEST 2014

CPU topology detection seems broken (at least incomplete) on FreeBSD.
erlang:system_info(cpu_topology) returns 'undefined' on the few machines I
have at my disposal.

I'm going to take a stab at a patch, but I'd like some help from other
FreeBSD users out there first.

Can any FreeBSD users please send me:
    a) the output of 'sysctl kern.sched.topology_spec'
    b) a few lines from your 'dmesg' about the processor configuration like:
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads

Even if your topology is correctly determined, this info will help me
ensure I don't introduce a regression.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141016/5451847a/attachment.htm>

More information about the erlang-questions mailing list