Re: Programmatically cache line

From: Adrian Chadd <adrian.chadd_at_gmail.com>
Date: Sun, 31 Dec 2017 21:09:12 -0800
On 30 December 2017 at 00:28, Konstantin Belousov <kostikbel_at_gmail.com> wrote:
> 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.

Hm, weird. Why don't we extend sysctl to include this info?



-adrian

> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Mon Jan 01 2018 - 04:09:15 UTC

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