Re: Programmatically cache line

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Sat, 30 Dec 2017 10:28:12 +0200
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.
Received on Sat Dec 30 2017 - 07:28:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC