Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1277036

Re: [PATCH] arm64: restore bogomips information in /proc/cpuinfo

From Jon Masters <jcm@jonmasters.org>
Newsgroups linux.kernel
Subject Re: [PATCH] arm64: restore bogomips information in /proc/cpuinfo
Date 2015-11-25 06:50 +0100
Message-ID <qyB7P-1Td-7@gated-at.bofh.it> (permalink)
References <qwfOa-6FW-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/18/15, 1:15 PM, Yang Shi wrote:

> As what Pavel Machek reported [1], some userspace applications depend on
> bogomips showed by /proc/cpuinfo.
>
> Although there is much less legacy impact on aarch64 than arm, but it does
> break libvirt.
>
> Basically, this patch reverts commit 326b16db9f69fd0d279be873c6c00f88c0a4aad5
> ("arm64: delay: don't bother reporting bogomips in /proc/cpuinfo"), but with
> some tweak due to context change.

On a total tangent, it would be ideal to (eventually) have something 
reported in /proc/cpuinfo or dmesg during boot that does "accurately" 
map back to the underlying core frequency (as opposed to the generic 
timer frequency). I have seen almost countless silly situations in the 
industry (external to my own organization) in which someone has taken a 
$VENDOR_X reference system that they're not supposed to run benchmarks 
on, and they've done it anyway. But usually on some silicon that's 
clocked multiples under what production would be. Then silly rumors 
about performance get around because nobody can do simple arithmetic and 
notice that they ought to have at least divided by some factor.

Whether we do this through one of the platform tables or otherwise 
(multiple vendor EFI firmwares are being modified to make this much more 
glaringly obvious in the GUI view of system configuration so that when 
they do things they shouldn't, it's at least in the output) we should 
ultimately make sure that idiots at least have a fighting chance of 
noticing that they're actually running at 1GHz, and not 2 or 3GHz.

Jon.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] arm64: restore bogomips information in /proc/cpuinfo Yang Shi <yang.shi@linaro.org> - 2015-11-18 19:40 +0100
  Re: [PATCH] arm64: restore bogomips information in /proc/cpuinfo Will Deacon <will.deacon@arm.com> - 2015-11-18 19:50 +0100
    Re: [PATCH] arm64: restore bogomips information in /proc/cpuinfo "Shi, Yang" <yang.shi@linaro.org> - 2015-11-18 20:00 +0100
    Re: [PATCH] arm64: restore bogomips information in /proc/cpuinfo Nicolas Pitre <nicolas.pitre@linaro.org> - 2015-11-18 23:00 +0100
      Re: [PATCH] arm64: restore bogomips information in /proc/cpuinfo Will Deacon <will.deacon@arm.com> - 2015-11-19 13:30 +0100
  Re: [PATCH] arm64: restore bogomips information in /proc/cpuinfo Jon Masters <jcm@jonmasters.org> - 2015-11-25 06:50 +0100
    Re: [PATCH] arm64: restore bogomips information in /proc/cpuinfo Catalin Marinas <catalin.marinas@arm.com> - 2015-11-25 13:00 +0100
    Re: [PATCH] arm64: restore bogomips information in /proc/cpuinfo Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-11-25 13:10 +0100
    Re: [PATCH] arm64: restore bogomips information in /proc/cpuinfo Riku Voipio <riku.voipio@linaro.org> - 2015-11-25 13:40 +0100
    Re: [PATCH] arm64: restore bogomips information in /proc/cpuinfo Nicolas Pitre <nicolas.pitre@linaro.org> - 2015-11-25 16:20 +0100
      Re: [PATCH] arm64: restore bogomips information in /proc/cpuinfo "Shi, Yang" <yang.shi@linaro.org> - 2015-11-25 18:40 +0100
        Re: [PATCH] arm64: restore bogomips information in /proc/cpuinfo Nicolas Pitre <nicolas.pitre@linaro.org> - 2015-11-25 19:10 +0100
          Re: [PATCH] arm64: restore bogomips information in /proc/cpuinfo "Jon Medhurst (Tixy)" <tixy@linaro.org> - 2015-11-26 11:30 +0100

csiph-web