NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc benchmark/??? that will show (rough) CPU MHz ?
> Or if not directly - something that shows a list of other CPUs
> and their values for single core metrics? Even if it’s
> something that’s easily googleable - I can do the rough math
> myself.
One thing is benchmarks (/usr/pkgsrc/benchmarks contains a few),
another is what the hardware claims. For the latter, on at least
amd64 and i386:
$ cpuctl identify 0
(though the information is perhaps not "structured"
cross-platform, e.g. the core frequency isn't reported on
earmv7hf or arm64) and also look at
$ sysctl hw.ncpu
If you have "hyperthreading" enabled, those will be counted as
part of hw.ncpu and will therefore typically be 2x the number of
physical cores.
Regards,
- Håvard
Home |
Main Index |
Thread Index |
Old Index