Bug#721298: boinc-client: Idle Detection Not Working Computer Always In Use

Preston Maness aspensmonster at riseup.net
Fri Dec 11 15:44:29 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Howdy howdy,

I think I deserve a slow clap for such a slow response/addresssing of
a bug. Indeed my response is so slow that I've since changed email
address and GPG keys.

Needless to say, when running BOINC 7.6.12 from testing, some progress
seems to have been made on idle detection. If I open a terminal and
begin working in it, *sometimes*, the idle detection kicks in. I can't
tell whether it's working as intended or not. Regardless, keeping
boinc running non-stop doesn't pose any issues thanks to the
scheduling. I can happily use my machine for just about anything and
not even notice that BOINC is running.

I'm presently unemployed, so really, I have nothing but time and no
real excuses not to give this bug another go and see if I can just
determine once and for all if things are fixed/how to fix them :P

It looks like the BOINC project has moved from their own git
infrastructure onto github:

https://boinc.berkeley.edu/trac/wiki/SourceCodeGit

https://github.com/BOINC/boinc

Looking at the git log for hostinfo_unix.cpp (a la "git log
client/hostinfo_unix.cpp" from the project root), it looks like there
was a commit that included changes from Gianfranco:

==================

commit 0811886cbb1d282376e2dfd017ab39e34cd7d8ea
Author: David Anderson <davea at ssl.berkeley.edu>
Date:   Mon Feb 3 12:46:43 2014 -0800

    client: fix for idle detection on Linux (from Gianfranco)


==================

and some later refactoring of the unix HOSTINFO code:

==================

commit cda6bd334bf036349f471a0c4eb7c25de8098262
Author: David Anderson <davea at ssl.berkeley.edu>
Date:   Tue Nov 25 14:46:58 2014 -0800

    client: get static host info items only on startup

    On Android, the way we were getting os_version
    (Linux version + Android version)
    didn't work because get_host_info() was getting called before every
    scheduler RPC, and it overwrote the Android version part.

    Solution: divide host info into dynamic (disk usage, network info)
    and static (everything else).
    Computer the static part only at startup.

    Also factor the Unix HOST_INFO code into multiple functions.

==================

As it stands, BOINC's Event Log does show periodic "Suspending
computation - computer is in use" messages. Show I'm operating on the
assumption that something is working.

Cheers,
Preston Maness
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJWau80AAoJEFpzcfOOuHp0b5gQAI0yCYXWOrljUJDwn1cTtjPx
CPADEHJTf9FD4vy52wJzrTHdtvq3nj9ihaF+MCkYZvbIwndtabku1JyqahQd29uW
XUw4i8cE99FWQE66FJk8PIk5UgvY01y9h/B709B2rwXq02rtbo0YjOCWTpQnD1Xl
eTA3Nj97PLfw7i/2LJuD6BOUsPL9NNzjbqwPRdzKdipR7DQn4HrykKqe78VGspIz
POTOLqhv4x6BOaKRp+uxgI19Zb1THlaAYH6drw07mgYlxwO6NePfB1fC8Uqeusot
6O1UOdaQ4OiIhZ0tAouzzOCk3944NvxY1Zrg3XQl8UxxAfjSM/8uCygUETw5OZvi
qQC9CrkXeSjfiqIUnHzR3JQMvr+YdPP3pWi9NpqcEv73Rty8GZ9OXvCVNMu3dRk0
Flpu7PSUz79s6u6YlFKzMc97JU1ZtDeWlAK2zx8QZbQDr8uFRZK/YDNspz/WBmwR
lAVErCEfi4yPYdKxHtfbZKcz0LVKAo5hw8szBxciLLYkbz0i/XVguEO7/HgD0G/r
9pmhPg+698ftyZ2Er2/zufYFHw2sYY5qIKR+yg3RUK1fKO3ayO/iflycwfh7poKU
SHBroRxdsE5WWAe4FH1lMNmMkLNH0RQBKjcm7V2gaMGpG38Pvow8glzlBH5DYjOZ
cmMcv0aRUpXLPeiolQO/
=q0tn
-----END PGP SIGNATURE-----



More information about the pkg-boinc-devel mailing list