[PyPy-issue] [issue673] Linux L2 cache size

David Edelsohn pypy-dev-issue at codespeak.net
Mon Mar 14 20:20:07 CET 2011


New submission from David Edelsohn <dje.gcc at gmail.com>:

The information returned by /proc/cpuinfo is processor-dependent.  Not all Linux
architectures return cache size in that structure.

/sys/devices/system/cpu/cpuN/cache/indexN/size

is more portable.  Although it requires a little more groveling to find a valid
cpu and the outermost index.

----------
effort: ???
messages: 2302
nosy: edelsohn, pypy-issue
priority: feature
release: ???
status: unread
title: Linux L2 cache size

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue673>
_______________________________________________________



More information about the Pypy-issue mailing list