Detecting Idle
Moderators: Site Moderators, FAHC Science Team
-
- Posts: 9
- Joined: Sun Mar 15, 2020 9:51 pm
Detecting Idle
I run FAH on Arch Linux and when I change the folding mode to "On Idle", by right clicking on a "Folding Slots" entry in FAHControl, it pauses but never restarts folding. Any suggestions on how I might debug this or what I've done wrong?
-
- Posts: 1094
- Joined: Wed Nov 05, 2008 3:19 pm
- Location: Cambridge, UK
Re: Detecting Idle
The act of looking to see if it's folding means the computer is not idle. Try leaving it for 15 minutes minimum and see if it makes progress while the computer is genuinely idle.
-
- Posts: 9
- Joined: Sun Mar 15, 2020 9:51 pm
Re: Detecting Idle
After changing both the CPU and GPU to "On idle" I left the room for 30minutes
and when I came back and the computer had "locked" itself and I had to sign in.
On the FAHControl was still running, of course, and the Staus tabe said
both the CPU and GPU were "Paused:waiting for idle". So I went to the log
tab and the most recent data in the log was below. So it never started folding
and I had to press "Fold" to get it going again.
and when I came back and the computer had "locked" itself and I had to sign in.
On the FAHControl was still running, of course, and the Staus tabe said
both the CPU and GPU were "Paused:waiting for idle". So I went to the log
tab and the most recent data in the log was below. So it never started folding
and I had to press "Fold" to get it going again.
Code: Select all
...
19:25:20:FS00:Shutting core down
19:25:20:WU02:FS00:0xa7:Caught signal SIGINT(2) on PID 49974
19:25:20:WU02:FS00:0xa7:Exiting, please wait. . .
19:25:20:WU02:FS00:0xa7:Folding@home Core Shutdown: INTERRUPTED
19:25:20:WU02:FS00:FahCore returned: INTERRUPTED (102 = 0x66)
19:26:20:Removing old file 'configs/config-20200330-154644.xml'
19:26:20:Saving configuration to /home/wink/opt/fah/config.xml
19:26:20:<config>
19:26:20: <!-- Logging -->
19:26:20: <verbosity v='5'/>
19:26:20:
19:26:20: <!-- Network -->
19:26:20: <proxy v=':8080'/>
19:26:20:
19:26:20: <!-- Slot Control -->
19:26:20: <power v='MEDIUM'/>
19:26:20:
19:26:20: <!-- User Information -->
19:26:20: <passkey v='********************************'/>
19:26:20: <user v='winksaville'/>
19:26:20:
19:26:20: <!-- Folding Slots -->
19:26:20: <slot id='1' type='GPU'>
19:26:20: <idle v='true'/>
19:26:20: </slot>
19:26:20: <slot id='0' type='CPU'>
19:26:20: <cpus v='4'/>
19:26:20: <idle v='true'/>
19:26:20: </slot>
19:26:20:</config>
-
- Posts: 8
- Joined: Sat Apr 04, 2020 10:38 am
- Hardware configuration: 64 bit 8 core AMD FX-8320 processor,
16GB RAM,
NVIDIA GeForce GTX 750 Ti GPU with 2GB RAM,
Asus M5A99FX Pro R2.0 motherboard,
Linux Mint 20, Kernel 5.4.0
Client 7.6.13
Re: Detecting Idle
I seem to have exactly the same problem.
My system is Linux Mint Cinnamon 19.1. Having Googled this problem and searched the forums, this appears to have been affecting Linux system for years and has never been solved.
I have tried various things, including installing xscreensaver and associated utilities, rebooting my system and fiddling with screensaver and power saving timeouts. I have been using BOINC up until a few days ago and that successfully detects when the system is idle.
I would dearly love to use FAH because I would like to think I'm doing something to contribute to the effort for Coronavirus. However, without 'On Idle' working, my system is almost unusably sluggish when running FAH.
My question is this: Is anyone running a Linux system with FAH 7.5.1, 'On Idle' set and it working properly? That is, the FAH slots change status to 'Paused:waiting for idle' when the system is being used and return to 'Running' after a certain period of inactivity. Knowing that it works properly on some Linux systems would at least be a start.
My system is Linux Mint Cinnamon 19.1. Having Googled this problem and searched the forums, this appears to have been affecting Linux system for years and has never been solved.
I have tried various things, including installing xscreensaver and associated utilities, rebooting my system and fiddling with screensaver and power saving timeouts. I have been using BOINC up until a few days ago and that successfully detects when the system is idle.
I would dearly love to use FAH because I would like to think I'm doing something to contribute to the effort for Coronavirus. However, without 'On Idle' working, my system is almost unusably sluggish when running FAH.
My question is this: Is anyone running a Linux system with FAH 7.5.1, 'On Idle' set and it working properly? That is, the FAH slots change status to 'Paused:waiting for idle' when the system is being used and return to 'Running' after a certain period of inactivity. Knowing that it works properly on some Linux systems would at least be a start.
-
- Posts: 4
- Joined: Thu Mar 19, 2020 3:29 am
Re: Detecting Idle
Nice to know I'm not the only one having issues. Mint 19.3 XFCE. At least Rosetta@home on BOINC works on idle with my CPU. I'll just start manually turning F@H on when I plan to leave my pc idle for a while...Peter Leslie Goulden wrote:I seem to have exactly the same problem.
My system is Linux Mint Cinnamon 19.1. Having Googled this problem and searched the forums, this appears to have been affecting Linux system for years and has never been solved.
I have tried various things, including installing xscreensaver and associated utilities, rebooting my system and fiddling with screensaver and power saving timeouts. I have been using BOINC up until a few days ago and that successfully detects when the system is idle.
Re: Detecting Idle
You might try to use the Web Control. It turns its status ball to orange when the client is paused or idle because it is not getting a WU. Pressing the ball and clicking will cause it to resume folding usually. See: client.foldingathome.org if interested in trying this as a workaround.
I could not get fahcontrol to work, but the web control works a treat. At a guess folks at admin level are experimenting with web control to eventually replace fahcontrol.
I could not get fahcontrol to work, but the web control works a treat. At a guess folks at admin level are experimenting with web control to eventually replace fahcontrol.
-
- Posts: 1094
- Joined: Wed Nov 05, 2008 3:19 pm
- Location: Cambridge, UK
Re: Detecting Idle
It does depend a bit on your OS. Web control is intended to be simple while giving the basic information and control.
fahcontol (aka Advanced Control) is far more comprehensive.
fahcontol (aka Advanced Control) is far more comprehensive.
-
- Posts: 9
- Joined: Sun Mar 15, 2020 9:51 pm
Re: Detecting Idle
I wish the complete source code for foldingtathome.service was available, AFAICT it isn't. If it was, I'm sure the community could fix this issue quickly. I for one would like to help.
Re: Detecting Idle
WebClient sources are available here: https://github.com/FoldingAtHome/fah-web-clientwinksaville wrote:I wish the complete source code for foldingtathome.service was available, AFAICT it isn't. If it was, I'm sure the community could fix this issue quickly. I for one would like to help.
CPU: Ryzen 9 3900X (1x21 CPUs) ~ GPU: nVidia GeForce GTX 1660 Super (Asus)
-
- Posts: 9
- Joined: Sun Mar 15, 2020 9:51 pm
Re: Detecting Idle
Thanks @Uyaem, but the problem appears to be in foldingathome.server.
Re: Detecting Idle
If you want to help
https://twitter.com/foldingathome/statu ... 3412453378
https://twitter.com/foldingathome/statu ... 3412453378
Interested in helping us develop and enhance the F@h architecture? Come join the development team at our F@h Fireside Chat on Thursday, April 9th, 4-5pm EDT! To receive a Discord invite link, fill out this form: https://tinyurl.com/firesidedev
-
- Posts: 8
- Joined: Sat Apr 04, 2020 10:38 am
- Hardware configuration: 64 bit 8 core AMD FX-8320 processor,
16GB RAM,
NVIDIA GeForce GTX 750 Ti GPU with 2GB RAM,
Asus M5A99FX Pro R2.0 motherboard,
Linux Mint 20, Kernel 5.4.0
Client 7.6.13
Re: Detecting Idle
It's been over two weeks since I asked if idle detection actually works on any Linux systems at all and there have been no affirmative responses. I think it's probably safe to take it that it doesn't work at this point. Does anyone know how to go about submitting a bug report?
Tohya, thanks for your suggestion. I'm not sure if this should be considered an architectural development issue. Did anybody join the chat and, if so, was there anything interesting to report in this specific area (idle detection in Linux)?
Tohya, thanks for your suggestion. I'm not sure if this should be considered an architectural development issue. Did anybody join the chat and, if so, was there anything interesting to report in this specific area (idle detection in Linux)?
-
- Posts: 1996
- Joined: Sun Mar 22, 2020 5:52 pm
- Hardware configuration: 1: 2x Xeon E5-2697v3@2.60GHz, 512GB DDR4 LRDIMM, SSD Raid, Win10 Ent 20H2, Quadro K420 1GB, FAH 7.6.21
2: Xeon E3-1505Mv5@2.80GHz, 32GB DDR4, NVME, Win10 Pro 20H2, Quadro M1000M 2GB, FAH 7.6.21 (actually have two of these)
3: i7-960@3.20GHz, 12GB DDR3, SSD, Win10 Pro 20H2, GTX 750Ti 2GB, GTX 1080Ti 11GB, FAH 7.6.21 - Location: UK
Re: Detecting Idle
If your Linux OS system is reporting that it is idle then the FAH idle detection should work as FAH relies on the OS reporting this status. In windows that is easy as it means simply setting the screensaver to blank and a short time period (screensaver kicks in on idle and FAH folds. On Linux systems I believe it is very much more complicated by the number of desktop GUIs and screensavers and how they all work in slightly different ways … Unless the OS is reporting idle then FAH may struggle to fold "On Idle".
I believe issues can be reported via GitHub as per this thread viewtopic.php?f=106&t=34531&p=327534&hi ... ub#p327534.
I believe issues can be reported via GitHub as per this thread viewtopic.php?f=106&t=34531&p=327534&hi ... ub#p327534.
2x Xeon E5-2697v3, 512GB DDR4 LRDIMM, SSD Raid, W10-Ent, Quadro K420
Xeon E3-1505Mv5, 32GB DDR4, NVME, W10-Pro, Quadro M1000M
i7-960, 12GB DDR3, SSD, W10-Pro, GTX1080Ti
i9-10850K, 64GB DDR4, NVME, W11-Pro, RTX3070
(Green/Bold = Active)
Xeon E3-1505Mv5, 32GB DDR4, NVME, W10-Pro, Quadro M1000M
i7-960, 12GB DDR3, SSD, W10-Pro, GTX1080Ti
i9-10850K, 64GB DDR4, NVME, W11-Pro, RTX3070
(Green/Bold = Active)
-
- Posts: 9
- Joined: Sun Mar 15, 2020 9:51 pm
Re: Detecting Idle
@Neil-B, Thanks for the information. From what I know about linux there are usually multiple ways to do any particular operation, do you know what "signal" the foldingathome.service is looking for?