{"action":"created","issue":{"url":"https://api.github.com/repos/BOINC/boinc/issues/1591","labels_url":"https://api.github.com/repos/BOINC/boinc/issues/1591/labels{/name}","comments_url":"https://api.github.com/repos/BOINC/boinc/issues/1591/comments","events_url":"https://api.github.com/repos/BOINC/boinc/issues/1591/events","html_url":"https://github.com/BOINC/boinc/issues/1591","id":56226253,"number":1591,"title":"boinc_client does not notice (or does not care) that \"computer is in use\"","user":{"login":"romw","id":985772,"avatar_url":"https://avatars.githubusercontent.com/u/985772?v=3","gravatar_id":"","url":"https://api.github.com/users/romw","html_url":"https://github.com/romw","followers_url":"https://api.github.com/users/romw/followers","following_url":"https://api.github.com/users/romw/following{/other_user}","gists_url":"https://api.github.com/users/romw/gists{/gist_id}","starred_url":"https://api.github.com/users/romw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romw/subscriptions","organizations_url":"https://api.github.com/users/romw/orgs","repos_url":"https://api.github.com/users/romw/repos","events_url":"https://api.github.com/users/romw/events{/privacy}","received_events_url":"https://api.github.com/users/romw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"romw","id":985772,"avatar_url":"https://avatars.githubusercontent.com/u/985772?v=3","gravatar_id":"","url":"https://api.github.com/users/romw","html_url":"https://github.com/romw","followers_url":"https://api.github.com/users/romw/followers","following_url":"https://api.github.com/users/romw/following{/other_user}","gists_url":"https://api.github.com/users/romw/gists{/gist_id}","starred_url":"https://api.github.com/users/romw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romw/subscriptions","organizations_url":"https://api.github.com/users/romw/orgs","repos_url":"https://api.github.com/users/romw/repos","events_url":"https://api.github.com/users/romw/events{/privacy}","received_events_url":"https://api.github.com/users/romw/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-02-02T11:41:56Z","updated_at":"2015-02-03T06:55:57Z","closed_at":null,"body":"**Reported by Bluefin Tuna on 3 Apr 42799116 09:47 UTC**\nOn Linux (Fedora 17 KDE spin), boinc_client (7.0.28 x86_64-pc-linux-gnu) is running as user \"boinc\", a user not used for anything else.\r\n\r\nSettings as per \"Computing Preferences (apply to all BOINC projects in which you participate)\" are for Processor Usage:\r\n\r\n```\r\nSuspend work while computer is on battery power?    yes\r\nMatters only for portable computers \t            yes\r\nSuspend work while computer is in use?\t            yes\r\nSuspend GPU work while computer is in use?          yes\r\n'In use' means mouse/keyboard activity in last\t    5 minutes\r\nSuspend work if no mouse/keyboard activity in last  --- minutes\r\nSuspend work if CPU usage is above                  50%\r\nDo work only between the hours of                   ---\r\nLeave tasks in memory while suspended?              no\r\nSwitch between tasks every                          120 minutes\r\nOn multiprocessors, use at most\t                    --- processors\r\nOn multiprocessors, use at most                     100% of the processors\r\nUse at most                                         75% of CPU time \r\n```\r\n\r\nThe machine has 2 non-threaded CPUs. As per lscpu:\r\n\r\n```\r\nArchitecture:          x86_64\r\nCPU op-mode(s):        32-bit, 64-bit\r\nCPU(s):                2\r\nOn-line CPU(s) list:   0,1\r\nThread(s) per core:    1\r\nCore(s) per socket:    2\r\nSocket(s):             1\r\n```\r\n\r\nIt also has a CUDA-capable graphics card, which is being used for BOINC projects.\r\n\r\nScenario:\r\n\r\n- boinc runs while user is absent\r\n- once the user activates the machine, boinc notices this and tunes down\r\n  (the log shows nothing though, I think it should ... is there a \"verbose\"\r\n  option?)\r\n  ps then shows only the \"boinc_client\" running, not the tasks themselves\r\n- however, after a quarter of an hour or so, the tasks start up again; computer interactivity slows noticeably. More amazing, there are actually 3 tasks running [2 x einstein@home + 1 x seti](e.g.) even though the machine has just 2 CPUs (maybe it's done differently on CUDA machines); here too logging the decision logic would be informative\r\n- boinc knows the machine is in use though, the log says \"Suspending network activity - computer is in use\"\r\n- to get the machine in hand, one has to \"kill boinc\"\r\n\r\n\r\n\n\nMigrated-From: http://boinc.berkeley.edu/trac/ticket/1215"},"comment":{"url":"https://api.github.com/repos/BOINC/boinc/issues/comments/72603575","html_url":"https://github.com/BOINC/boinc/issues/1591#issuecomment-72603575","issue_url":"https://api.github.com/repos/BOINC/boinc/issues/1591","id":72603575,"user":{"login":"romw","id":985772,"avatar_url":"https://avatars.githubusercontent.com/u/985772?v=3","gravatar_id":"","url":"https://api.github.com/users/romw","html_url":"https://github.com/romw","followers_url":"https://api.github.com/users/romw/followers","following_url":"https://api.github.com/users/romw/following{/other_user}","gists_url":"https://api.github.com/users/romw/gists{/gist_id}","starred_url":"https://api.github.com/users/romw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romw/subscriptions","organizations_url":"https://api.github.com/users/romw/orgs","repos_url":"https://api.github.com/users/romw/repos","events_url":"https://api.github.com/users/romw/events{/privacy}","received_events_url":"https://api.github.com/users/romw/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T06:55:57Z","updated_at":"2015-02-03T06:55:57Z","body":"**Commented by Bluefin Tuna on 21 Sep 42808484 17:52 UTC**\nUpdate:\r\n\r\n'''Without GPU'''\r\n\r\n  * Responsiveness of PC does not suffer, irrespective of whether boinc is running or not.\r\n  * Computer is recognized \"to be in use\":\r\n    * The first time ''only'' by typing into any terminal window (not necessarily the terminal window\r\n      belonging to the user who is running boinc). At that point boinc shutdown is rather instantaneous.\r\n      Typing in a text editor, typing in firefox or mouse movement/clicking around is ''not' \r\n      recognized.\r\n    * The second time (i.e. once boinc reactivated again because of computer idling), ''only'' by\r\n      typing into a terminal window that was already running when boinc reactivated. A window opened\r\n      after that is apparently not considered.\r\n  \r\n'''With GPU'''\r\n\r\n  * As above, but responsiveness of PC does suffer; einstein@home must be fighting with X for GPU\r\n    usage.\r\n"}}