LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 10-25-2007, 06:07 PM   #1
namida12
Member
 
Registered: Jun 2007
Location: Las Vegas, NV
Distribution: 64-bit Mepis
Posts: 130

Rep: Reputation: 19
Test your PC's speed -


Posted elseware - thought you might like to try this simple test...
On second thought it might be old news...

Test your PC's speed, by calculating Pi to 5000 decimal places, using the bc program

time echo "scale=5000; 4*a(1)" | bc -l ; echo `egrep "name|MHz" /proc/cpuinfo ; egrep "MemT" /proc/meminfo`

Inspiration from http://www.geekronomicon.com/?q=node/79 , manpage of bc (around line 310)
and a Dutch site (tweakers.net). Added the egrep stuff to put it in perspective.

Caveat: bc will only use a single CPU.

My results: With a Fry's $88 motherboard and CPU combo

real 0m48.898s
user 0m48.840s
sys 0m0.027s
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ cpu MHz : 1900.000 model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ cpu MHz : 1900.000 MemTotal: 1994280 kB

JR
* * *
SimplyMepis 64-bit beta5 O/S
ECS GeForce6100SM-M
Brisbane x2 3600 AMD
 
Old 10-25-2007, 06:17 PM   #2
namida12
Member
 
Registered: Jun 2007
Location: Las Vegas, NV
Distribution: 64-bit Mepis
Posts: 130

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by namida12 View Post
Posted elseware - thought you might like to try this simple test...
On second thought it might be old news...

Test your PC's speed, by calculating Pi to 5000 decimal places, using the bc program

time echo "scale=5000; 4*a(1)" | bc -l ; echo `egrep "name|MHz" /proc/cpuinfo ; egrep "MemT" /proc/meminfo`

Inspiration from http://www.geekronomicon.com/?q=node/79 , manpage of bc (around line 310)
and a Dutch site (tweakers.net). Added the egrep stuff to put it in perspective.

Caveat: bc will only use a single CPU.

My results: With a Fry's $88 motherboard and CPU combo

real 0m48.898s
user 0m48.840s
sys 0m0.027s
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ cpu MHz : 1900.000 model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ cpu MHz : 1900.000 MemTotal: 1994280 kB

JR
* * *
SimplyMepis 64-bit beta5 O/S
ECS GeForce6100SM-M
Brisbane x2 3600 AMD
This my quicker system -
A Fry's $99 Motherboard/CPU combo

real 0m39.531s
user 0m39.442s
sys 0m0.000s
model name : AMD Athlon(tm) 64 X2 Dual Core Processor
4400+ cpu MHz : 2310.707 model name : AMD Athlon(tm)
64 X2 Dual Core Processor 4400+ cpu MHz : 2310.707
MemTotal: 1994076 kB

Mepis 6.5.02 64-bit Linux OS
ECS GeForce6100SM-M
Brisbane AMD X2 4400 AMD
 
Old 10-26-2007, 09:42 AM   #3
namida12
Member
 
Registered: Jun 2007
Location: Las Vegas, NV
Distribution: 64-bit Mepis
Posts: 130

Original Poster
Rep: Reputation: 19
A Compaq "5WV261" dual boot M$ win2k & Mepis beta5 (6.9.89) 32-bit

time echo "scale=5000; 4*a(1)" | bc -l ; echo `egrep "name|MHz" /proc/cpuinfo ; egrep "MemT" /proc/meminfo`

real 3m33.006s
user 2m46.996s
sys 0m0.780s
model name : AMD Duron(tm) Processor cpu MHz : 751.365 MemTotal: 385340 kB

JR
* * *
SimplyMepis 32-bit beta5 O/S"
Compaq 06E4h motherboard
AMD Duron 750
 
Old 10-26-2007, 09:55 AM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
@debian64:~$ time echo "scale=5000; 4*a(1)" | bc -l ; echo `egrep "name|MHz" /proc/cpuinfo ; egrep "MemT" /proc/meminfo`

real 0m33.631s
user 0m33.534s
sys 0m0.068s
model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz cpu MHz : 2333.327 model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz cpu MHz : 2333.327 MemTotal: 2062936 kB

A $400 MB/CPU
 
Old 10-26-2007, 10:08 AM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
real 2m56.984s
user 2m23.193s
sys 0m0.084s
model name : AMD Athlon(tm) Processor cpu MHz : 1194.783 MemTotal: 1035088 kB

That's a Tyan Thunder (pretty old) dual processor mobo w/ a pair of Athlon 1200's. Even though top showed bc taking 80+% of my CPU, the box didn't slow down.

Edit: Make that : As a result of this thread, I discovered that my SMP kernel wasn't running, here is the new output:
real 1m42.155s
user 1m40.906s
sys 0m0.024s
model name : AMD Athlon(tm) Processor cpu MHz : 1194.826
model name : AMD Athlon(tm) Processor cpu MHz : 1194.826 MemTotal: 1033808 kB

I also added some swap space. Here are the results w/ the new swap space disabled:
real 1m42.874s
user 1m41.322s
sys 0m0.060s
model name : AMD Athlon(tm) Processor cpu MHz : 1194.826
model name : AMD Athlon(tm) Processor cpu MHz : 1194.826 MemTotal: 1033808 kB

Last edited by archtoad6; 10-26-2007 at 09:08 PM. Reason: Add run w/ both processors actually being used
 
Old 10-26-2007, 11:26 AM   #6
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 300

Rep: Reputation: 37
Awesome thread.

Kubuntu i686 (32 bit arch) Feisty
Asus P5LD2 Intel Core 2 Duo 6600 2.4 Ghz 2 GB DDR2 RAM

real 0m35.471s
user 0m35.398s
sys 0m0.064s
model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz cpu MHz : 2404.277 model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz cpu MHz : 2404.277 MemTotal: 2075772 kB

Kubuntu x86_64 Gutsy

real 0m33.315s
user 0m33.262s
sys 0m0.016s
model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz cpu MHz : 2404.156 model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz cpu MHz : 2404.156 MemTotal: 2063240 kB

Arch x86_64 (running KDE)

real 0m31.416s
user 0m31.415s
sys 0m0.000s
model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz cpu MHz : 2404.154 model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz cpu MHz : 2404.154 MemTotal: 2060172 kB

AMD Athlon K7, 500MHz, 384 mb DDR ram, Kubuntu Feisty

real 4m1.073s
user 4m0.275s
sys 0m0.024s
model name : AMD-K7(tm) Processor cpu MHz : 500.031 MemTotal: 385916 kB

Same hardware, Puppy 2.17

real 4m37.350s
user 4m36.040s
sys 0m0.000s
model name : AMD-K7(tm) Processor cpu MHz : 500.031 MemTotal: 385764 kB

PIII 825MHz (Overclocked) 160 mb SDRAM, OpenSUSE 10.3 (KDE)
For those in the know of OpenSUSE, Kerry Beagle is disabled, so it's running much faster.

real 2m30.510s
user 2m29.401s
sys 0m0.952s
model name : Pentium III (Coppermine) cpu MHz : 825.050 MemTotal: 158732 kB

Same system running Arch i686 (XFCE)

real 2m14.256s
user 2m14.078s
sys 0m0.020s
model name : Pentium III (Coppermine) cpu MHz : 825.050 MemTotal: 158360 kB

Last edited by SilentSam; 10-26-2007 at 03:03 PM.
 
Old 10-26-2007, 11:44 AM   #7
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
8 CPU 32GB RAM beast:
Code:
real    0m38.614s
user    0m38.602s
sys     0m0.004s
model name : AMD Opteron(tm) Processor 852 cpu MHz : 2605.942 
model name : AMD Opteron(tm) Processor 852 cpu MHz : 2605.942 
model name : AMD Opteron(tm) Processor 852 cpu MHz : 2605.942 
model name : AMD Opteron(tm) Processor 852 cpu MHz : 2605.942 
model name : AMD Opteron(tm) Processor 852 cpu MHz : 2605.942 
model name : AMD Opteron(tm) Processor 852 cpu MHz : 2605.942 
model name : AMD Opteron(tm) Processor 852 cpu MHz : 2605.942 
model name : AMD Opteron(tm) Processor 852 cpu MHz : 2605.942 
MemTotal: 32909672 kB
Little disappointing really.

Cygwin Core2Duo:
Code:
real    0.018s
user    0.015s
sys     0.000s
cpu     83%
real    37.383s
user    36.608s
sys     0.062s
cpu     98%
model name : Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz cpu MHz : 2666 
model name : Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz cpu MHz : 2666 
MemTotal: 2094784 kB
Marginally better.
 
Old 10-26-2007, 12:00 PM   #8
namida12
Member
 
Registered: Jun 2007
Location: Las Vegas, NV
Distribution: 64-bit Mepis
Posts: 130

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by SilentSam View Post
Awesome thread.
SilentSam,

Wow, three systems compared? Three separate systems, or one?

I have only used linux since May, and I liked the windows test site "pcpitstop.com" but have never located a Linux test website equilivent, something I would like to discover...

Using this Test does provide some system processing comparisons, but I do miss the comparisons information that was provided at the pcpitstop location. Another website comparison I would like to see for the Linux community is one similar to Speedfan's S.M.A.R.T.'s hard drive health comparison data base...

I Have written to them, asking if they would add Linux testing but guess it will take many thousands of requests, or a new website established for Linux only...

Not having the database that these two websites have created, would short change the results, but seeing you compare your systems makes me think about these two useful tools I used with the other brand O/S...

JR
 
Old 10-26-2007, 12:09 PM   #9
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
The information returned here by "sys" seems to be pretty off the wall, judging by these posts. I would assume that should be returning the actual processor time, but apparently it is not.

Here's another thread with a similar test.
 
Old 10-26-2007, 12:50 PM   #10
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
This is on an IBM T40:
Code:
real    1m14.084s
user    1m13.545s
sys     0m0.048s
model name : Intel(R) Pentium(R) M processor 1500MHz cpu MHz : 1495.208 
MemTotal: 514640 kB
Not amazing, not terrible.

Curiously, if you do this in zsh instead of bash, it spits out the time each process took:
Code:
echo "scale=5000; 4*a(1)"  0.00s user 0.00s system 0% cpu 0.004 total
bc -l  73.64s user 0.06s system 99% cpu 1:14.28 total
model name : Intel(R) Pentium(R) M processor 1500MHz cpu MHz : 1495.208 
MemTotal: 514640 kB
 
Old 10-26-2007, 12:50 PM   #11
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 300

Rep: Reputation: 37
I actually do have 3 systems, and will be editing my first post to include the results from them, but the first 3 times were all done on the same hardware with 3 different distros. I wanted to benchmark Kubuntu 32-bit vs Kubuntu 64-bit and Kubuntu vs Arch Linux. Not surprisingly, Arch is faster than Kubuntu, but surprisingly the 64-bit processing time isn't all that much faster than the 32-bit.
 
Old 10-26-2007, 05:46 PM   #12
docalton
Member
 
Registered: Dec 2002
Location: St Louis, MO
Distribution: Arch Linux
Posts: 99

Rep: Reputation: 15
This is from a P4 Prescott 3.2Ghz machine.

time echo "scale=5000; 4*a(1)" | bc -l;echo `egrep "name|MHz" /proc/cpuinfo;egrep "MemT" /proc/meminfo`

real 0m46.537s
user 0m46.539s
sys 0m0.004s
model name : Intel(R) Pentium(R) 4 CPU 3.20GHz cpu MHz : 3198.603 model name : Intel(R) Pentium(R) 4 CPU 3.20GHz cpu MHz : 3198.603 MemTotal: 2076460 kB

Quite an interesting thread.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Speed Test software? blkcamarozr28 Linux - Networking 4 09-15-2011 04:43 AM
Internet Speed test for ssh MikeyCarter Linux - Software 4 11-20-2009 12:18 AM
speed test daashag Linux - Networking 4 03-30-2006 01:29 PM
speed test Yomaoni Linux - Software 4 07-18-2005 04:33 PM
need help High speed digital test Babba General 1 02-20-2003 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS

All times are GMT -5. The time now is 08:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration