*** I found one of the ‘tweaks’ I’ve been looking for…
If you have Gnome, or access to the system timer settings (various methods),
the default RTC resolution is 1ms. This fires off the kernel to reschedule ever 1 ms, but the kernel is by default 10ms accuracy (as is all Linux/Unix)
I dropped the RTC to 10ms resolution to match (since HZ=100 in the 2.6.8-1.521 default kernel) since BOINC and CPDN do not need 1ms real-time accuracy.
The result is a) few context switches per sec and more time doing work… b) 10x fewer rescheduler runs/interrupts… context switches now in the ~30-90 range (i’ve seen as low as 17) …and properly… on demand as needed c) CPDN perf time per TS decreased ( ~.80 sec vs ~1.0). The ‘DLT’ value used to be 1.0/1.1.
Not a huge increase… but between the kernel rev and drop in interrupts/sec, more time is spent in the apps.
here is small snapshot of CPDN. I will see what I can grab for Seti as it runs as well and report.
2ymd_000159575 - PH 1 TS 006314 - 12/04/1811 13:00 - H:M:S=0003:33:50 AVG= 2.03 DLT= 7.71
2ymd_000159575 - PH 1 TS 006315 - 12/04/1811 13:30 - H:M:S=0003:33:51 AVG= 2.03 DLT= 1.29
2ymd_000159575 - PH 1 TS 006316 - 12/04/1811 14:00 - H:M:S=0003:33:52 AVG= 2.03 DLT= 0.77
2ymd_000159575 - PH 1 TS 006317 - 12/04/1811 14:30 - H:M:S=0003:33:52 AVG= 2.03 DLT= 0.70
2ymd_000159575 - PH 1 TS 006318 - 12/04/1811 15:00 - H:M:S=0003:33:53 AVG= 2.03 DLT= 0.78
2ymd_000159575 - PH 1 TS 006319 - 12/04/1811 15:30 - H:M:S=0003:33:54 AVG= 2.03 DLT= 1.44
2ymd_000159575 - PH 1 TS 006320 - 12/04/1811 16:00 - H:M:S=0003:34:02 AVG= 2.03 DLT= 7.10
2ymd_000159575 - PH 1 TS 006321 - 12/04/1811 16:30 - H:M:S=0003:34:02 AVG= 2.03 DLT= 0.78
here’s the funny part… F@H is also running… observe.
top - 23:46:47 up 18:48, 1 user, load average: 2.02, 2.03, 2.00
Tasks: 56 total, 4 running, 52 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3% us, 0.0% sy, 99.7% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 1026816k total, 742012k used, 284804k free, 67716k buffers
Swap: 2047744k total, 0k used, 2047744k free, 477084k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
29709 clasher 30 5 53648 45m 7084 R 88.5 4.5 101:56.11 hadsm3um_4.04_i
2718 clasher 39 19 70712 10m 2112 R 11.2 1.1 884:12.54 FahCore_65.exe
30253 clasher 16 0 36248 2396 34m R 0.0 0.2 0:00.07 sshd
7348 clasher 16 0 5936 964 5708 R 0.0 0.1 0:00.06 top