{"action":"created","issue":{"url":"https://api.github.com/repos/ecbftw/nanown/issues/6","repository_url":"https://api.github.com/repos/ecbftw/nanown","labels_url":"https://api.github.com/repos/ecbftw/nanown/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ecbftw/nanown/issues/6/comments","events_url":"https://api.github.com/repos/ecbftw/nanown/issues/6/events","html_url":"https://github.com/ecbftw/nanown/issues/6","id":163461418,"number":6,"title":"CPU affinity","user":{"login":"andresriancho","id":865200,"avatar_url":"https://avatars.githubusercontent.com/u/865200?v=3","gravatar_id":"","url":"https://api.github.com/users/andresriancho","html_url":"https://github.com/andresriancho","followers_url":"https://api.github.com/users/andresriancho/followers","following_url":"https://api.github.com/users/andresriancho/following{/other_user}","gists_url":"https://api.github.com/users/andresriancho/gists{/gist_id}","starred_url":"https://api.github.com/users/andresriancho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresriancho/subscriptions","organizations_url":"https://api.github.com/users/andresriancho/orgs","repos_url":"https://api.github.com/users/andresriancho/repos","events_url":"https://api.github.com/users/andresriancho/events{/privacy}","received_events_url":"https://api.github.com/users/andresriancho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-01T19:38:16Z","updated_at":"2016-07-01T20:13:09Z","closed_at":null,"body":"Does setting CPU affinity for the sampler make sense? The objective would be to get better timings, but those come from the pcap lib?\r\n\r\nhttps://github.com/ecbftw/nanown/blob/f05ef22feae55799c3d1ae5ccdc1ff0d3621873e/trunk/lib/nanownlib/platform.py#L4-L10"},"comment":{"url":"https://api.github.com/repos/ecbftw/nanown/issues/comments/230037620","html_url":"https://github.com/ecbftw/nanown/issues/6#issuecomment-230037620","issue_url":"https://api.github.com/repos/ecbftw/nanown/issues/6","id":230037620,"user":{"login":"ecbftw","id":4751963,"avatar_url":"https://avatars.githubusercontent.com/u/4751963?v=3","gravatar_id":"","url":"https://api.github.com/users/ecbftw","html_url":"https://github.com/ecbftw","followers_url":"https://api.github.com/users/ecbftw/followers","following_url":"https://api.github.com/users/ecbftw/following{/other_user}","gists_url":"https://api.github.com/users/ecbftw/gists{/gist_id}","starred_url":"https://api.github.com/users/ecbftw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecbftw/subscriptions","organizations_url":"https://api.github.com/users/ecbftw/orgs","repos_url":"https://api.github.com/users/ecbftw/repos","events_url":"https://api.github.com/users/ecbftw/events{/privacy}","received_events_url":"https://api.github.com/users/ecbftw/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T20:13:09Z","updated_at":"2016-07-01T20:13:09Z","body":"Yes, but child processes inherit the parent's affinity.  \r\n\r\nI was trying to minimize C code and also experiment with things.  For instance, I had experimented with running sampler on one core and sniffer on another core, to hopefully reduce any interference the sampler introduced on the sniffer's results.  I don't think it made any difference for me, and that makes sense, because it doesn't matter so much when the sniffer receives packets as when the network card does."}}
{"actor":{"display_login":"ecbftw"}}