Re: which program can test cpu speed

2018-10-26 Thread Michael Stone
On Fri, Oct 26, 2018 at 09:16:47PM +0300, Reco wrote: As far as I remember, the bogomips number has consistently been twice the current clock frequency on any x86 PCU I have ever run Linux on. Either your math is off, or they've changed it. $ lscpu | egrep '(Vendor|MHz|MIPS)' # This PC Vendo

Re: which program can test cpu speed

2018-10-26 Thread Michael Stone
On Fri, Oct 26, 2018 at 01:47:19PM -0500, David Wright wrote: On Fri 26 Oct 2018 at 11:04:48 (-0400), Michael Stone wrote: 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.) I've programmed a "busy loo

Re: which program can test cpu speed

2018-10-26 Thread David Wright
On Fri 26 Oct 2018 at 11:04:48 (-0400), Michael Stone wrote: > 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

Re: which program can test cpu speed

2018-10-26 Thread Michael Stone
On Fri, Oct 26, 2018 at 02:02:06PM -0400, Michael Stone wrote: On Fri, Oct 26, 2018 at 05:19:58PM +, Long Wind wrote: is there any general-purpose testing utility? i remember in early days some program for DOS can report benchmark, (maybe made by nordon?) . and intel 486 always seems faste

Re: which program can test cpu speed

2018-10-26 Thread Reco
On Fri, Oct 26, 2018 at 07:51:16PM +0200, Pascal Hambourg wrote: > Le 26/10/2018 à 16:34, Reco a écrit : > > > > 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: > > > > > > > > grep bogomips /proc/cpuinfo > > > > > > Anyo

Re: which program can test cpu speed

2018-10-26 Thread Michael Stone
On Fri, Oct 26, 2018 at 05:19:58PM +, Long Wind wrote: is there any general-purpose testing utility? i remember in early days some program for DOS can report benchmark, (maybe made by nordon?) . and intel 486 always seems faster than 386. Try something like http://www.cpu-world.com/Compa

Re: which program can test cpu speed

2018-10-26 Thread Pascal Hambourg
Le 26/10/2018 à 16:34, Reco a écrit : 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: grep bogomips /proc/cpuinfo Anyone reading that advice: ignore it. You cannot use bogomips to meaningfully compare processors. The re

Re: which program can test cpu speed

2018-10-26 Thread Long Wind
Thank Greg! is there any general-purpose testing utility? i remember in  early days some program for DOS can report benchmark, (maybe made by nordon?) .  and intel 486 always seems faster than 386. On Friday, October 26, 2018 8:40 PM, Greg Wooledge wrote: On Fri, Oct 26, 2018 at 03:05

Re: which program can test cpu speed

2018-10-26 Thread Michael Stone
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 rea

Re: which program can test cpu speed

2018-10-26 Thread Reco
Hi. On Fri, Oct 26, 2018 at 03:21:41PM +0100, mick crane wrote: > On 2018-10-26 06:57, Reco wrote: > > Hi. > > > > On Fri, Oct 26, 2018 at 03:05:36AM +, Long Wind wrote: > > > any package that test cpu/system speed and report benchmark? > > > i have 2 old pc: intel pentium D 2.8 G and

Re: which program can test cpu speed

2018-10-26 Thread Reco
Hi. 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.

Re: which program can test cpu speed

2018-10-26 Thread mick crane
On 2018-10-26 06:57, Reco wrote: Hi. On Fri, Oct 26, 2018 at 03:05:36AM +, Long Wind wrote: any package that test cpu/system speed and report benchmark? i have 2 old pc: intel pentium D 2.8 G and amd athlon 64 3800i bought them from 2nd hand dealers for about same priceso i think they're

Re: which program can test cpu speed

2018-10-26 Thread Michael Stone
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. Mike Stone

Re: which program can test cpu speed

2018-10-26 Thread Greg Wooledge
On Fri, Oct 26, 2018 at 03:05:36AM +, Long Wind wrote: > any package that test cpu/system speed and report benchmark? > i have 2 old pc: intel pentium D 2.8 G and amd athlon 64 3800i bought them > from 2nd hand dealers for about same priceso i think they're about same speed The performance of

Re: which program can test cpu speed

2018-10-26 Thread arne
On Fri, 26 Oct 2018 11:54:26 +0300 Reco wrote: > Hi. > > On Fri, Oct 26, 2018 at 10:42:53AM +0200, arne wrote: > > On Fri, 26 Oct 2018 11:26:13 +0300 > > Reco wrote: > > > > > Hi. > > > > > > On Fri, Oct 26, 2018 at 08:17:31AM +, Long Wind wrote: > > > > Thank Reco! > > >

Re: which program can test cpu speed

2018-10-26 Thread Reco
Hi. On Fri, Oct 26, 2018 at 10:42:53AM +0200, arne wrote: > On Fri, 26 Oct 2018 11:26:13 +0300 > Reco wrote: > > > Hi. > > > > On Fri, Oct 26, 2018 at 08:17:31AM +, Long Wind wrote: > > > Thank Reco! > > > > You're welcome. > > > > > > > intel get higher mark than amd > >

Re: which program can test cpu speed

2018-10-26 Thread arne
On Fri, 26 Oct 2018 11:26:13 +0300 Reco wrote: > Hi. > > On Fri, Oct 26, 2018 at 08:17:31AM +, Long Wind wrote: > > Thank Reco! > > You're welcome. > > > > intel get higher mark than amd > > That's expected. You need raw CPU power - you buy Intel. > You need power buy AMD thr

Re: which program can test cpu speed

2018-10-26 Thread Jörg-Volker Peetz
There is a "perf" package complementing the linux kernel package, for example if the kernel package is linux-image-4.17.0-3-amd64 the perf package is linux-perf-4.17. Also, take a look at this web page http://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html about profiling by Brendan Gregg. Re

Re: which program can test cpu speed

2018-10-26 Thread Reco
Hi. On Fri, Oct 26, 2018 at 08:17:31AM +, Long Wind wrote: > Thank Reco! You're welcome. > intel get higher mark than amd That's expected. You need raw CPU power - you buy Intel. > but could you explain a little about your command and bogomips? > i can't find manual about such in

Re: which program can test cpu speed

2018-10-25 Thread Reco
Hi. On Fri, Oct 26, 2018 at 03:05:36AM +, Long Wind wrote: > any package that test cpu/system speed and report benchmark? > i have 2 old pc: intel pentium D 2.8 G and amd athlon 64 3800i bought them > from 2nd hand dealers for about same priceso i think they're about same speed Why w