-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi folks,
I spotted the comment recently about not knowing how to determine cache sizes on AIX and so I pinged (pung?) a friend of mine at IBM in case he could find out. Looks like he had some success (attached).. :-) cheers! Chris - -------- Original Message -------- Subject: Fw: How to get cache sizes on AIX 6.1 ? List-Post: hwloc-devel@lists.open-mpi.org Date: Thu, 17 Feb 2011 15:28:24 +1100 From: Peter Zutenis <zute...@au1.ibm.com> To: sam...@unimelb.edu.au Chris, The attached bit of code may help you. I hope it is what you are after. P.S. Must curry soon.............. *Peter Zutenis * Senior I/T Specialist - pSeries, powerVM and AIX Systems and Technology Group IBM Australia Ltd 60 City Road Southgate, 3006 Ph: 61-3-9626-6841 Mobile: 0413 274 855 Email: zute...@au1.ibm.com <http://www.ibm.com/systems/power/> - ----- Forwarded by Peter Zutenis/Australia/IBM on 17/02/2011 15:26 ----- From: Peter Farrell/Australia/IBM To: Peter Zutenis/Australia/IBM@IBMAU List-Post: hwloc-devel@lists.open-mpi.org Date: 17/02/2011 12:24 Subject: Re: Fw: How to get cache sizes on AIX 6.1 ? - ------------------------------------------------------------------------ Peter, It's not all my own work, a modification of something I found on the Internet. Tested on Power4 but I see no reason why it shouldn't work on the other boxes. Peter F. From: Peter Zutenis/Australia/IBM To: Peter Farrell/Australia/IBM@IBMAU List-Post: hwloc-devel@lists.open-mpi.org Date: 16/02/2011 04:01 PM Subject: Fw: How to get cache sizes on AIX 6.1 ? - ------------------------------------------------------------------------ Hi Pete, Hope all is well. Got this interesting request from a client of mine. Do you have any idea how I can pursue this within IBM ? Cheers, *Peter Zutenis * Senior I/T Specialist - pSeries, powerVM and AIX Systems and Technology Group IBM Australia Ltd 60 City Road Southgate, 3006 Ph: 61-3-9626-6841 Mobile: 0413 274 855 Email: zute...@au1.ibm.com <http://www.ibm.com/systems/power/> - ----- Forwarded by Peter Zutenis/Australia/IBM on 16/02/2011 16:00 ----- From: Christopher Samuel <sam...@unimelb.edu.au> To: Peter Zutenis/Australia/IBM@IBMAU List-Post: hwloc-devel@lists.open-mpi.org Date: 15/02/2011 14:04 Subject: How to get cache sizes on AIX 6.1 ? - ------------------------------------------------------------------------ Hiya Peter! Long time no speak (or tweet!). The hwloc folks were asked: $ btw: are there any plans to fully support POWER6 $ and/or POWER7 running AIX6.1 for the future? $ Actually we can get the topology right but cache $ sizes are missing. Their response was: # obj->attr->cache.size = 0; /* TODO: ? */ # # :) # # I don't know which AIX API can provide it. Would you have any idea how to get the cache size programaticaly from user space on AIX ? cheers! Chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1cudIACgkQO2KABBYQAh9QnACfafgXOxJcs2PlTBCQmIG2rBKG uKQAniWz1qWHkLwBi+dBHj4FnmqZ7cNl =z5mY -----END PGP SIGNATURE-----
qcpu.c
Description: Binary data