https://www.reddit.com/r/programming/comments/4jfoez/cache_sizes_with_cpuid_in_c_and_d/
Quote from the original article: "In D, there is a cpuid module that can retrieve cache information, but from what I've found it's incorrect."
Then the author provides a function that does it correctly. Ali