2 Copyright © 2009-2018 Inria. All rights reserved.
3 Copyright © 2009-2013 Université Bordeaux
4 Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
8 Additional copyrights may follow
12 ===========================================================================
14 This file contains the main features as well as overviews of specific
15 bug fixes (and other actions) for each version of hwloc since version
16 0.9 (as initially released as "libtopology", then re-branded to "hwloc"
22 * Add support for Zhaoxin ZX-C and ZX-D processors in the x86 backend,
23 thanks to Jeff Zhao for the patch.
24 * Fix AMD Epyc 24-core L3 cache locality in the x86 backend.
25 * Don't crash in the x86 backend when the CPUID vendor string is unknown.
26 * Fix the missing pu discovery support bit on some OS.
27 * Fix the management of the lstopoStyle info attribute for custom colors.
28 * Add verbose warnings when failing to load hwloc v2.0+ XMLs.
33 * Multiple Solaris improvements, thanks to Maureen Chew for the help:
34 + Detect caches on Sparc.
35 + Properly detect allowed/disallowed PUs and NUMA nodes with processor sets.
36 + Add hwloc_get_last_cpu_location() support for the current thread.
37 * Add support for CUDA compute capability 7.0 and fix support for 6.[12].
39 + Fix search for objects by physical index in command-line tools.
40 + Add missing "cpubind:get_thisthread_last_cpu_location" in the output
41 of hwloc-info --support.
42 + Add --pid and --name to specify target processes in hwloc-ps.
43 + Display thread names in lstopo and hwloc-ps on Linux.
45 + Add a FAQ entry about building on Windows.
46 + Install missing sub-manpage for hwloc_obj_add_info() and
47 hwloc_obj_get_info_by_name().
52 * Fix hwloc-bind --membind for CPU-less NUMA nodes (again).
53 Thanks to Gilles Gouaillardet for reporting the issue.
54 * Fix a memory leak on IBM S/390 platforms running Linux.
55 * Fix a memory leak when forcing the x86 backend first on amd64/topoext
56 platforms running Linux.
57 * Command-line tools now support "hbm" instead "numanode" for filtering
58 only high-bandwidth memory nodes when selecting locations.
59 + hwloc-bind also support --hbm and --no-hbm for filtering only or
61 Thanks to Nicolas Denoyelle for the suggestion.
62 * Add --children and --descendants to hwloc-info for listing object
63 children or object descendants of a specific type.
64 * Add --no-index, --index, --no-attrs, --attrs to disable/enable display
65 of index numbers or attributes in the graphical lstopo output.
66 * Try to gather hwloc-dump-hwdata output from all possible locations
67 in hwloc-gather-topology.
68 * Updates to the documentation of locations in hwloc(7) and
69 command-line tools manpages.
74 * Make the Linux discovery about twice faster, especially on the CPU side,
75 by trying to avoid sysfs file accesses as much as possible.
76 * Add support for AMD Family 17h processors (Zen) SMT cores in the Linux
78 * Add the HWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES flag (and the
79 HWLOC_THISSYSTEM_ALLOWED_RESOURCES environment variable) for reading the
80 set of allowed resources from the local operating system even if the
81 topology was loaded from XML or synthetic.
82 * Fix hwloc_bitmap_set/clr_range() for infinite ranges that do not
83 overlap currently defined ranges in the bitmap.
84 * Don't reset the lstopo zoom scale when moving the X11 window.
85 * lstopo now has --flags for manually setting topology flags.
86 * hwloc_get_depth_type() returns HWLOC_TYPE_DEPTH_UNKNOWN for Misc objects.
91 * Add support for Knights Mill Xeon Phi, thanks to Piotr Luc for the patch.
92 * Reenable distance gathering on Solaris, disabled by mistake since v1.0.
93 Thanks to TU Wien for the help.
94 * Fix hwloc_get_*obj*_inside_cpuset() functions to ignore objects with
95 empty CPU sets, for instance, CPU-less NUMA nodes such as KNL MCDRAM.
96 Thanks to Nicolas Denoyelle for the report.
97 * Fix XML import of multiple distance matrices.
98 * Add a FAQ entry about "hwloc is only a structural model, it ignores
99 performance models, memory bandwidth, etc.?"
104 * Add MemoryMode and ClusterMode attributes in the Machine object on KNL.
105 Add doc/examples/get-knl-modes.c for an example of retrieving them.
106 Thanks to Grzegorz Andrejczuk.
107 * Fix Linux build with -m32 with respect to libudev.
108 Thanks to Paul Hargrove for reporting the issue.
109 * Fix build with Visual Studio 2015, thanks to Eloi Gaudry for reporting
110 the issue and providing the patch.
111 * Don't forget to display OS device children in the graphical lstopo.
112 * Fix a memory leak on Solaris, thanks to Bryon Gloden for the patch.
113 * Properly handle realloc() failures, thanks to Bryon Gloden for reporting
115 * Fix lstopo crash in ascii/fig/windows outputs when some objects have a
116 lstopoStyle info attribute.
122 + Fix a memory leak on Linux S/390 hosts with books.
123 + Fix /proc/mounts parsing on Linux by using mntent.h.
124 Thanks to Nathan Hjelm for reporting the issue.
125 + Fix a x86 infinite loop on VMware due to the x2APIC feature being
126 advertised without actually being fully supported.
127 Thanks to Jianjun Wen for reporting the problem and testing the patch.
128 + Fix the return value of hwloc_alloc() on mmap() failure.
129 Thanks to Hugo Brunie for reporting the issue.
130 + Fix the return value of command-line tools in some error cases.
131 + Do not break individual thread bindings during x86 backend discovery in a
132 multithreaded process. Thanks to Farouk Mansouri for the report.
133 + Fix hwloc-bind --membind for CPU-less NUMA nodes.
134 + Fix some corner cases in the XML export/import of application userdata.
136 + Add HWLOC_MEMBIND_BYNODESET flag so that membind() functions accept
137 either cpusets or nodesets.
138 + Add hwloc_get_area_memlocation() to check where pages are actually
139 allocated. Only implemented on Linux for now.
140 - There's no _nodeset() variant, but the new flag HWLOC_MEMBIND_BYNODESET
142 + Make hwloc_obj_type_sscanf() parse back everything that may be outputted
143 by hwloc_obj_type_snprintf().
144 * Detection Improvements
145 + Allow the x86 backend to add missing cache levels, so that it completes
146 what the Solaris backend lacks.
147 Thanks to Ryan Zezeski for reporting the issue.
148 + Do not filter-out FibreChannel PCI adapters by default anymore.
149 Thanks to Matt Muggeridge for the report.
150 + Add support for CUDA compute capability 6.x.
152 + Add --support to hwloc-info to list supported features, just like with
153 hwloc_topology_get_support().
154 - Also add --objects and --topology to explicitly switch between the
156 + Add --tid to let hwloc-bind operate on individual threads on Linux.
157 + Add --nodeset to let hwloc-bind report memory binding as NUMA node sets.
158 + hwloc-annotate and lstopo don't drop application userdata from XMLs anymore.
159 - Add --cu to hwloc-annotate to drop these application userdata.
160 + Make the hwloc-dump-hwdata dump directory configurable through configure
161 options such as --runstatedir or --localstatedir.
163 + Add systemd service template contrib/systemd/hwloc-dump-hwdata.service
164 for launching hwloc-dump-hwdata at boot on Linux.
165 Thanks to Grzegorz Andrejczuk.
166 + Add HWLOC_PLUGINS_BLACKLIST environment variable to prevent some plugins
167 from being loaded. Thanks to Alexandre Denis for the suggestion.
168 + Small improvements for various Windows build systems,
169 thanks to Jonathan L Peyton and Marco Atzeri.
174 * Improve support for Intel Knights Landing Xeon Phi on Linux:
175 + Group local NUMA nodes of normal memory (DDR) and high-bandwidth memory
176 (MCDRAM) together through "Cluster" groups so that the local MCDRAM is
178 - See "How do I find the local MCDRAM NUMA node on Intel Knights
179 Landing Xeon Phi?" in the documentation.
180 - For uniformity across all KNL configurations, always have a NUMA node
181 object even if the host is UMA.
182 + Fix the detection of the memory-side cache:
183 - Add the hwloc-dump-hwdata superuser utility to dump SMBIOS information
184 into /var/run/hwloc/ as root during boot, and load this dumped
185 information from the hwloc library at runtime.
186 - See "Why do I need hwloc-dump-hwdata for caches on Intel Knights
187 Landing Xeon Phi?" in the documentation.
188 Thanks to Grzegorz Andrejczuk for the patches and for the help.
189 * The x86 and linux backends may now be combined for discovering CPUs
190 through x86 CPUID and memory from the Linux kernel.
191 This is useful for working around buggy CPU information reported by Linux
192 (for instance the AMD Bulldozer/Piledriver bug below).
193 Combination is enabled by passing HWLOC_COMPONENTS=x86 in the environment.
194 * Fix L3 cache sharing on AMD Opteron 63xx (Piledriver) and 62xx (Bulldozer)
195 in the x86 backend. Thanks to many users who helped.
196 * Fix the overzealous L3 cache sharing fix added to the x86 backend in 1.11.1
197 for AMD Opteron 61xx (Magny-Cours) processors.
198 * The x86 backend may now add the info attribute Inclusive=0 or 1 to caches
199 it discovers, or to caches discovered by other backends earlier.
200 Thanks to Guillaume Beauchamp for the patch.
201 * Fix the management on alloc_membind() allocation failures on AIX, HP-UX
203 * Fix spurious failures to load with ENOMEM on AIX in case of Misc objects
205 * lstopo improvements in X11 and Windows graphical mode:
206 + Add + - f 1 shortcuts to manually zoom-in, zoom-out, reset the scale,
207 or fit the entire window.
208 + Display all keyboard shortcuts in the console.
209 * Debug messages may be disabled at runtime by passing HWLOC_DEBUG_VERBOSE=0
210 in the environment when --enable-debug was passed to configure.
211 * Add a FAQ entry "What are these Group objects in my topology?".
217 + Hardwire the topology of Fujitsu K-computer, FX10, FX100 servers to
218 workaround buggy Linux kernels.
219 Thanks to Takahiro Kawashima and Gilles Gouaillardet.
220 + Fix L3 cache information on AMD Opteron 61xx Magny-Cours processors
221 in the x86 backend. Thanks to Guillaume Beauchamp for the patch.
222 + Detect block devices directly attached to PCI without a controller,
223 for instance NVMe disks. Thanks to Barry M. Tannenbaum.
224 + Add the PCISlot attribute to all PCI functions instead of only the
226 * Miscellaneous internal fixes
227 + Ignore PCI bridges that could fail assertions by reporting buggy
228 secondary-subordinate bus numbers
229 Thanks to George Bosilca for reporting the issue.
230 + Fix an overzealous assertion when inserting an intermediate Group object
231 while Groups are totally ignored.
232 + Fix a memory leak on Linux on AMD processors with dual-core compute units.
233 Thanks to Bob Benner.
234 + Fix a memory leak on failure to load a xml diff file.
235 + Fix some segfaults when inputting an invalid synthetic description.
236 + Fix a segfault when plugins fail to find core symbols.
237 Thanks to Guy Streeter.
238 * Many fixes and improvements in the Windows backend:
239 + Fix the discovery of more than 32 processors and multiple processor
240 groups. Thanks to Barry M. Tannenbaum for the help.
241 + Add thread binding set support in case of multiple process groups.
242 + Add thread binding get support.
243 + Add get_last_cpu_location() support for the current thread.
244 + Disable the unsupported process binding in case of multiple processor
246 + Fix/update the Visual Studio support under contrib/windows.
247 Thanks to Eloi Gaudry for the help.
249 + Fix a segfault when displaying logical indexes in the graphical lstopo.
250 Thanks to Guillaume Mercier for reporting the issue.
251 + Fix lstopo linking with X11 libraries, for instance on Mac OS X.
252 Thanks to Scott Atchley and Pierre Ramet for reporting the issue.
253 + hwloc-annotate, hwloc-diff and hwloc-patch do not drop unavailable
254 resources from the output anymore and those may be annotated as well.
255 + Command-line tools may now import XML from the standard input with -i -.xml
256 + Add missing documentation for the hwloc-info --no-icaches option.
262 + Socket objects are renamed into Package to align with the terminology
263 used by processor vendors. The old HWLOC_OBJ_SOCKET type and "Socket"
264 name are still supported for backward compatibility.
265 + HWLOC_OBJ_NODE is replaced with HWLOC_OBJ_NUMANODE for clarification.
266 HWLOC_OBJ_NODE is still supported for backward compatibility.
267 "Node" and "NUMANode" strings are supported as in earlier releases.
268 * Detection improvements
269 + Add support for Intel Knights Landing Xeon Phi.
270 Thanks to Grzegorz Andrejczuk and Lukasz Anaczkowski.
271 + Add Vendor, Model, Revision, SerialNumber, Type and LinuxDeviceID
272 info attributes to Block OS devices on Linux. Thanks to Vineet Pedaballe
274 - Add --disable-libudev to avoid dependency on the libudev library.
275 + Add "MemoryModule" Misc objects with information about DIMMs, on Linux
276 when privileged and when I/O is enabled.
277 Thanks to Vineet Pedaballe for the help.
278 + Add a PCISlot attribute to PCI devices on Linux when supported to
279 identify the physical PCI slot where the board is plugged.
280 + Add CPUStepping info attribute on x86 processors,
281 thanks to Thomas Röhl for the suggestion.
282 + Ignore the device-tree on non-Power architectures to avoid buggy
283 detection on ARM. Thanks to Orion Poplawski for reporting the issue.
284 + Work-around buggy Xeon E5v3 BIOS reporting invalid PCI-NUMA affinity
285 for the PCI links on the second processor.
286 + Add support for CUDA compute capability 5.x, thanks Benjamin Worpitz.
287 + Many fixes to the x86 backend
288 - Add L1i and fix L2/L3 type on old AMD processors without topoext support.
289 - Fix Intel CPU family and model numbers when basic family isn't 6 or 15.
290 - Fix package IDs on recent AMD processors.
291 - Fix misc issues due to incomplete APIC IDs on x2APIC processors.
292 - Avoid buggy discovery on old SGI Altix UVs with non-unique APIC IDs.
293 + Gather total machine memory on NetBSD.
296 - Collapse identical PCI devices unless --no-collapse is given.
297 This avoids gigantic outputs when a PCI device contains dozens of
298 identical virtual functions.
299 - The ASCII art output is now called "ascii", for instance in
301 The former "txt" extension is retained for backward compatibility.
302 - Automatically scales graphical box width to the inner text in Cairo,
303 ASCII and Windows outputs.
304 - Add --rect to lstopo to force rectangular layout even for NUMA nodes.
305 - Add --restrict-flags to configure the behavior of --restrict.
306 - Objects may have a "Type" info attribute to specify a better type name
307 and display it in lstopo.
308 - Really export all verbose information to the given output file.
310 - May now operate on all types of objects, including I/O.
311 - May now insert Misc objects in the topology.
312 - Do not drop instruction caches and I/O devices from the output anymore.
313 + Fix lstopo path in hwloc-gather-topology after install.
315 + Fix hwloc/cudart.h for machines with multiple PCI domains,
316 thanks to Imre Kerr for reporting the problem.
317 + Fix PCI Bridge-specific depth attribute.
318 + Fix hwloc_bitmap_intersect() for two infinite bitmaps.
319 + Fix some corner cases in the building of levels on large NUMA machines
320 with non-uniform NUMA groups and I/Os.
321 + Improve the performance of object insertion by cpuset for large
323 + Prefix verbose XML import errors with the source name.
324 + Improve pkg-config checks and error messages.
325 + Fix excluding after a component with an argument in the HWLOC_COMPONENTS
326 environment variable.
328 + Fix the recommended way in documentation and examples to allocate memory
329 on some node, it should use HWLOC_MEMBIND_BIND.
330 Thanks to Nicolas Bouzat for reporting the issue.
331 + Add a "Miscellaneous objects" section in the documentation.
332 + Add a FAQ entry "What happens to my topology if I disable symmetric
333 multithreading, hyper-threading, etc. ?" to the documentation.
338 * Actually remove disallowed NUMA nodes from nodesets when the whole-system
340 * Fix the gathering of PCI domains. Thanks to James Custer for reporting
341 the issue and providing a patch.
342 * Fix the merging of identical parent and child in presence of Misc objects.
343 Thanks to Dave Love for reporting the issue.
344 * Fix some misordering of children when merging with ignore_keep_structure()
345 in partially allowed topologies.
346 * Fix an overzealous assertion in the debug code when running on a single-PU
347 host with I/O. Thanks to Thomas Van Doren for reporting the issue.
348 * Don't forget to setup NUMA node object nodesets in x86 backend (for BSDs)
349 and OSF/Tru64 backend.
350 * Fix cpuid-x86 build error with gcc -O3 on x86-32. Thanks to Thomas Van Doren
351 for reporting the issue.
352 * Fix support for future very large caches in the x86 backend.
353 * Fix vendor/device names for SR-IOV PCI devices on Linux.
354 * Fix an unlikely crash in case of buggy hierarchical distance matrix.
355 * Fix PU os_index on some AIX releases. Thanks to Hendryk Bockelmann and
356 Erik Schnetter for helping debugging.
357 * Fix hwloc_bitmap_isincluded() in case of infinite sets.
358 * Change hwloc-ls.desktop into a lstopo.desktop and only install it if
359 lstopo is built with Cairo/X11 support. It cannot work with a non-graphical
361 * Add support for the renaming of Socket into Package in future releases.
362 * Add support for the replacement of HWLOC_OBJ_NODE with HWLOC_OBJ_NUMANODE
364 * Clarify the documentation of distance matrices in hwloc.h and in the manpage
365 of the hwloc-distances. Thanks to Dave Love for the suggestion.
366 * Improve some error messages by displaying more information about the
367 hwloc library in use.
368 * Document how to deal with the ABI break when upgrading to the upcoming 2.0
369 See "How do I handle ABI breaks and API upgrades ?" in the FAQ.
375 + Add hwloc_topology_export_synthetic() to export a topology to a
376 synthetic string without using lstopo. See the Synthetic topologies
377 section in the documentation.
378 + Add hwloc_topology_set/get_userdata() to let the application save
379 a private pointer in the topology whenever it needs a way to find
380 its own object corresponding to a topology.
381 + Add hwloc_get_numanode_obj_by_os_index() and document that this function
382 as well as hwloc_get_pu_obj_by_os_index() are good at converting
383 nodesets and cpusets into objects.
384 + hwloc_distrib() does not ignore any objects anymore when there are
385 too many of them. They get merged with others instead.
386 Thanks to Tim Creech for reporting the issue.
388 + hwloc-bind --get <command-line> now executes the command after displaying
389 the binding instead of ignoring the command entirely.
390 Thanks to John Donners for the suggestion.
391 + Clarify that memory sizes shown in lstopo are local by default
392 unless specified (total memory added in the root object).
393 * Synthetic topologies
394 + Synthetic topology descriptions may now specify attributes such as
395 memory sizes and OS indexes. See the Synthetic topologies section
396 in the documentation.
397 + lstopo now exports in this fully-detailed format by default.
398 The new option --export-synthetic-flags may be used to revert
401 + Add the doc/examples/ subdirectory with several real-life examples,
402 including the already existing hwloc-hello.C for basics.
403 Thanks to Rob Aulwes for the suggestion.
404 + Improve the documentation of CPU and memory binding in the API.
405 + Add a FAQ entry about operating system errors, especially on AMD
406 platforms with buggy cache information.
407 + Add a FAQ entry about loading many topologies in a single program.
409 + Work around buggy Linux kernels reporting 2 sockets instead
410 1 socket with 2 NUMA nodes for each Xeon E5 v3 (Haswell) processor.
411 + pciutils/libpci support is now removed since libpciaccess works
412 well and there's also a Linux-specific PCI backend. For the record,
413 pciutils was GPL and therefore disabled by default since v1.6.2.
414 + Add --disable-cpuid configure flag to work around buggy processor
415 simulators reporting invalid CPUID information.
416 Thanks for Andrew Friedley for reporting the issue.
417 + Fix a racy use of libltdl when manipulating multiple topologies in
419 Thanks to Andra Hugo for reporting the issue and testing patches.
420 + Fix some build failures in private/misc.h.
421 Thanks to Pavan Balaji and Ralph Castain for the reports.
422 + Fix failures to detect X11/Xutil.h on some Solaris platforms.
423 Thanks to Siegmar Gross for reporting the failure.
424 + The plugin ABI has changed, this release will not load plugins
425 built against previous hwloc releases.
430 * Fix a crash when the PCI locality is invalid. Attach to the root object
431 instead. Thanks to Nicolas Denoyelle for reporting the issue.
432 * Fix -f in lstopo manpage. Thanks to Jirka Hladky for reporting the issue.
433 * Fix hwloc_obj_type_sscanf() and others when strncasecmp() is not properly
434 available. Thanks to Nick Papior Andersen for reporting the problem.
435 * Mark Linux file descriptors as close-on-exec to avoid leaks on exec.
436 * Fix some minor memory leaks.
442 + Add hwloc_obj_type_sscanf() to extend hwloc_obj_type_of_string() with
443 type-specific attributes such as Cache/Group depth and Cache type.
444 hwloc_obj_type_of_string() is moved to hwloc/deprecated.h.
445 + Add hwloc_linux_get_tid_last_cpu_location() for retrieving the
446 last CPU where a Linux thread given by TID ran.
447 + Add hwloc_distrib() to extend the old hwloc_distribute[v]() functions.
448 hwloc_distribute[v]() is moved to hwloc/deprecated.h.
449 + Don't mix total and local memory when displaying verbose object attributes
450 with hwloc_obj_attr_snprintf() or in lstopo.
452 + Add CPUVendor, CPUModelNumber and CPUFamilyNumber info attributes for
453 x86, ia64 and Xeon Phi sockets on Linux, to extend the x86-specific
454 support added in v1.8.1. Requested by Ralph Castain.
455 + Add many CPU- and Platform-related info attributes on ARM and POWER
456 platforms, in the Machine and Socket objects.
457 + Add CUDA info attributes describing the number of multiprocessors and
458 cores and the size of the global, shared and L2 cache memories in CUDA
460 + Add OpenCL info attributes describing the number of compute units and
461 the global memory size in OpenCL OS devices.
462 + The synthetic backend now accepts extended types such as L2Cache, L1i or
463 Group3. lstopo also exports synthetic strings using these extended types.
466 - Do not overwrite output files by default anymore.
467 Pass -f or --force to enforce it.
468 - Display OpenCL, CUDA and Xeon Phi numbers of cores and memory sizes
469 in the graphical output.
470 - Fix export to stdout when specifying a Cairo-based output type
473 - Add -e or --get-last-cpu-location to report where processes/threads
474 run instead of where they are bound.
475 - Report locations as likely-more-useful objects such as Cores or Sockets
476 instead of Caches when possible.
478 - Fix failure on Windows when not using --pid.
479 - Add -e as a synonym to --get-last-cpu-location.
481 - Add --reverse to distribute using last objects first and singlify
482 into last bits first. Thanks to Jirka Hladky for the suggestion.
484 - Report unified caches when looking for data or instruction cache
487 + Add experimental Visual Studio support under contrib/windows.
488 Thanks to Eloi Gaudry for his help and for providing the first draft.
489 + Fix some overzealous assertions and warnings about the ordering of
490 objects on a level with respect to cpusets. The ordering is only
491 guaranteed for complete cpusets (based on the first bit in sets).
492 + Fix some memory leaks when importing xml diffs and when exporting a
498 * Fix the cpuid code on Windows 64bits so that the x86 backend gets
499 enabled as expected and can populate CPU information.
500 Thanks to Robin Scher for reporting the problem.
501 * Add CPUVendor/CPUModelNumber/CPUFamilyNumber attributes when running
502 on x86 architecture. Thanks to Ralph Castain for the suggestion.
503 * Work around buggy BIOS reporting duplicate NUMA nodes on Linux.
504 Thanks to Jeff Becker for reporting the problem and testing the patch.
505 * Add a name to the lstopo graphical window. Thanks to Michael Prokop
506 for reporting the issue.
512 + Add the "linuxpci" component that always works on Linux even when
513 libpciaccess and libpci aren't available (and even with a modified
514 file-system root). By default the old "pci" component runs first
515 because "linuxpci" lacks device names (obj->name is always NULL).
517 + Add the topology difference API in hwloc/diff.h for manipulating
518 many similar topologies.
519 + Add hwloc_topology_dup() for duplicating an entire topology.
520 + hwloc.h and hwloc/helper.h have been reorganized to clarify the
521 documentation sections. The actual inline code has moved out of hwloc.h
522 into the new hwloc/inlines.h.
523 + Deprecated functions are now in hwloc/deprecated.h, and not in the
524 official documentation anymore.
526 + Add hwloc-diff and hwloc-patch tools together with the new diff API.
527 + Add hwloc-compress-dir to (de)compress an entire directory of XML files
528 using hwloc-diff and hwloc-patch.
529 + Object colors in the graphical output of lstopo may be changed by adding
530 a "lstopoStyle" info attribute. See CUSTOM COLORS in the lstopo(1) manpage
531 for details. Thanks to Jirka Hladky for discussing the idea.
532 + hwloc-gather-topology may now gather I/O-related files on Linux when
533 --io is given. Only the linuxpci component supports discovering I/O
534 objects from these extended tarballs.
535 + hwloc-annotate now supports --ri to remove/replace info attributes with
537 + hwloc-info supports "root" and "all" special locations for dumping
538 information about the root object.
539 + lstopo now supports --append-legend to append custom lines of text
540 to the legend in the graphical output. Thanks to Jirka Hladky for
542 + hwloc-calc and friends have a more robust parsing of locations given
543 on the command-line and they report useful error messages about it.
544 + Add --whole-system to hwloc-bind, hwloc-calc, hwloc-distances and
545 hwloc-distrib, and add --restrict to hwloc-bind for uniformity among
548 + Calling hwloc_topology_load() or hwloc_topology_set_*() on an already
549 loaded topology now returns an error (deprecated since release 1.6.1).
550 + Fix the initialisation of cpusets and nodesets in Group objects added
551 when inserting PCI hostbridges.
552 + Never merge Group objects that were added explicitly by the user with
553 hwloc_custom_insert_group_object_by_parent().
554 + Add a sanity check during dynamic plugin loading to prevent some
555 crashes when hwloc is dynamically loaded by another plugin mechanisms.
556 + Add --with-hwloc-plugins-path to specify the install/load directories
558 + Add the MICSerialNumber info attribute to the root object when running
559 hwloc inside a Xeon Phi to match the same attribute in the MIC OS device
560 when running in the host.
565 * Do not create invalid block OS devices on very old Linux kernel such
567 * Fix PCI subvendor/device IDs.
568 * Fix the management of Misc objects inserted by parent.
569 Thanks to Jirka Hladky for reporting the problem.
570 * Add a Port<n>State into attribute to OpenFabrics OS devices.
571 * Add a MICSerialNumber info attribute to Xeon PHI/MIC OS devices.
572 * Improve verbose error messages when failing to load from XML.
577 * Fix a failed assertion in the distance grouping code when loading a XML
578 file that already contains some groups.
579 Thanks to Laercio Lima Pilla for reporting the problem.
580 * Remove unexpected Group objects when loading XML topologies with I/O
581 objects and NUMA distances.
582 Thanks to Elena Elkina for reporting the problem and testing patches.
583 * Fix PCI link speed discovery when using libpciaccess.
584 * Fix invalid libpciaccess virtual function device/vendor IDs when using
585 SR-IOV PCI devices on Linux.
586 * Fix GL component build with old NVCtrl releases.
587 Thanks to Jirka Hladky for reporting the problem.
588 * Fix embedding breakage caused by libltdl.
589 Thanks to Pavan Balaji for reporting the problem.
590 * Always use the system-wide libltdl instead of shipping one inside hwloc.
591 * Document issues when enabling plugins while embedding hwloc in another
592 project, in the documentation section Embedding hwloc in Other Software.
593 * Add a FAQ entry "How to get useful topology information on NetBSD?"
594 in the documentation.
595 * Somes fixes in the renaming code for embedding.
596 * Miscellaneous minor build fixes.
601 * New operating system backends
602 + Add BlueGene/Q compute node kernel (CNK) support. See the FAQ in the
603 documentation for details. Thanks to Jeff Hammond, Christopher Samuel
604 and Erik Schnetter for their help.
605 + Add NetBSD support, thanks to Aleksej Saushev.
606 * New I/O device discovery
607 + Add co-processor OS devices such as "mic0" for Intel Xeon Phi (MIC)
608 on Linux. Thanks to Jerome Vienne for helping.
609 + Add co-processor OS devices such as "cuda0" for NVIDIA CUDA-capable GPUs.
610 + Add co-processor OS devices such as "opencl0d0" for OpenCL GPU devices
611 on the AMD OpenCL implementation.
612 + Add GPU OS devices such as ":0.0" for NVIDIA X11 displays.
613 + Add GPU OS devices such as "nvml0" for NVIDIA GPUs.
614 Thanks to Marwan Abdellah and Stefan Eilemann for helping.
615 These new OS devices have some string info attributes such as CoProcType,
616 GPUModel, etc. to better identify them.
617 See the I/O Devices and Attributes documentation sections for details.
619 + Add the "opencl", "cuda", "nvml" and "gl" components for I/O device
621 + "nvml" also improves the discovery of NVIDIA GPU PCIe link speed.
622 All of these new components may be built as plugins. They may also be
623 disabled entirely by passing --disable-opencl/cuda/nvml/gl to configure.
624 See the I/O Devices, Components and Plugins, and FAQ documentation
625 sections for details.
627 + Add hwloc_topology_get_flags().
628 + Add hwloc/plugins.h for building external plugins.
629 See the Adding new discovery components and plugins section.
631 + Add hwloc/opencl.h, hwloc/nvml.h, hwloc/gl.h and hwloc/intel-mic.h
632 to retrieve the locality of OS devices that correspond to AMD OpenCL
633 GPU devices or indexes, to NVML devices or indexes, to NVIDIA X11
634 displays, or to Intel Xeon Phi (MIC) device indexes.
635 + Add new helpers in hwloc/cuda.h and hwloc/cudart.h to convert
636 between CUDA devices or indexes and hwloc OS devices.
637 + Add hwloc_ibv_get_device_osdev() and clarify the requirements
638 of the OpenFabrics Verbs helpers in hwloc/openfabrics-verbs.h.
640 + hwloc-info is not only a synonym of lstopo -s anymore, it also
641 dumps information about objects given on the command-line.
643 + Add a section "Existing components and plugins".
644 + Add a list of common OS devices in section "Software devices".
645 + Add a new FAQ entry "Why is lstopo slow?" about lstopo slowness
646 issues because of GPUs.
647 + Clarify the documentation of inline helpers in hwloc/myriexpress.h
648 and hwloc/openfabrics-verbs.h.
650 + Improve cache detection on AIX.
651 + The HWLOC_COMPONENTS variable now excludes the components whose
652 names are prefixed with '-'.
653 + lstopo --ignore PU now works when displaying the topology in
654 graphical and textual mode (not when exporting to XML).
655 + Make sure I/O options always appear in lstopo usage, not only when
656 using pciutils/libpci.
657 + Remove some unneeded Linux specific includes from some interoperability
659 + Fix some inconsistencies in hwloc-distrib and hwloc-assembler-remote
660 manpages. Thanks to Guy Streeter for the report.
661 + Fix a memory leak on AIX when getting memory binding.
662 + Fix many small memory leaks on Linux.
663 + The `libpci' component is now called `pci' but the old name is still
664 accepted in the HWLOC_COMPONENTS variable for backward compatibility.
669 * Use libpciaccess instead of pciutils/libpci by default for I/O discovery.
670 pciutils/libpci is only used if --enable-libpci is given to configure
671 because its GPL license may taint hwloc. See the Installation section
672 in the documentation for details.
673 * Fix get_cpubind on Solaris when bound to a single PU with
674 processor_bind(). Thanks to Eugene Loh for reporting the problem
675 and providing a patch.
680 * Fix some crash or buggy detection in the x86 backend when Linux
681 cgroups/cpusets restrict the available CPUs.
682 * Fix the pkg-config output with --libs --static.
683 Thanks to Erik Schnetter for reporting one of the problems.
684 * Fix the output of hwloc-calc -H --hierarchical when using logical
685 indexes in the output.
686 * Calling hwloc_topology_load() multiple times on the same topology
687 is officially deprecated. hwloc will warn in such cases.
688 * Add some documentation about existing plugins/components, package
689 dependencies, and I/O devices specification on the command-line.
695 + Reorganize the backend infrastructure to support dynamic selection
696 of components and dynamic loading of plugins. For details, see the
697 new documentation section Components and plugins.
698 - The HWLOC_COMPONENTS variable lets one replace the default discovery
700 - Dynamic loading of plugins may be enabled with --enable-plugins
701 (except on AIX and Windows). It will build libxml2 and libpci
702 support as separated modules. This helps reducing the dependencies
703 of the core hwloc library when distributed as a binary package.
705 + Add CPUModel detection on Darwin and x86/FreeBSD.
706 Thanks to Robin Scher for providing ways to implement this.
707 + The x86 backend now adds CPUModel info attributes to socket objects
708 created by other backends that do not natively support this attribute.
709 + Fix detection on FreeBSD in case of cpuset restriction. Thanks to
710 Sebastian Kuzminsky for reporting the problem.
712 + Add hwloc_topology_set_userdata_import/export_callback(),
713 hwloc_export_obj_userdata() and _userdata_base64() to let
714 applications specify how to save/restore the custom data they placed
715 in the userdata private pointer field of hwloc objects.
717 + Add hwloc-annotate program to add string info attributes to XML
719 + Add --pid-cmd to hwloc-ps to append the output of a command to each
720 PID line. May be used for showing Open MPI process ranks, see the
721 hwloc-ps(1) manpage for details.
722 + hwloc-bind now exits with an error if binding fails; the executable
723 is not launched unless binding suceeeded or --force was given.
724 + Add --quiet to hwloc-calc and hwloc-bind to hide non-fatal error
726 + Fix command-line pid support in windows tools.
727 + All programs accept --verbose as a synonym to -v.
729 + Fix some DIR descriptor leaks on Linux.
730 + Fix I/O device lists when some were filtered out after a XML import.
731 + Fix the removal of I/O objects when importing a I/O-enabled XML topology
732 without any I/O topology flag.
733 + When merging objects with HWLOC_IGNORE_TYPE_KEEP_STRUCTURE or
734 lstopo --merge, compare object types before deciding which one of two
735 identical object to remove (e.g. keep sockets in favor of caches).
736 + Add some GUID- and LID-related info attributes to OpenFabrics
738 + Only add CPUType socket attributes on Solaris/Sparc. Other cases
739 don't report reliable information (Solaris/x86), and a replacement
740 is available as the Architecture string info in the Machine object.
741 + Add missing Backend string info on Solaris in most cases.
742 + Document object attributes and string infos in a new Attributes
743 section in the documentation.
744 + Add a section about Synthetic topologies in the documentation.
747 Version 1.5.2 (some of these changes are in v1.6.2 but not in v1.6)
749 * Use libpciaccess instead of pciutils/libpci by default for I/O discovery.
750 pciutils/libpci is only used if --enable-libpci is given to configure
751 because its GPL license may taint hwloc. See the Installation section
752 in the documentation for details.
753 * Fix get_cpubind on Solaris when bound to a single PU with
754 processor_bind(). Thanks to Eugene Loh for reporting the problem
755 and providing a patch.
756 * Fix some DIR descriptor leaks on Linux.
757 * Fix I/O device lists when some were filtered out after a XML import.
758 * Add missing Backend string info on Solaris in most cases.
759 * Fix the removal of I/O objects when importing a I/O-enabled XML topology
760 without any I/O topology flag.
761 * Fix the output of hwloc-calc -H --hierarchical when using logical
762 indexes in the output.
763 * Fix the pkg-config output with --libs --static.
764 Thanks to Erik Schnetter for reporting one of the problems.
769 * Fix block OS device detection on Linux kernel 3.3 and later.
770 Thanks to Guy Streeter for reporting the problem and testing the fix.
771 * Fix the cpuid code in the x86 backend (for FreeBSD). Thanks to
772 Sebastian Kuzminsky for reporting problems and testing patches.
773 * Fix 64bit detection on FreeBSD.
774 * Fix some corner cases in the management of the thissystem flag with
775 respect to topology flags and environment variables.
776 * Fix some corner cases in command-line parsing checks in hwloc-distrib
778 * Make sure we do not miss some block OS devices on old Linux kernels
779 when a single PCI device has multiple IDE hosts/devices behind it.
780 * Do not disable I/O devices or instruction caches in hwloc-assembler output.
786 + Do not limit the number of processors to 1024 on Solaris anymore.
787 + Gather total machine memory on FreeBSD. Thanks to Cyril Roelandt.
788 + XML topology files do not depend on the locale anymore. Float numbers
789 such as NUMA distances or PCI link speeds now always use a dot as a
791 + Add instruction caches detection on Linux, AIX, Windows and Darwin.
792 + Add get_last_cpu_location() support for the current thread on AIX.
793 + Support binding on AIX when threads or processes were bound with
794 bindprocessor(). Thanks to Hendryk Bockelmann for reporting the issue
795 and testing patches, and to Farid Parpia for explaining the binding
797 + Improve AMD topology detection in the x86 backend (for FreeBSD) using
800 + Increase HWLOC_API_VERSION to 0x00010500 so that API changes may be
801 detected at build-time.
802 + Add a cache type attribute describind Data, Instruction and Unified
803 caches. Caches with different types but same depth (for instance L1d
804 and L1i) are placed on different levels.
805 + Add hwloc_get_cache_type_depth() to retrieve the hwloc level depth of
806 of the given cache depth and type, for instance L1i or L2.
807 It helps disambiguating the case where hwloc_get_type_depth() returns
808 HWLOC_TYPE_DEPTH_MULTIPLE.
809 + Instruction caches are ignored unless HWLOC_TOPOLOGY_FLAG_ICACHES is
810 passed to hwloc_topology_set_flags() before load.
811 + Add hwloc_ibv_get_device_osdev_by_name() OpenFabrics helper in
812 openfabrics-verbs.h to find the hwloc OS device object corresponding to
813 an OpenFabrics device.
815 + Add lstopo-no-graphics, a lstopo built without graphical support to
816 avoid dependencies on external libraries such as Cairo and X11. When
817 supported, graphical outputs are only available in the original lstopo
819 - Packagers splitting lstopo and lstopo-no-graphics into different
820 packages are advised to use the alternatives system so that lstopo
821 points to the best available binary.
822 + Instruction caches are enabled in lstopo by default. Use --no-icaches
824 + Add -t/--threads to show threads in hwloc-ps.
825 * Removal of obsolete components
826 + Remove the old cpuset interface (hwloc/cpuset.h) which is deprecated and
827 superseded by the bitmap API (hwloc/bitmap.h) since v1.1.
828 hwloc_cpuset and nodeset types are still defined, but all hwloc_cpuset_*
829 compatibility wrappers are now gone.
830 + Remove Linux libnuma conversion helpers for the deprecated and
831 broken nodemask_t interface.
832 + Remove support for "Proc" type name, it was superseded by "PU" in v1.0.
833 + Remove hwloc-mask symlinks, it was replaced by hwloc-calc in v1.0.
835 + Fix PCIe 3.0 link speed computation.
836 + Non-printable characters are dropped from strings during XML export.
837 + Fix importing of escaped characters with the minimalistic XML backend.
838 + Assert hwloc_is_thissystem() in several I/O related helpers.
839 + Fix some memory leaks in the x86 backend for FreeBSD.
840 + Minor fixes to ease native builds on Windows.
841 + Limit the number of retries when operating on all threads within a
842 process on Linux if the list of threads is heavily getting modified.
847 * This release is only meant to fix the pciutils license issue when upgrading
848 to hwloc v1.5 or later is not possible. It contains several other minor
849 fixes but ignores many of them that are only in v1.5 or later.
850 * Use libpciaccess instead of pciutils/libpci by default for I/O discovery.
851 pciutils/libpci is only used if --enable-libpci is given to configure
852 because its GPL license may taint hwloc. See the Installation section
853 in the documentation for details.
854 * Fix PCIe 3.0 link speed computation.
855 * Fix importing of escaped characters with the minimalistic XML backend.
856 * Fix a memory leak in the x86 backend.
861 * Fix build on Solaris 9 and earlier when fabsf() is not a compiler
862 built-in. Thanks to Igor Galić for reporting the problem.
863 * Fix support for more than 32 processors on Windows. Thanks to Hartmut
864 Kaiser for reporting the problem.
865 * Fix process-wide binding and cpulocation routines on Linux when some
866 threads disappear in the meantime. Thanks to Vlad Roubtsov for reporting
868 * Make installed scripts executable. Thanks to Jirka Hladky for reporting
870 * Fix libtool revision management when building for Windows. This fix was
871 also released as hwloc v1.4.1.1 Windows builds. Thanks to Hartmut Kaiser
872 for reporting the problem.
873 * Fix the __hwloc_inline keyword in public headers when compiling with a
875 * Add Port info attribute to network OS devices inside OpenFabrics PCI
876 devices so as to identify which interface corresponds to which port.
877 * Document requirements for interoperability helpers: I/O devices discovery
878 is required for some of them; the topology must match the current host
884 * This release contains all changes from v1.3.2.
885 * Fix hwloc_alloc_membind, thanks Karl Napf for reporting the issue.
886 * Fix memory leaks in some get_membind() functions.
887 * Fix helpers converting from Linux libnuma to hwloc (hwloc/linux-libnuma.h)
888 in case of out-of-order NUMA node ids.
889 * Fix some overzealous assertions in the distance grouping code.
890 * Workaround BIOS reporting empty I/O locality in CUDA and OpenFabrics
891 helpers on Linux. Thanks to Albert Solernou for reporting the problem.
892 * Install a valgrind suppressions file hwloc-valgrind.supp (see the FAQ).
893 * Fix memory binding documentation. Thanks to Karl Napf for reporting the
897 Version 1.4.0 (does not contain all v1.3.2 changes)
900 + Add "custom" interface and "assembler" tools to build multi-node
901 topology. See the Multi-node Topologies section in the documentation
903 * Interface improvements
904 + Add symmetric_subtree object attribute to ease assumptions when consulting
905 regular symmetric topologies.
906 + Add a CPUModel and CPUType info attribute to Socket objects on Linux
908 + Add hwloc_get_obj_index_inside_cpuset() to retrieve the "logical" index
909 of an object within a subtree of the topology.
910 + Add more NVIDIA CUDA helpers in cuda.h and cudart.h to find hwloc objects
911 corresponding to CUDA devices.
912 * Discovery improvements
913 + Add a group object above partial distance matrices to make sure
914 the matrices are available in the final topology, except when this
915 new object would contradict the existing hierarchy.
916 + Grouping by distances now also works when loading from XML.
917 + Fix some corner cases in object insertion, for instance when dealing
918 with NUMA nodes without any CPU.
920 + Implement hwloc_get_area_membind() on Linux.
921 + Honor I/O topology flags when importing from XML.
922 + Further improve XML-related error checking and reporting.
923 + Hide synthetic topology error messages unless HWLOC_SYNTHETIC_VERBOSE=1.
925 + Add synthetic exporting of symmetric topologies to lstopo.
926 + lstopo --horiz and --vert can now be applied to some specific object types.
927 + lstopo -v -p now displays distance matrices with physical indexes.
928 + Add hwloc-distances utility to list distances.
930 + Fix and/or document the behavior of most inline functions in hwloc/helper.h
931 when the topology contains some I/O or Misc objects.
932 + Backend documentation enhancements.
934 + Fix missing last bit in hwloc_linux_get_thread_cpubind().
935 Thanks to Carolina Gómez-Tostón Gutiérrez for reporting the issue.
936 + Fix FreeBSD build without cpuid support.
937 + Fix several Windows build issues.
938 + Fix inline keyword definition in public headers.
939 + Fix dependencies in the embedded library.
940 + Improve visibility support detection. Thanks to Dave Love for providing
942 + Remove references to internal symbols in the tools.
947 * This release is only meant to fix the pciutils license issue when upgrading
948 to hwloc v1.4 or later is not possible. It contains several other minor
949 fixes but ignores many of them that are only in v1.4 or later.
950 * Use libpciaccess instead of pciutils/libpci by default for I/O discovery.
951 pciutils/libpci is only used if --enable-libpci is given to configure
952 because its GPL license may taint hwloc. See the Installation section
953 in the documentation for details.
958 * Fix missing last bit in hwloc_linux_get_thread_cpubind().
959 Thanks to Carolina Gómez-Tostón Gutiérrez for reporting the issue.
960 * Fix build with -mcmodel=medium. Thanks to Devendar Bureddy for reporting
962 * Fix build with Solaris Studio 12 compiler when XML is disabled.
963 Thanks to Paul H. Hargrove for reporting the problem.
964 * Fix installation with old GNU sed, for instance on Red Hat 8.
965 Thanks to Paul H. Hargrove for reporting the problem.
966 * Fix PCI locality when Linux cgroups restrict the available CPUs.
967 * Fix floating point issue when grouping by distance on mips64 architecture.
968 Thanks to Paul H. Hargrove for reporting the problem.
969 * Fix conversion from/to Linux libnuma when some NUMA nodes have no memory.
970 * Fix support for gccfss compilers with broken ffs() support. Thanks to
971 Paul H. Hargrove for reporting the problem and providing a patch.
972 * Fix FreeBSD build without cpuid support.
973 * Fix several Windows build issues.
974 * Fix inline keyword definition in public headers.
975 * Fix dependencies in the embedded library.
976 * Detect when a compiler such as xlc may not report compile errors
977 properly, causing some configure checks to be wrong. Thanks to
978 Paul H. Hargrove for reporting the problem and providing a patch.
979 * Improve visibility support detection. Thanks to Dave Love for providing
981 * Remove references to internal symbols in the tools.
982 * Fix installation on systems with limited command-line size.
983 Thanks to Paul H. Hargrove for reporting the problem.
984 * Further improve XML-related error checking and reporting.
989 * Fix pciutils detection with pkg-config when not installed in standard
991 * Fix visibility options detection with the Solaris Studio compiler.
992 Thanks to Igor Galić and Terry Dontje for reporting the problems.
993 * Fix support for old Linux sched.h headers such as those found
994 on Red Hat 8. Thanks to Paul H. Hargrove for reporting the problems.
995 * Fix inline and attribute support for Solaris compilers. Thanks to
996 Dave Love for reporting the problems.
997 * Print a short summary at the end of the configure output. Thanks to
998 Stefan Eilemann for the suggestion.
999 * Add --disable-libnuma configure option to disable libnuma-based
1000 memory binding support on Linux. Thanks to Rayson Ho for the
1002 * Make hwloc's configure script properly obey $PKG_CONFIG. Thanks to
1003 Nathan Phillip Brink for raising the issue.
1004 * Silence some harmless pciutils warnings, thanks to Paul H. Hargrove
1005 for reporting the problem.
1006 * Fix the documentation with respect to hwloc_pid_t and hwloc_thread_t
1007 being either pid_t and pthread_t on Unix, or HANDLE on Windows.
1013 + Add I/O devices and bridges to the topology using the pciutils
1014 library. Only enabled after setting the relevant flag with
1015 hwloc_topology_set_flags() before hwloc_topology_load(). See the
1016 I/O Devices section in the documentation for details.
1017 * Discovery improvements
1018 + Add associativity to the cache attributes.
1019 + Add support for s390/z11 "books" on Linux.
1020 + Add the HWLOC_GROUPING_ACCURACY environment variable to relax
1021 distance-based grouping constraints. See the Environment Variables
1022 section in the documentation for details about grouping behavior
1024 + Allow user-given distance matrices to remove or replace those
1025 discovered by the OS backend.
1027 + XML is now always supported: a minimalistic custom import/export
1028 code is used when libxml2 is not available. It is only guaranteed
1029 to read XML files generated by hwloc.
1030 + hwloc_topology_export_xml() and export_xmlbuffer() now return an
1032 + Add hwloc_free_xmlbuffer() to free the buffer allocated by
1033 hwloc_topology_export_xmlbuffer().
1034 + Hide XML topology error messages unless HWLOC_XML_VERBOSE=1.
1036 + Add hwloc_obj_add_info to customize object info attributes.
1038 + lstopo now displays I/O devices by default. Several options are
1039 added to configure the I/O discovery.
1040 + hwloc-calc and hwloc-bind now accept I/O devices as input.
1041 + Add --restrict option to hwloc-calc and hwloc-distribute.
1042 + Add --sep option to change the output field separator in hwloc-calc.
1043 + Add --whole-system option to hwloc-ps.
1048 * Fix build on AIX 5.2, thanks Utpal Kumar Ray for the report.
1049 * Fix XML import of very large page sizes or counts on 32bits platform,
1050 thanks to Karsten Hopp for the RedHat ticket.
1051 * Fix crash when administrator limitations such as Linux cgroup require
1052 to restrict distance matrices. Thanks to Ake Sandgren for reporting the
1054 * Fix the removal of objects such as AMD Magny-Cours dual-node sockets
1055 in case of administrator restrictions.
1056 * Improve error reporting and messages in case of wrong synthetic topology
1058 * Several other minor internal fixes and documentation improvements.
1063 * Improve support of AMD Bulldozer "Compute-Unit" modules by detecting
1064 logical processors with different core IDs on Linux.
1065 * Fix hwloc-ps crash when listing processes from another Linux cpuset.
1066 Thanks to Carl Smith for reporting the problem.
1067 * Fix build on AIX and Solaris. Thanks to Carl Smith and Andreas Kupries
1068 for reporting the problems.
1069 * Fix cache size detection on Darwin. Thanks to Erkcan Özcan for reporting
1071 * Make configure fail if --enable-xml or --enable-cairo is given and
1072 proper support cannot be found. Thanks to Andreas Kupries for reporting
1074 * Fix spurious L1 cache detection on AIX. Thanks to Hendryk Bockelmann
1075 for reporting the problem.
1076 * Fix hwloc_get_last_cpu_location(THREAD) on Linux. Thanks to Gabriele
1077 Fatigati for reporting the problem.
1078 * Fix object distance detection on Solaris.
1079 * Add pthread_self weak symbol to ease static linking.
1080 * Minor documentation fixes.
1086 + Expose latency matrices in the API as an array of distance structures
1087 within objects. Add several helpers to find distances.
1088 + Add hwloc_topology_set_distance_matrix() and environment variables
1089 to provide a matrix of distances between a given set of objects.
1090 + Add hwloc_get_last_cpu_location() and hwloc_get_proc_last_cpu_location()
1091 to retrieve the processors where a process or thread recently ran.
1092 - Add the corresponding --get-last-cpu-location option to hwloc-bind.
1093 + Add hwloc_topology_restrict() to restrict an existing topology to a
1095 - Add the corresponding --restrict option to lstopo.
1097 + Add hwloc_bitmap_list_sscanf/snprintf/asprintf to convert between bitmaps
1098 and strings such as 4-5,7-9,12,15-
1099 + hwloc_bitmap_set/clr_range() now support infinite ranges.
1100 + Clarify the difference between inserting Misc objects by cpuset or by
1102 + hwloc_insert_misc_object_by_cpuset() now returns NULL in case of error.
1103 * Discovery improvements
1104 + x86 backend (for freebsd): add x2APIC support
1105 + Support standard device-tree phandle, to get better support on e.g. ARM
1106 systems providing it.
1107 + Detect cache size on AIX. Thanks Christopher and IBM.
1108 + Improve grouping to support asymmetric topologies.
1110 + Command-line tools now support "all" and "root" special locations
1111 consisting in the entire topology, as well as type names with depth
1112 attributes such as L2 or Group4.
1113 + hwloc-calc improvements:
1114 - Add --number-of/-N option to report the number of objects of a given
1116 - -I is now equivalent to --intersect for listing the indexes of
1117 objects of a given type or depth that intersects the input.
1118 - Add -H to report the output as a hierarchical combination of types
1120 + Add --thissystem to lstopo.
1121 + Add lstopo-win, a console-less lstopo variant on Windows.
1123 + Remove C99 usage from code base.
1124 + Rename hwloc-gather-topology.sh into hwloc-gather-topology
1125 + Fix AMD cache discovery on freebsd when there is no L3 cache, thanks
1126 Andriy Gapon for the fix.
1131 * Fix a segfault in the distance-based grouping code when some objects
1132 are not placed in any group. Thanks to Bernd Kallies for reporting
1133 the problem and providing a patch.
1134 * Fix the command-line parsing of hwloc-bind --mempolicy interleave.
1135 Thanks to Guy Streeter for reporting the problem.
1136 * Stop truncating the output in hwloc_obj_attr_snprintf() and in the
1137 corresponding lstopo output. Thanks to Guy Streeter for reporting the
1139 * Fix object levels ordering in synthetic topologies.
1140 * Fix potential incoherency between device tree and kernel information,
1141 when SMT is disabled on Power machines.
1142 * Fix and document the behavior of hwloc_topology_set_synthetic() in case
1143 of invalid argument. Thanks to Guy Streeter for reporting the problem.
1144 * Add some verbose error message reporting when it looks like the OS
1145 gives erroneous information.
1146 * Do not include unistd.h and stdint.h in public headers on Windows.
1147 * Move config.h files into their own subdirectories to avoid name
1148 conflicts when AC_CONFIG_HEADERS adds -I's for them.
1149 * Remove the use of declaring variables inside "for" loops.
1150 * Some other minor fixes.
1151 * Many minor documentation fixes.
1156 * Add hwloc_get_api_version() which returns the version of hwloc used
1157 at runtime. Thanks to Guy Streeter for the suggestion.
1158 * Fix the number of hugepages reported for NUMA nodes on Linux.
1159 * Fix hwloc_bitmap_to_ulong() right after allocating the bitmap.
1160 Thanks to Bernd Kallies for reporting the problem.
1161 * Fix hwloc_bitmap_from_ith_ulong() to properly zero the first ulong.
1162 Thanks to Guy Streeter for reporting the problem.
1163 * Fix hwloc_get_membind_nodeset() on Linux.
1164 Thanks to Bernd Kallies for reporting the problem and providing a patch.
1165 * Fix some file descriptor leaks in the Linux discovery.
1166 * Fix the minimum width of NUMA nodes, caches and the legend in the graphical
1167 lstopo output. Thanks to Jirka Hladky for reporting the problem.
1168 * Various fixes to bitmap conversion from/to taskset-strings.
1169 * Fix and document snprintf functions behavior when the buffer size is too
1170 small or zero. Thanks to Guy Streeter for reporting the problem.
1171 * Fix configure to avoid spurious enabling of the cpuid backend.
1172 Thanks to Tim Anderson for reporting the problem.
1173 * Cleanup error management in hwloc-gather-topology.sh.
1174 Thanks to Jirka Hladky for reporting the problem and providing a patch.
1175 * Add a manpage and usage for hwloc-gather-topology.sh on Linux.
1176 Thanks to Jirka Hladky for providing a patch.
1177 * Memory binding documentation enhancements.
1184 + Increase HWLOC_API_VERSION to 0x00010100 so that API changes may be
1185 detected at build-time.
1186 + Add a memory binding interface.
1187 + The cpuset API (hwloc/cpuset.h) is now deprecated. It is replaced by
1188 the bitmap API (hwloc/bitmap.h) which offers the same features with more
1189 generic names since it applies to CPU sets, node sets and more.
1190 Backward compatibility with the cpuset API and ABI is still provided but
1191 it will be removed in a future release.
1192 Old types (hwloc_cpuset_t, ...) are still available as a way to clarify
1193 what kind of hwloc_bitmap_t each API function manipulates.
1194 Upgrading to the new API only requires to replace hwloc_cpuset_ function
1195 calls with the corresponding hwloc_bitmap_ calls, with the following
1196 renaming exceptions:
1197 - hwloc_cpuset_cpu -> hwloc_bitmap_only
1198 - hwloc_cpuset_all_but_cpu -> hwloc_bitmap_allbut
1199 - hwloc_cpuset_from_string -> hwloc_bitmap_sscanf
1200 + Add an `infos' array in each object to store couples of info names and
1201 values. It enables generic storage of things like the old dmi board infos
1202 that were previously stored in machine specific attributes.
1203 + Add linesize cache attribute.
1205 + Bitmaps (and thus CPU sets and node sets) are dynamically (re-)allocated,
1206 the maximal number of CPUs (HWLOC_NBMAXCPUS) has been removed.
1207 + Improve the distance-based grouping code to better support irregular
1209 + Add support for device-tree to get cache information (useful on Power
1212 + Add NVIDIA CUDA helpers in cuda.h and cudart.h to ease interoperability
1213 with CUDA Runtime and Driver APIs.
1214 + Add Myrinet Express helper in myriexpress.h to ease interoperability.
1216 + lstopo now displays physical/OS indexes by default in graphical mode
1217 (use -l to switch back to logical indexes). The textual output still uses
1218 logical by default (use -p to switch to physical indexes).
1219 + lstopo prefixes logical indexes with `L#' and physical indexes with `P#'.
1220 Physical indexes are also printed as `P#N' instead of `phys=N' within
1221 object attributes (in parentheses).
1222 + Add a legend at the bottom of the lstopo graphical output, use --no-legend
1224 + Add hwloc-ps to list process' bindings.
1225 + Add --membind and --mempolicy options to hwloc-bind.
1226 + Improve tools command-line options by adding a generic --input option
1227 (and more) which replaces the old --xml, --synthetic and --fsys-root.
1228 + Cleanup lstopo output configuration by adding --output-format.
1229 + Add --intersect in hwloc-calc, and replace --objects with --largest.
1230 + Add the ability to work on standard input in hwloc-calc.
1231 + Add --from, --to and --at in hwloc-distrib.
1232 + Add taskset-specific functions and command-line tools options to
1233 manipulate CPU set strings in the format of the taskset program.
1234 + Install hwloc-gather-topology.sh on Linux.
1240 * Fix support for Linux cpuset when emulated by a cgroup mount point.
1241 * Remove unneeded runtime dependency on libibverbs.so in the library and
1243 * Fix hwloc_cpuset_to_linux_libnuma_ulongs in case of non-linear OS-indexes
1245 * lstopo now displays physical/OS indexes by default in graphical mode
1246 (use -l to switch back to logical indexes). The textual output still uses
1247 logical by default (use -p to switch to physical indexes).
1253 * Public headers can now be included directly from C++ programs.
1254 * Solaris fix for non-contiguous cpu numbers. Thanks to Rolf vandeVaart for
1255 reporting the issue.
1256 * Darwin 10.4 fix. Thanks to Olivier Cessenat for reporting the issue.
1257 * Revert 1.0.1 patch that ignored sockets with unknown ID values since it
1258 only slightly helped POWER7 machines with old Linux kernels while it
1259 prevents recent kernels from getting the complete POWER7 topology.
1260 * Fix hwloc_get_common_ancestor_obj().
1261 * Remove arch-specific bits in public headers.
1262 * Some fixes in the lstopo graphical output.
1263 * Various man page clarifications and minor updates.
1269 * Various Solaris fixes. Thanks to Yannick Martin for reporting the issue.
1270 * Fix "non-native" builds on x86 platforms (e.g., when building 32
1271 bit executables with compilers that natively build 64 bit).
1272 * Ignore sockets with unknown ID values (which fixes issues on POWER7
1273 machines). Thanks to Greg Bauer for reporting the issue.
1274 * Various man page clarifications and minor updates.
1275 * Fixed memory leaks in hwloc_setup_group_from_min_distance_clique().
1276 * Fix cache type filtering on MS Windows 7. Thanks to Αλέξανδρος
1277 Παπαδογιαννάκ for reporting the issue.
1278 * Fixed warnings when compiling with -DNDEBUG.
1284 * The ABI of the library has changed.
1286 + Add FreeBSD support.
1287 + Add x86 cpuid based backend.
1288 + Add Linux cgroup support to the Linux cpuset code.
1289 + Support binding of entire multithreaded process on Linux.
1290 + Fix and enable Group support in Windows.
1291 + Cleanup XML export/import.
1293 + HWLOC_OBJ_PROC is renamed into HWLOC_OBJ_PU for "Processing Unit",
1294 its stringified type name is now "PU".
1295 + Use new HWLOC_OBJ_GROUP objects instead of MISC when grouping
1296 objects according to NUMA distances or arbitrary OS aggregation.
1297 + Rework memory attributes.
1298 + Add different cpusets in each object to specify processors that
1299 are offline, unavailable, ...
1300 + Cleanup the storage of object names and DMI infos.
1302 + Add support for looking up specific PID topology information.
1303 + Add hwloc_topology_export_xml() to export the topology in a XML file.
1304 + Add hwloc_topology_get_support() to retrieve the supported features
1305 for the current topology context.
1306 + Support non-SYSTEM object as the root of the tree, use MACHINE in
1308 + Add hwloc_get_*cpubind() routines to retrieve the current binding
1309 of processes and threads.
1311 + Add HWLOC_API_VERSION to help detect the currently used API version.
1312 + Add missing ending "e" to *compare* functions.
1313 + Add several routines to emulate PLPA functions.
1314 + Rename and rework the cpuset and/or/xor/not/clear operators to output
1315 their result in a dedicated argument instead of modifying one input.
1316 + Deprecate hwloc_obj_snprintf() in favor of hwloc_obj_type/attr_snprintf().
1317 + Clarify the use of parent and ancestor in the API, do not use father.
1318 + Replace hwloc_get_system_obj() with hwloc_get_root_obj().
1319 + Return -1 instead of HWLOC_OBJ_TYPE_MAX in the API since the latter
1321 + Relax constraints in hwloc_obj_type_of_string().
1322 + Improve displaying of memory sizes.
1323 + Add 0x prefix to cpuset strings.
1325 + lstopo now displays logical indexes by default, use --physical to
1326 revert back to OS/physical indexes.
1327 + Add colors in the lstopo graphical outputs to distinguish between online,
1328 offline, reserved, ... objects.
1329 + Extend lstopo to show cpusets, filter objects by type, ...
1330 + Renamed hwloc-mask into hwloc-calc which supports many new options.
1332 + Add a hwloc(7) manpage containing general information.
1333 + Add documentation about how to switch from PLPA to hwloc.
1334 + Cleanup the distributed documentation files.
1336 + Many compilers warning fixes.
1337 + Cleanup the ABI by using the visibility attribute.
1338 + Add project embedding support.
1341 Version 0.9.4 (unreleased)
1342 --------------------------
1344 * Fix reseting colors to normal in lstopo -.txt output.
1345 * Fix Linux pthread_t binding error report.
1351 * Fix autogen.sh to work with Autoconf 2.63.
1352 * Fix various crashes in particular conditions:
1353 - xml files with root attributes
1355 - partial sysfs support
1356 - unparseable /proc/cpuinfo
1357 - ignoring NUMA level while Misc level have been generated
1358 * Tweak documentation a bit
1359 * Do not require the pthread library for binding the current thread on Linux
1360 * Do not erroneously consider the sched_setaffinity prototype is the old version
1361 when there is actually none.
1362 * Fix _syscall3 compilation on archs for which we do not have the
1363 sched_setaffinity system call number.
1365 * Fix libraries dependencies: now only lstopo depends on libtermcap, fix
1367 * Have make check always build and run hwloc-hello.c
1368 * Do not limit size of a cpuset.
1374 * Trivial documentation changes.
1380 * Re-branded to "hwloc" and moved to the Open MPI project, relicensed under the
1382 * The prefix of all functions and tools is now hwloc, and some public
1383 functions were also renamed for real.
1384 * Group NUMA nodes into Misc objects according to their physical distance
1385 that may be reported by the OS/BIOS.
1386 May be ignored by setting HWLOC_IGNORE_DISTANCES=1 in the environment.
1387 * Ignore offline CPUs on Solaris.
1388 * Improved binding support on AIX.
1389 * Add HP-UX support.
1390 * CPU sets are now allocated/freed dynamically.
1391 * Add command line options to tune the lstopo graphical output, add
1392 semi-graphical textual output
1393 * Extend topobind to support multiple cpusets or objects on the command
1394 line as topomask does.
1395 * Add an Infiniband-specific helper hwloc/openfabrics-verbs.h to retrieve
1396 the physical location of IB devices.
1399 Version 0.9 (libtopology)
1400 -------------------------