Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: [hwloc-devel] Fwd: Fw: How to get cache sizes on AIX 6.1 ?
From: Christopher Samuel (samuel_at_[hidden])
Date: 2011-02-17 01:01:54


-----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 ?
Date: Thu, 17 Feb 2011 15:28:24 +1100
From: Peter Zutenis <zutenis_at_[hidden]>
To: samuel_at_[hidden]

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: zutenis_at_[hidden]

        
<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_at_IBMAU
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_at_IBMAU
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: zutenis_at_[hidden]

        
<http://www.ibm.com/systems/power/>

- ----- Forwarded by Peter Zutenis/Australia/IBM on 16/02/2011 16:00 -----
From: Christopher Samuel <samuel_at_[hidden]>
To: Peter Zutenis/Australia/IBM_at_IBMAU
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-----



  • application/octet-stream attachment: qcpu.c