Brice Goglin <brice.gog...@inria.fr> writes:

> I ran more benchmarks. What's really slow is the reading of all sysfs
> files. About 90% of the topology building time is spent there on KNL.
> We're reading more than 7000 files (most of them are 6 files for each
> hardware thread and 6 files for each cache).

For what it's worth, I was misled when I investigated originally by
counting calls of open and not openat, which is what hwloc uses.  It's
especially confusing that numactl uses open, not openat (doubtless less
correctly).  A useful lesson.
_______________________________________________
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users

Reply via email to