By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,222 Members | 2,374 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,222 IT Pros & Developers. It's quick & easy.

cache line length of a machine

P: n/a

How do I find out the cache line length of a machine in python?

Thanks,
--j

Jan 4 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"John" <we**********@yahoo.comwrote:
>
How do I find out the cache line length of a machine in python?
How would that piece of information be valuable in Python? There isn't
anything you can do to take advantage of it in Python.

You can look up the L2 and L3 cache size and speed using WMI (assuming you
are using Windows). For more detailed, you will have to call into a C
routine, and maybe even resort to looking up the cpuid info.
--
Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Jan 5 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.