![]() |
![]() |
#1 |
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
![]()
Hi all,
I've noticed that ever since I upgraded to Ubuntu 8.04 beta (from 7.10) last night, both sr2sieve and LLR (the two prime-search apps I'm running at the time) are running at about half their previous speed. For example, whereas before I got more than a million p/sec with sr2sieve on a given sieve, now I'm getting about 668,000 p/sec. I was wondering if some of this might have to do with the scheduler "improvements" added to the Linux kernel that are being included in 8.04, so I booted by system using the slightly older kernel available on the GRUB menu (which, as far as I know, doesn't have the scheduler "improvements" in it)--and, oddly enough, it didn't fix the problem. Has anyone else seen this? I at first thought that it might be dust in the CPU fan, but then I noticed that the slowup coincided exactly with my Ubuntu upgrade, so my hunch is that it's tied to that. Last fiddled with by mdettweiler on 2008-04-02 at 18:03 Reason: typo |
![]() |
![]() |
![]() |
#2 |
(loop (#_fork))
Feb 2006
Cambridge, England
33×239 Posts |
![]()
My guess is that you're running the jobs at less than full priority, and Ubuntu runs the CPU at minimum clock if only lower-priority jobs are running.
Put some CPU Frequency Scaling Monitors in your panel, and set the mode to 'performance', and your CPU will run at full clock 24/7 |
![]() |
![]() |
![]() |
#3 | |
A Sunny Moo
Aug 2007
USA (GMT-5)
186916 Posts |
![]() Quote:
![]() One quick question, though: where is the setting that I need to change so that it runs in "Performance" mode? |
|
![]() |
![]() |
![]() |
#4 | |
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
![]() Quote:
![]() ![]() Thanks, fivemack, for pointing that out to me! Now both sr2sieve and LLR are operating at more "normal" rates. ![]() |
|
![]() |
![]() |
![]() |
#5 |
"Richard B. Woods"
Aug 2002
Wisconsin USA
170148 Posts |
![]()
Should this advice be added to readme.txt, in a Linux section?
|
![]() |
![]() |
![]() |
#6 |
A Sunny Moo
Aug 2007
USA (GMT-5)
141518 Posts |
![]()
Well, I don't know if it has to do with any other distributions than Ubuntu 8.04--and remember, 8.04 is still in beta, so this might very well be fixed in time for the release. So, it might not yet warrant being put into readme.txt.
|
![]() |
![]() |
![]() |
#7 | |
"Richard B. Woods"
Aug 2002
Wisconsin USA
22×3×641 Posts |
![]() Quote:
If after an OS upgrade you find that your prime-search apps are running markedly slower, try the following steps that may help: 1. ~~~ 2. ~~~ |
|
![]() |
![]() |
![]() |
#8 | |
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#9 |
Mar 2003
New Zealand
13×89 Posts |
![]()
This `turn down the CPU speed when all active programs are running at low priority' feature will probably find its way into other operating systems too.
Does anyone know the minimum priority level a program can run at without this feature being activated? |
![]() |
![]() |
![]() |
#10 | |
A Sunny Moo
Aug 2007
USA (GMT-5)
3·2,083 Posts |
![]() Quote:
![]() Last fiddled with by mdettweiler on 2008-04-04 at 03:35 |
|
![]() |
![]() |
![]() |
#11 |
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
![]()
After the reboot, I still found that my CPU refused to budge from 1.2Ghz at the behest of prime-searching apps, thus I had to adjust the priority using the GNOME panel applet that fivemack put me wise to.
However, a new update for "linux-ubuntu-modules-2.6.24-generic" just showed up in Update Manager this morning, maybe that will fix it. ![]() ![]() ![]() ![]() |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Prime Search at School | Unregistered | Information & Answers | 5 | 2009-10-15 22:44 |
Benson's prime search | Kosmaj | Riesel Prime Search | 67 | 2009-01-18 21:59 |
Parallel Prime Search | DonaldTripp | Software | 2 | 2007-02-17 19:35 |
Prime Search on PS-3? | Kosmaj | Riesel Prime Search | 6 | 2006-11-21 15:19 |
Why Athlon XP benchmarks much more slowly? | carltao | Software | 20 | 2003-11-21 15:20 |