{"action":"created","issue":{"url":"https://api.github.com/repos/sem-hub/dhcprelya/issues/3","repository_url":"https://api.github.com/repos/sem-hub/dhcprelya","labels_url":"https://api.github.com/repos/sem-hub/dhcprelya/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/sem-hub/dhcprelya/issues/3/comments","events_url":"https://api.github.com/repos/sem-hub/dhcprelya/issues/3/events","html_url":"https://github.com/sem-hub/dhcprelya/issues/3","id":171910352,"number":3,"title":"High CPU usage even without network traffic","user":{"login":"ocochard","id":1012256,"avatar_url":"https://avatars.githubusercontent.com/u/1012256?v=3","gravatar_id":"","url":"https://api.github.com/users/ocochard","html_url":"https://github.com/ocochard","followers_url":"https://api.github.com/users/ocochard/followers","following_url":"https://api.github.com/users/ocochard/following{/other_user}","gists_url":"https://api.github.com/users/ocochard/gists{/gist_id}","starred_url":"https://api.github.com/users/ocochard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocochard/subscriptions","organizations_url":"https://api.github.com/users/ocochard/orgs","repos_url":"https://api.github.com/users/ocochard/repos","events_url":"https://api.github.com/users/ocochard/events{/privacy}","received_events_url":"https://api.github.com/users/ocochard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-08-18T14:09:41Z","updated_at":"2017-02-22T15:24:45Z","closed_at":null,"body":"I would to know if the high CPU usage of dhcprelya is a normal behavior ?\nI'm using dhcprelya-4.9 on a FreeBSD 10.3, and without network traffic it already consume lot's of CPU on my VM:\n\n```\n[root@vm-router]~# top\nlast pid:  2147;  load averages:  0.58,  0.28,  0.13    up 0+00:06:28  16:03:13\n15 processes:  1 running, 14 sleeping\nCPU:  3.1% user,  0.0% nice, 11.4% system,  0.0% interrupt, 85.4% idle\nMem: 13M Active, 12M Inact, 35M Wired, 1792K Cache, 14M Buf, 164M Free\nSwap:\n\n  PID USERNAME    THR PRI NICE   SIZE    RES STATE    TIME    WCPU COMMAND\n 1600 root          2  20    0 19060K  2552K bpf      0:35  19.58% dhcprelya\n  916 root          1  20    0 17300K  3388K pause    0:00   0.00% csh\n  914 root          1  52    0 14388K  1880K ttyin    0:00   0.00% getty\n  684 root          1  20    0 14388K  2036K select   0:00   0.00% syslogd\n  915 root          1  20    0 43396K  2516K wait     0:00   0.00% login\n```\n\nAnd this impact even worse the VM usage from the point of view of the host:\n\n```\n[root@hypervisor]~# top\n  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND\n13255 root         12  20    0   288M 30800K kqread 26  11:19 102.22% bhyve\n```\n\nThanks\n"},"comment":{"url":"https://api.github.com/repos/sem-hub/dhcprelya/issues/comments/281700951","html_url":"https://github.com/sem-hub/dhcprelya/issues/3#issuecomment-281700951","issue_url":"https://api.github.com/repos/sem-hub/dhcprelya/issues/3","id":281700951,"user":{"login":"maxchill","id":916491,"avatar_url":"https://avatars.githubusercontent.com/u/916491?v=3","gravatar_id":"","url":"https://api.github.com/users/maxchill","html_url":"https://github.com/maxchill","followers_url":"https://api.github.com/users/maxchill/followers","following_url":"https://api.github.com/users/maxchill/following{/other_user}","gists_url":"https://api.github.com/users/maxchill/gists{/gist_id}","starred_url":"https://api.github.com/users/maxchill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxchill/subscriptions","organizations_url":"https://api.github.com/users/maxchill/orgs","repos_url":"https://api.github.com/users/maxchill/repos","events_url":"https://api.github.com/users/maxchill/events{/privacy}","received_events_url":"https://api.github.com/users/maxchill/received_events","type":"User","site_admin":false},"created_at":"2017-02-22T15:24:45Z","updated_at":"2017-02-22T15:24:45Z","body":"Real hardware...\r\nUsing a quad core i5 configuration of the following.\r\nhttp://www.lannerinc.com/products/x86-network-appliances/rackmount/fw-8760\r\n\r\nDHCPrelya uses like 30% of one of the cores without the patch.  I haven't looked at it in awhile, but could provide more details.   I've noticed the FreeBSD port doesn't have a maintainer.  Would be nice to figure out how to get this resolved using the default installation."}}
{"actor":{"display_login":"maxchill"}}