Programmatically cache line

Konstantin Belousov kostikbel at gmail.com
Sat Dec 30 08:28:21 UTC 2017


On Sat, Dec 30, 2017 at 07:50:19AM +0000, blubee blubeeme wrote:
> Is there some way to programmatically get the CPU cache line sizes on
> FreeBSD?

There are, all of them are MD.

On x86, the CPUID instruction leaf 0x1 returns the information in
%ebx register.


More information about the freebsd-current mailing list