Hello,
On Mon, 23 Apr 2007, Bert Wesarg wrote:
> Hello all,
>
> Instructions:
>
> # assume you have mounted the sysfs on /sys
> $ cd /sys
> $ tar cjf cpu-topology.tar.bz2
> devices/system/{cpu/cpu*/topology/*,node/node*/cpu*}
Because of different kernel version, or old versions, not all files are
found, so here is an update to the instructions for getting the cpu
topology:
NOTE: the tar will spillout a bunch off messages like:
tar: devices/system/cpu/cpu0/topology/core_id: File shrank by 4094 bytes;
padding with zeros
this shouldn't be problem
0) change to your sysfs mount directory (mostly /sys)
1) if you don't have devices/system/cpu/cpu0/topology, sorry you can stop,
your kernel is to old
2) if you don't have a devices/system/node directory, goto point 3). else
do:
$ tar -r -f /tmp/cpu-topology.tar devices/system/node/node*/cpu*
3) do:
$ tar -r -f /tmp/cpu-topology.tar devices/system/cpu/cpu*/topology/*
4) do:
$ bzip /tmp/cpu-topology.tar
Thank you
Bert Wesarg
>
> Please give a short description of the machine and send the
> cpu-topology.tar.bz2 to the list.
>
> [1]: http://www.open-mpi.org/community/lists/plpa-users/2007/04/0035.php
> [2]: http://www.open-mpi.org/software/plpa/
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
|