![]() |
![]() |
#1 |
Sep 2020
22·3 Posts |
![]() Code:
4427 phma 30 10 1091452 424224 4984 S 430.9 1.3 93463:58 mprime 28163 phma 20 0 3588756 1.8g 80440 R 412.6 5.7 206:19.02 perfecttin-gui When I'm running PerfectTIN, I'd like it to take nearly all of the CPU. I've seen it take 80 to 98% of the CPU without mprime running. (It has a lock contention bottleneck, so when it's adding triangles as fast as possible, the CPU usage goes down a bit.) How can I make mprime take less CPU when other high-CPU programs are running? |
![]() |
![]() |
![]() |
#2 |
"Composite as Heck"
Oct 2017
761 Posts |
![]()
nice works with values from -20 to 19, you could try running mprime with niceness of 19 and PerfectTIN with niceness -20.
|
![]() |
![]() |
![]() |
#3 | |
Undefined
"The unspeakable one"
Jun 2006
My evil lair
35·52 Posts |
![]() Quote:
The problem you see isn't with nice values, but the OS scheduler. Windows will do a better job of scheduling within the priorities given, but I wouldn't recommend changing to that. |
|
![]() |
![]() |
![]() |
#4 | |
Aug 2020
11410 Posts |
![]() Quote:
Last fiddled with by Ensigm on 2020-11-02 at 11:43 |
|
![]() |
![]() |
![]() |
#5 |
Aug 2020
11100102 Posts |
![]()
For more detailed information, check undoc.txt.
|
![]() |
![]() |
![]() |
#6 |
"/X\(‘-‘)/X\"
Jan 2013
292910 Posts |
![]() |
![]() |
![]() |
![]() |
#7 | |
"/X\(‘-‘)/X\"
Jan 2013
29·101 Posts |
![]() Quote:
There was some recent work by Facebook on fixing sched-idle in the CFS scheduler, but I don't know if it's made it into mainline kernels. You might have better performance using a different scheduler like MuQSS or BFS, but that's really only something you should get into if you're comfortable changing kernels and so on. |
|
![]() |
![]() |
![]() |
#8 |
"Composite as Heck"
Oct 2017
761 Posts |
![]() |
![]() |
![]() |
![]() |
#9 |
"Mike"
Aug 2002
79·101 Posts |
![]()
With the weird way that a negative nice value is "positive" it is real easy to accidentally give a process the wrong value.
As for the computer becoming unresponsive? Yep! ![]() |
![]() |
![]() |
![]() |
#10 |
"/X\(‘-‘)/X\"
Jan 2013
1011011100012 Posts |
![]()
Yeah, remember negative numbers are less nice than normal, not more nice. The semantic is backwards.
|
![]() |
![]() |
![]() |
#11 | ||
Sep 2020
22×3 Posts |
![]() Quote:
That would keep mprime stopped as long as PerfectTIN was running, even after it had finished processing. Quote:
|
||
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Nice-to-have's | kar_bon | Prime Wiki | 1 | 2019-02-26 09:57 |
Nice progress! | schickel | FactorDB | 29 | 2012-07-18 17:03 |
Nice pic | Dubslow | Forum Feedback | 0 | 2012-05-02 02:13 |
Let's do another nice big GNFS job! | fivemack | Factoring | 84 | 2011-04-26 10:22 |
Nice link... | Xyzzy | Lounge | 4 | 2003-06-28 13:37 |