{"action":"created","issue":{"url":"https://api.github.com/repos/stsp/dosemu2/issues/211","repository_url":"https://api.github.com/repos/stsp/dosemu2","labels_url":"https://api.github.com/repos/stsp/dosemu2/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/stsp/dosemu2/issues/211/comments","events_url":"https://api.github.com/repos/stsp/dosemu2/issues/211/events","html_url":"https://github.com/stsp/dosemu2/issues/211","id":167145845,"number":211,"title":"Idle CPU usage anomaly","user":{"login":"bolle732","id":8956508,"avatar_url":"https://avatars.githubusercontent.com/u/8956508?v=3","gravatar_id":"","url":"https://api.github.com/users/bolle732","html_url":"https://github.com/bolle732","followers_url":"https://api.github.com/users/bolle732/followers","following_url":"https://api.github.com/users/bolle732/following{/other_user}","gists_url":"https://api.github.com/users/bolle732/gists{/gist_id}","starred_url":"https://api.github.com/users/bolle732/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bolle732/subscriptions","organizations_url":"https://api.github.com/users/bolle732/orgs","repos_url":"https://api.github.com/users/bolle732/repos","events_url":"https://api.github.com/users/bolle732/events{/privacy}","received_events_url":"https://api.github.com/users/bolle732/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-07-22T22:38:55Z","updated_at":"2016-08-02T08:16:55Z","closed_at":null,"body":"On Ubuntu 16.04 LTS 32-bit. When running PC/GEOS with DOSEmu 1.4 and it is doing \"nothing\" (idling), the 'dosemu.bin' process uses about 3% CPU. Running the same PC/GEOS under DOSEmu2 with 'vm86' or 'kvm', the 'dosemu.bin' process is using over 60% of a CPU core.\r\n\r\nI've tried to use FDAPM and APM drivers inside PC/GEOS, but DOSEmu doesn't seems to emulate this function.\r\n\r\nThe high CPU usage can be observed too on a 64-bit installation with 'kvm'. Even running the demo of Commander Keen on a new notebook uses more the 100% of a CPU core.\r\n\r\nWhat could make that big difference between the two versions ?\r\n\r\nRegarding power, it would be really nice to get back to the lower CPU usage when the DOS program is not demanding CPU power. Especially on a notebook, the battery time is suffering with this behaviour."},"comment":{"url":"https://api.github.com/repos/stsp/dosemu2/issues/comments/236835702","html_url":"https://github.com/stsp/dosemu2/issues/211#issuecomment-236835702","issue_url":"https://api.github.com/repos/stsp/dosemu2/issues/211","id":236835702,"user":{"login":"bolle732","id":8956508,"avatar_url":"https://avatars.githubusercontent.com/u/8956508?v=3","gravatar_id":"","url":"https://api.github.com/users/bolle732","html_url":"https://github.com/bolle732","followers_url":"https://api.github.com/users/bolle732/followers","following_url":"https://api.github.com/users/bolle732/following{/other_user}","gists_url":"https://api.github.com/users/bolle732/gists{/gist_id}","starred_url":"https://api.github.com/users/bolle732/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bolle732/subscriptions","organizations_url":"https://api.github.com/users/bolle732/orgs","repos_url":"https://api.github.com/users/bolle732/repos","events_url":"https://api.github.com/users/bolle732/events{/privacy}","received_events_url":"https://api.github.com/users/bolle732/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T08:16:55Z","updated_at":"2016-08-02T08:16:55Z","body":"No problem that this isn't a first priority citizen. To be able to configure skipping updates of the screen would be sufficient in that case.\r\n\r\nIs the pthread mutex used to synchronize the access to the \"video\" memory ?"}}
{"actor":{"display_login":"bolle732"}}