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


Groups > linux.debian.user > #201689

Re: which program can test cpu speed

From Michael Stone <mstone@debian.org>
Newsgroups linux.debian.user
Subject Re: which program can test cpu speed
Date 2018-10-26 17:10 +0200
Message-ID <wNbUm-5t6-11@gated-at.bofh.it> (permalink)
References <wN0FA-7dD-9@gated-at.bofh.it> <wN0FA-7dD-7@gated-at.bofh.it> <wN3k5-aw-11@gated-at.bofh.it> <wNaOB-4BH-7@gated-at.bofh.it> <wNbrk-53u-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Oct 26, 2018 at 05:34:26PM +0300, Reco wrote:
>On Fri, Oct 26, 2018 at 09:59:16AM -0400, Michael Stone wrote:
>> On Fri, Oct 26, 2018 at 08:57:29AM +0300, Reco wrote:
>> > Why would you need a *program* to do that then you have Linux kernel
>> > already?
>> >
>> > grep bogomips /proc/cpuinfo
>>
>> Anyone reading that advice: ignore it. You cannot use bogomips to meaningfully compare processors.
>
>The reason being?

As it says in the link you posted, "It is not usable for performance 
comparisons among different CPUs".

>The kernel uses it just fine for the clock calibration.

I suppose if you want to use the system exclusively for busy loops, you 
can use the bogomips number to see which cpu will wait the fastest and 
choose based on that.

FWIW, even the kernel doesn't use naive busy loops anymore on newer 
hardware. (TSC or MWAIT is used, depending on what the processor 
supports.)

Mike Stone

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

which program can test cpu speed Long Wind <longwind2@yahoo.com> - 2018-10-26 05:10 +0200
  Re: which program can test cpu speed Reco <recoverym4n@enotuniq.net> - 2018-10-26 08:00 +0200
    Re: which program can test cpu speed Reco <recoverym4n@enotuniq.net> - 2018-10-26 10:30 +0200
      Re: which program can test cpu speed arne <sp113438@telfort.nl> - 2018-10-26 10:50 +0200
        Re: which program can test cpu speed Reco <recoverym4n@enotuniq.net> - 2018-10-26 11:00 +0200
          Re: which program can test cpu speed arne <sp113438@telfort.nl> - 2018-10-26 11:10 +0200
    Re: which program can test cpu speed Long Wind <longwind2@yahoo.com> - 2018-10-26 10:30 +0200
    Re: which program can test cpu speed Michael Stone <mstone@debian.org> - 2018-10-26 16:00 +0200
      Re: which program can test cpu speed Reco <recoverym4n@enotuniq.net> - 2018-10-26 16:40 +0200
        Re: which program can test cpu speed Michael Stone <mstone@debian.org> - 2018-10-26 17:10 +0200
          Re: which program can test cpu speed David Wright <deblis@lionunicorn.co.uk> - 2018-10-26 20:50 +0200
            Re: which program can test cpu speed Michael Stone <mstone@debian.org> - 2018-10-26 21:20 +0200
        Re: which program can test cpu speed Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-10-26 20:00 +0200
          Re: which program can test cpu speed Reco <recoverym4n@enotuniq.net> - 2018-10-26 20:20 +0200
            Re: which program can test cpu speed Michael Stone <mstone@debian.org> - 2018-10-26 22:20 +0200
    Re: which program can test cpu speed mick crane <mick.crane@gmail.com> - 2018-10-26 16:30 +0200
      Re: which program can test cpu speed Reco <recoverym4n@enotuniq.net> - 2018-10-26 16:40 +0200
  Re: which program can test cpu speed Jörg-Volker Peetz <jvpeetz@web.de> - 2018-10-26 10:40 +0200
  Re: which program can test cpu speed Greg Wooledge <wooledg@eeg.ccf.org> - 2018-10-26 14:40 +0200
    Re: which program can test cpu speed Long Wind <longwind2@yahoo.com> - 2018-10-26 19:30 +0200
      Re: which program can test cpu speed Michael Stone <mstone@debian.org> - 2018-10-26 20:10 +0200
        Re: which program can test cpu speed Michael Stone <mstone@debian.org> - 2018-10-26 20:50 +0200

csiph-web