Date: Wed, 16 Jun 2004 11:27:58 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: current@freebsd.org Subject: How to determine the L2 cache size on non-AMD CPUs (automatic page queue color tuning)? Message-ID: <20040616112758.46677e25@Magellan.Leidinger.net>
next in thread | raw e-mail | index | archive | help
Hi, I'm working with Alan and Chad David on automatic tuning of the number of colors for the page queue. For AMD CPUs (including amd64, but not tested) we already have code in identcpu.c to determine the size of the L2 cache and its associativity. Now I need to know how to determine those properties on at least some Intel CPUs (e.g. P3 & P4). Since Intel has a lot of manuals and everyone contains a lot of pages, I decided to first ask here if someone can give me a pointer please (or working code). For those interested to try the actual version, it's at http://www.leidinger.net/FreeBSD/current-patches/pq.diff I'm already using this patch on my desktop system since some days, so it's not very likely it will start WW3 or something like this if you give it a try. Patches for our other architectures are welcome too offcourse. Bye, Alexander. -- I'm available to get hired (preferred in .lu). http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040616112758.46677e25>