![]() |
|
|
#1 |
|
Aug 2007
22 Posts |
Hi,
I installed Ubuntu 7.04 just couple of weeks ago. Until then I used Windows XP pro edition. I have noticed that in windows, Prime95 took 0.071 ms per Iteration, while mprime takes about 0.120 ms per Iteration on Ubuntu 7.04, on the same computer. No other modifications has been made in it. The times refer to when the computer is idle. Does anybody know what's the cause for this much slower calculation time? Is there any way I could improve that? Thanks in advanced. |
|
|
|
|
|
#2 |
|
Sep 2002
Database er0rr
5×937 Posts |
Was the same Mersenne number being tested? (Don't post it.)
What was the version number of mprime and of Prime95? On typing "top" is mprime using 99-100% of the processor? ("q" to quit.) Is your computer a multi-core one or one that has hyperthreading? Last fiddled with by paulunderwood on 2007-08-29 at 14:28 |
|
|
|
|
|
#3 |
|
Aug 2007
22 Posts |
1) The mersenne numbers are not the same. The one I test with mprime is bigger than the numbers I tested with Prime95.
2) Both are version 2414. 3) No, it uses about 35-49% of the CPU. 4) My CPU is Pentuim 4, one core. Thanks. |
|
|
|
|
|
#4 | |
|
Sep 2002
Database er0rr
5×937 Posts |
Quote:
Running mprime under linux or prime95 under windows should not make much difference. 49% usage indicates your machine is a hyperthreading one. This can be switched off in BIOS. Doing this is up to you and others here might have more to say on this. Your computer is, however, now being used at "100%". This all assuming there is nothing else processor intensive under "top". ps. Beware that you will not be able to boot a SMP linux kernel when there is no hyperthreading (nor multi-core.) Last fiddled with by paulunderwood on 2007-08-29 at 15:55 |
|
|
|
|
|
|
#5 | |
|
Aug 2002
2×32×13×37 Posts |
Quote:
Single core (obviously!) Prescott P4: Code:
$ uname -a Linux p4 2.6.18-5-686 #1 SMP Sun Aug 12 21:57:02 UTC 2007 i686 GNU/Linux |
|
|
|
|
|
|
#6 | |
|
Sep 2002
Database er0rr
5·937 Posts |
Quote:
I made a mistake above; What really went wrong was that I tried to run a non-HT chip with the motherboard in HT mode and the SMP kernel panicked.I notice that Ubuntu now have a default "generic kernel". Last fiddled with by paulunderwood on 2007-08-29 at 16:41 |
|
|
|
|
|
|
#7 |
|
Aug 2007
22 Posts |
On windows, most of the numbers were between 32**** and 35****.
Now, the number I'm testing is 399****. Please note that I am not talking about the overall time to test a number, but the time it takes between Iterations. My knowledge of linux is poor, but i'll try it. Thanks. |
|
|
|
|
|
#8 |
|
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
1106710 Posts |
That looks about right.
Go to http://www.mersenne.org/bench.htm And scroll down. You will notice that the numbers that you had been testing are in the purple column, while the current number is in the green. The bigger the number the more time per iteration (based upon the FFT size). |
|
|
|
|
|
#9 |
|
Aug 2007
22 Posts |
Thanks.
|
|
|
|
|
|
#10 |
|
"Lucan"
Dec 2006
England
2×3×13×83 Posts |
Note that the "iteration" in an LLtest of 2^n-1
consists primarily of squaring a n bit number. |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Prime95 vs mprime | Sticks210 | Linux | 4 | 2014-01-03 10:26 |
| 2 of 4 cores slow down significantly when I turn main monitor off | markdjonson | Information & Answers | 9 | 2012-12-31 15:34 |
| MPrime Significantly Faster than P95 | Dubslow | Software | 8 | 2011-12-06 15:44 |
| mprime vs. prime95 | ThomRuley | Linux | 8 | 2004-08-02 17:32 |
| Prime95 runs slower after Norton AntiVirus | markhl | Software | 5 | 2003-10-20 13:39 |