Register FAQ Search Today's Posts Mark Forums Read

 2008-11-01, 18:22 #1 rudi_m     Jul 2005 2×7×13 Posts v25.7 linux: MaxLoad/MinLoad Hi, On v24 I always used such settings like MaxLoad=3.9 MinLoad=2.2 PauseTime=5 to make my servers more responible under heavy load. With v25.7 it still suspends the worker threads when MaxLoad is reached but they never wake up again. It would be nice to fix that again. Since 25.7 is multithreaded it could be even more comfortable as in past (not suspending all worker threads on MaxLoad but just as many to hold the load down). BTW1 While workers are suspended the signal handling does not work properly (SIGTERM does not work in this case). BTW2 In 25.7 the worker threads are still niced 19 by default but the main thread is not. Its not a real problem but I (admin) have more work to explain the thing to concerned users who don't understand the whole thing if they see such processes on their machines: Code:  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3673 rudi 18 0 335m 195m 2220 S 399 0.6 1513:34 mprime So maybe completely nice 19 again would be a good Idea - but not really important. Last fiddled with by rudi_m on 2008-11-01 at 18:24
2008-11-02, 08:32   #2
gbvalor

Aug 2002

11011112 Posts

Quote:
 With v25.7 it still suspends the worker threads when MaxLoad is reached but they never wake up again.

Of course it would be nice to fix it.

Guillermo

 2008-11-05, 16:31 #3 garo     Aug 2002 Termonfeckin, IE 5·7·79 Posts nice in v25.7 doesn't work well. If you use the Linux commandline to assign a nice or renice value it only gets assigned to the main thread and not to the worker threads. If anything, the nice value should only apply to the worker threads and not the main/comm thread. The way to get around this is to look for individual threads usig ps -eFly (I think) and renice them instead of the main process. Sorry for the OT post but this may be related to mprime linux behaviour and why Max/MinLoad does not work.
 2008-11-05, 19:39 #4 Prime95 P90 years forever!     Aug 2002 Yeehaw, FL 1E6016 Posts The priority setting in the prime.txt file should affect the worker threads - just like Windows.
 2008-11-06, 21:45 #5 garo     Aug 2002 Termonfeckin, IE 53158 Posts Perhaps instead of saying nice doesn't work well I should have said it doesn;t work the way it used to in v24. In a multi-threaded application the way v25 works is probably correct.

 Similar Threads Thread Thread Starter Forum Replies Last Post fivemack GPU Computing 1 2015-12-11 03:28 kracker GPU Computing 3 2012-08-17 21:57 henryzz Linux 15 2008-06-29 12:30 fes016 Software 1 2007-10-29 01:50 Drooling_Sheep Software 8 2003-11-22 05:50

All times are UTC. The time now is 00:33.

Fri Jan 28 00:33:44 UTC 2022 up 188 days, 19:02, 3 users, load averages: 1.04, 1.28, 1.32