Tool to Control Fan - fanctl
(06-30-2019, 08:12 PM)TheSupercomputer Wrote: EDIT: With "always on" option I got the behavior i was expected, exept for that if the minimum temp is reached ats produces an load spike pushing the temp above the minimum so the fan will speed up, slow down until near stop and spin up again.

Hello TheSupercomputer,
If you push the board at full throttle, temps could be above 50C, but that's a normal behaviour, also you can tune that in '/etc/ats.conf'.

Each time you change '/etc/ats.conf', you need to restart the service, don't forget that..

Here is a output, of mine, at full throttle..

You can see all cores are at 100%..they are like that for one year, testing ATS tool..
and there you can see the CPU Utilisation of ATS since last restart:
Code:
# ps -L -F -p 585
UID        PID  PPID   LWP  C NLWP    SZ   RSS PSR STIME TTY          TIME CMD
root       585     1   585  0    1   866  1516   2 May29 ?        00:00:28 lua /usr/local/sbin/ats

 It have 28 seconds of CPU used since that time, which translate to to approximately:
Code:
# Time of ATS Process( 28 seconds, running for 33 days )
~# ps -L -F -p 585
UID        PID  PPID   LWP  C NLWP    SZ   RSS PSR STIME TTY          TIME CMD
root       585     1   585  0    1   866  1516   2 May29 ?        00:00:28 lua /usr/local/sbin/ats

# Usage per each CPU Second Time( 1 second = 1000000 microseconds ):
~# bc -l <<<'28/(33*24*3600)'
.00000982042648709315 ( ~ 9.82042648709315 microseconds )

# Normalised usage in %( 1000000 microseconds = 100 % ):
~# bc -l <<<'(9.82042648709315/1000000)*100'
.00098204264870931500
So ATS is using ~ 0.00098%, or roughly ~0.001% CPU Time..
 
I haven't detected that spikes ever( you could have a increase if you are in test mode, because it needs to pint out information, and such.. but in daemon mode that shouldn't happen.. ).

My Suggestion, is to stop ATS( do it several times..like bellow ), reload units and then start it again...it could be that a previous unit is trying to restart a service that doesn't exist any more( this situation I have already experienced.. )

Code:
systemctl stop ats;sleep 2;
systemctl stop ats;sleep 2;
systemctl stop ats;sleep 2;
systemctl stop ats;sleep 2;
systemctl stop ats;sleep 2;
systemctl stop ats;sleep 2;
systemctl daemon-reload;
systemctl start ats;

Then check if everything is ok, and no more spikes..  Shy

Best Regards,
  Reply


Messages In This Thread
Tool to Control Fan - fanctl - by tuxd3v - 09-01-2018, 07:52 PM
RE: Tool to Control Fan - fanctl - by tllim - 09-02-2018, 11:56 PM
RE: Tool to Control Fan - fanctl - by whitehat - 09-03-2018, 12:34 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-04-2018, 08:15 AM
RE: Tool to Control Fan - fanctl - by whitehat - 09-04-2018, 06:14 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-04-2018, 07:28 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-04-2018, 06:29 AM
RE: Tool to Control Fan - fanctl - by romtorwator - 09-07-2018, 03:45 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-08-2018, 09:10 AM
RE: Tool to Control Fan - fanctl - by rookieone - 09-07-2018, 10:53 AM
RE: Tool to Control Fan - fanctl - by amator_1 - 09-08-2018, 04:36 AM
RE: Tool to Control Fan - fanctl - by amator_1 - 09-08-2018, 10:45 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-13-2018, 02:45 PM
RE: Tool to Control Fan - fanctl - by romtorwator - 09-13-2018, 06:57 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-14-2018, 05:26 PM
RE: Tool to Control Fan - fanctl - by romtorwator - 09-15-2018, 04:03 AM
RE: Tool to Control Fan - fanctl - by amator_1 - 09-15-2018, 02:13 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-15-2018, 04:05 PM
RE: Tool to Control Fan - fanctl - by amator_1 - 09-21-2018, 01:54 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-21-2018, 09:26 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-20-2018, 11:26 AM
RE: Tool to Control Fan - fanctl - by romtorwator - 09-19-2018, 10:42 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-19-2018, 04:44 PM
RE: Tool to Control Fan - fanctl - by romtorwator - 09-19-2018, 09:27 PM
RE: Tool to Control Fan - fanctl - by romtorwator - 09-21-2018, 09:43 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 09-21-2018, 01:54 PM
RE: Tool to Control Fan - fanctl - by amator_1 - 09-22-2018, 03:27 AM
RE: Tool to Control Fan - fanctl - by romtorwator - 09-22-2018, 03:44 AM
RE: Tool to Control Fan - fanctl - by amator_1 - 09-22-2018, 05:02 AM
RE: Tool to Control Fan - fanctl - by amator_1 - 09-22-2018, 10:56 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-03-2018, 06:23 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-09-2018, 11:45 AM
RE: Tool to Control Fan - fanctl - by amator_1 - 10-10-2018, 03:13 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-11-2018, 06:34 PM
RE: Tool to Control Fan - fanctl - by dkebler - 10-14-2018, 11:36 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-15-2018, 05:38 AM
RE: Tool to Control Fan - fanctl - by dkebler - 10-15-2018, 03:37 PM
RE: Tool to Control Fan - fanctl - by y0sh - 10-18-2018, 01:27 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-18-2018, 03:43 PM
RE: Tool to Control Fan - fanctl - by y0sh - 10-19-2018, 04:34 PM
RE: Tool to Control Fan - fanctl - by O1Hitman1O - 10-21-2018, 02:06 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-21-2018, 07:39 PM
RE: Tool to Control Fan - fanctl - by O1Hitman1O - 10-22-2018, 12:53 AM
RE: Tool to Control Fan - fanctl - by O1Hitman1O - 10-22-2018, 01:18 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-22-2018, 06:08 AM
RE: Tool to Control Fan - fanctl - by O1Hitman1O - 10-22-2018, 08:32 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-22-2018, 10:23 AM
RE: Tool to Control Fan - fanctl - by O1Hitman1O - 10-22-2018, 03:29 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-22-2018, 04:07 PM
RE: Tool to Control Fan - fanctl - by O1Hitman1O - 10-22-2018, 09:10 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-22-2018, 11:12 PM
RE: Tool to Control Fan - fanctl - by O1Hitman1O - 10-23-2018, 12:38 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-23-2018, 12:26 PM
RE: Tool to Control Fan - fanctl - by Girbur - 11-10-2018, 02:46 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-10-2018, 08:44 PM
RE: Tool to Control Fan - fanctl - by Girbur - 11-10-2018, 11:39 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-11-2018, 10:26 AM
RE: Tool to Control Fan - fanctl - by dreadbv - 11-10-2018, 03:32 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-10-2018, 09:37 AM
RE: Tool to Control Fan - fanctl - by dreadbv - 11-11-2018, 02:02 AM
RE: Tool to Control Fan - fanctl - by dreadbv - 11-11-2018, 02:10 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-11-2018, 11:28 AM
RE: Tool to Control Fan - fanctl - by dreadbv - 11-12-2018, 01:57 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-12-2018, 07:33 PM
RE: Tool to Control Fan - fanctl - by dreadbv - 11-13-2018, 09:47 AM
RE: Tool to Control Fan - fanctl - by Girbur - 11-13-2018, 11:30 AM
RE: Tool to Control Fan - fanctl - by stFfn - 11-13-2018, 03:26 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-13-2018, 10:39 PM
RE: Tool to Control Fan - fanctl - by Girbur - 11-14-2018, 05:46 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-14-2018, 10:41 PM
RE: Tool to Control Fan - fanctl - by romtorwator - 11-13-2018, 05:42 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-14-2018, 11:20 AM
RE: Tool to Control Fan - fanctl - by stFfn - 11-14-2018, 12:50 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-14-2018, 06:24 PM
RE: Tool to Control Fan - fanctl - by stFfn - 11-15-2018, 04:41 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-15-2018, 08:42 AM
RE: Tool to Control Fan - fanctl - by Girbur - 11-17-2018, 11:52 PM
RE: Tool to Control Fan - fanctl - by Raikiri1316 - 11-14-2018, 09:51 PM
RE: Tool to Control Fan - fanctl - by stFfn - 11-15-2018, 10:19 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-15-2018, 11:39 AM
RE: Tool to Control Fan - fanctl - by stFfn - 11-15-2018, 01:39 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-15-2018, 03:38 PM
RE: Tool to Control Fan - fanctl - by stFfn - 11-15-2018, 05:02 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-18-2018, 10:36 AM
RE: Tool to Control Fan - fanctl - by Girbur - 11-18-2018, 01:14 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-18-2018, 01:57 PM
RE: Tool to Control Fan - fanctl - by Girbur - 11-18-2018, 01:59 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-19-2018, 03:28 PM
RE: Tool to Control Fan - fanctl - by stFfn - 11-21-2018, 01:32 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-21-2018, 05:18 PM
RE: Tool to Control Fan - fanctl - by stFfn - 11-21-2018, 05:28 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-21-2018, 07:03 PM
RE: Tool to Control Fan - fanctl - by stFfn - 11-17-2018, 07:44 AM
RE: Tool to Control Fan - fanctl - by Drago - 11-20-2018, 11:17 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-20-2018, 03:26 PM
RE: Tool to Control Fan - fanctl - by Drago - 11-20-2018, 03:31 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-20-2018, 06:42 PM
RE: Tool to Control Fan - fanctl - by Drago - 11-20-2018, 08:00 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-20-2018, 09:10 PM
RE: Tool to Control Fan - fanctl - by Drago - 11-20-2018, 09:19 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-21-2018, 10:39 AM
RE: Tool to Control Fan - fanctl - by Drago - 11-21-2018, 10:43 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 11-22-2018, 08:20 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-06-2018, 08:16 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-12-2018, 09:27 AM
RE: Tool to Control Fan - fanctl - by stFfn - 12-21-2018, 06:16 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-22-2018, 06:36 AM
RE: Tool to Control Fan - fanctl - by stFfn - 12-22-2018, 01:58 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-22-2018, 03:52 PM
RE: Tool to Control Fan - fanctl - by stFfn - 12-23-2018, 08:37 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-25-2018, 07:45 AM
RE: Tool to Control Fan - fanctl - by stFfn - 12-25-2018, 11:10 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-25-2018, 01:00 PM
RE: Tool to Control Fan - fanctl - by stFfn - 12-25-2018, 01:52 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-25-2018, 02:09 PM
RE: Tool to Control Fan - fanctl - by stFfn - 12-25-2018, 02:26 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-25-2018, 05:38 PM
RE: Tool to Control Fan - fanctl - by stFfn - 12-25-2018, 05:59 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-25-2018, 09:29 PM
RE: Tool to Control Fan - fanctl - by stFfn - 12-26-2018, 03:33 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 12-26-2018, 05:46 AM
RE: Tool to Control Fan - fanctl - by stFfn - 12-26-2018, 05:56 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 01-03-2019, 06:26 AM
RE: Tool to Control Fan - fanctl - by stFfn - 01-03-2019, 11:50 AM
RE: Tool to Control Fan - fanctl - by stFfn - 12-28-2018, 03:09 PM
RE: Tool to Control Fan - fanctl - by stFfn - 01-05-2019, 01:05 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 01-05-2019, 07:50 PM
RE: Tool to Control Fan - fanctl - by Luke - 04-05-2019, 09:24 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 04-05-2019, 11:35 AM
RE: Tool to Control Fan - fanctl - by Luke - 04-05-2019, 01:05 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 04-05-2019, 04:29 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 04-06-2019, 08:42 AM
RE: Tool to Control Fan - fanctl - by Luke - 04-07-2019, 03:03 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 04-22-2019, 12:16 PM
RE: Tool to Control Fan - fanctl - by Farley56 - 04-30-2019, 10:33 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 04-30-2019, 11:38 AM
RE: Tool to Control Fan - fanctl - by Farley56 - 04-30-2019, 08:42 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-01-2019, 12:48 AM
RE: Tool to Control Fan - fanctl - by Farley56 - 05-01-2019, 01:17 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-01-2019, 01:50 PM
RE: Tool to Control Fan - fanctl - by Farley56 - 05-01-2019, 07:18 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-01-2019, 08:54 PM
RE: Tool to Control Fan - fanctl - by Farley56 - 05-02-2019, 07:44 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-03-2019, 10:26 AM
RE: Tool to Control Fan - fanctl - by Farley56 - 05-06-2019, 02:18 PM
RE: Tool to Control Fan - fanctl - by Luke - 05-08-2019, 02:56 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-17-2019, 05:34 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-18-2019, 03:57 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-18-2019, 09:26 PM
RE: Tool to Control Fan - fanctl - by tikonen - 05-20-2019, 05:07 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-20-2019, 09:11 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-20-2019, 03:47 PM
RE: Tool to Control Fan - fanctl - by tikonen - 05-22-2019, 12:44 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-23-2019, 02:00 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-24-2019, 09:17 AM
RE: Tool to Control Fan - fanctl - by tikonen - 05-27-2019, 05:24 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 05-30-2019, 02:22 PM
RE: Tool to Control Fan - fanctl - by tikonen - 06-03-2019, 04:12 AM
RE: Tool to Control Fan - fanctl - by tikonen - 06-06-2019, 01:10 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 06-30-2019, 11:07 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 06-30-2019, 05:27 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 07-01-2019, 08:47 AM
RE: Tool to Control Fan - fanctl - by kromsam - 07-01-2019, 08:28 AM
RE: Tool to Control Fan - fanctl - by kromsam - 07-03-2019, 09:43 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 07-02-2019, 06:24 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 07-02-2019, 06:14 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 07-08-2019, 08:21 PM
RE: Tool to Control Fan - fanctl - by g_t_j - 08-01-2019, 08:13 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 08-01-2019, 09:02 AM
RE: Tool to Control Fan - fanctl - by g_t_j - 08-01-2019, 04:09 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 08-01-2019, 05:57 PM
RE: Tool to Control Fan - fanctl - by g_t_j - 08-01-2019, 06:37 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 08-02-2019, 03:44 AM
RE: Tool to Control Fan - fanctl - by g_t_j - 08-02-2019, 06:49 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 08-02-2019, 08:52 AM
RE: Tool to Control Fan - fanctl - by g_t_j - 08-02-2019, 09:16 AM
RE: Tool to Control Fan - fanctl - by tuxd3v - 08-02-2019, 09:51 AM
RE: Tool to Control Fan - fanctl - by g_t_j - 08-02-2019, 02:09 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 08-02-2019, 04:34 PM
RE: Tool to Control Fan - fanctl - by tuxd3v - 10-05-2019, 08:04 AM
RE: Tool to Control Fan - fanctl - by Neo2018 - 02-24-2021, 01:42 PM
RE: Tool to Control Fan - fanctl - by Neo2018 - 04-05-2021, 02:02 AM
RE: Tool to Control Fan - fanctl - by kuleszdl - 03-07-2021, 07:19 AM
RE: Tool to Control Fan - fanctl - by Neo2018 - 03-14-2021, 01:56 AM
RE: Tool to Control Fan - fanctl - by kuleszdl - 03-14-2021, 05:38 PM
RE: Tool to Control Fan - fanctl - by Neo2018 - 03-15-2021, 03:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PWM Fan Control Python Script superbox 0 1,647 02-04-2022, 10:02 PM
Last Post: superbox

Forum Jump:


Users browsing this thread: 6 Guest(s)