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

Vetoshkin Nikita pypy-dev-issue at codespeak.net
Tue Mar 22 19:02:06 CET 2011


Vetoshkin Nikita <nikita.vetoshkin at gmail.com> added the comment:

import os

LEVEL2_CACHE_SIZE = 191
os.sysconf(LEVEL2_CACHE_SIZE)

maybe that would be even easier, but I'm not shure when it was defined.

----------
status: unread -> chatting

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



More information about the Pypy-issue mailing list