It should be soon possible to easily integrate a servet-based backend,
which uses performance measurements to infer the topology.
----- Forwarded message from Jorge Gonzalez Dominguez <jgonzalezd_at_[hidden]> -----
From: Jorge Gonzalez Dominguez <jgonzalezd_at_[hidden]>
To: Samuel Thibault <samuel.thibault_at_[hidden]>
Subject: Re: Servet and hwloc
Date: Mon, 6 Jun 2011 14:58:32 +0200 (CEST)
We have just developed a new version of Servet, which includes an API to
automatically obtain the hardware information within another application
or tool. We have found some bugs that we are trying to solve and we
expect that the new version will be available during this month.
As you were interested in using Servet within hwloc, attached you will
find the reference manual of the new version of Servet so that you can
have an overview of the syntax and functionality of the library. Please,
feel free to make any suggestion and we will try to consider it before
----- Mensaje original -----
> De: "Samuel Thibault" <samuel.thibault_at_[hidden]>
> Para: jgonzalezd_at_[hidden]
> CC: hwloc-devel_at_[hidden]
> Enviados: Viernes, 25 de Junio 2010 17:42:42
> Asunto: Servet and hwloc
> Hello Jorge,
> I've just noticed Servet in the ipdps 2010 proceedings. There
> are probably interesting things to do between Servet and hwloc
> On one hand, servet could use hwloc to get binding implementations
> on various OSes. Indeed, Servet version 1.0 actually doesn't even
> build on Debian Linux systems: you need to #define _GNU_SOURCE
> before including <sched.h>, and then use CPU_ZERO/CPU_SET instead of
> __CPU_ZERO/__CPU_SET, and these are specific to Linux of course. Just
> using hwloc for that part will provide you wide OS support.
> On the other hand hwloc has the following TODO item: on OSes or
> which don't know the cache size and sharing from the hardware itself,
> just find out from measures, which is exactly what Servet just does :)
> Ideally, Servet would be using the BSD licence but it's currently GPL.
> Maybe a compromise would be to make Servet a library which some BSD
> plugin of hwloc could be compiled against if the user already has
> installed. That would need Servet made a library.
> What do you think?
----- End forwarded message -----