{"action":"created","issue":{"url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/364","labels_url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/364/comments","events_url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/364/events","html_url":"https://github.com/openstreetmap/osm2pgsql/pull/364","id":92458292,"number":364,"title":"Remove the lockfree queue option","user":{"login":"pnorman","id":1190866,"avatar_url":"https://avatars.githubusercontent.com/u/1190866?v=3","gravatar_id":"","url":"https://api.github.com/users/pnorman","html_url":"https://github.com/pnorman","followers_url":"https://api.github.com/users/pnorman/followers","following_url":"https://api.github.com/users/pnorman/following{/other_user}","gists_url":"https://api.github.com/users/pnorman/gists{/gist_id}","starred_url":"https://api.github.com/users/pnorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnorman/subscriptions","organizations_url":"https://api.github.com/users/pnorman/orgs","repos_url":"https://api.github.com/users/pnorman/repos","events_url":"https://api.github.com/users/pnorman/events{/privacy}","received_events_url":"https://api.github.com/users/pnorman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-01T18:42:37Z","updated_at":"2015-07-02T07:10:59Z","closed_at":"2015-07-02T05:22:45Z","pull_request":{"url":"https://api.github.com/repos/openstreetmap/osm2pgsql/pulls/364","html_url":"https://github.com/openstreetmap/osm2pgsql/pull/364","diff_url":"https://github.com/openstreetmap/osm2pgsql/pull/364.diff","patch_url":"https://github.com/openstreetmap/osm2pgsql/pull/364.patch"},"body":"The boost::lockfree::queue implementation was far less memory efficient than the stack based implementation used with older versions of boost where the lockfree queue was not available.\r\n\r\nThe decreased memory usage allows for more node cache, resulting in faster import times. For the full planet and a 32GB RAM SSD-based server, this is a decrease from 10h45m runtime to 9h6m.\r\n\r\nFixes #351\r\n\r\ncc @kevinkreiser "},"comment":{"url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/comments/117937633","html_url":"https://github.com/openstreetmap/osm2pgsql/pull/364#issuecomment-117937633","issue_url":"https://api.github.com/repos/openstreetmap/osm2pgsql/issues/364","id":117937633,"user":{"login":"lonvia","id":1447941,"avatar_url":"https://avatars.githubusercontent.com/u/1447941?v=3","gravatar_id":"","url":"https://api.github.com/users/lonvia","html_url":"https://github.com/lonvia","followers_url":"https://api.github.com/users/lonvia/followers","following_url":"https://api.github.com/users/lonvia/following{/other_user}","gists_url":"https://api.github.com/users/lonvia/gists{/gist_id}","starred_url":"https://api.github.com/users/lonvia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lonvia/subscriptions","organizations_url":"https://api.github.com/users/lonvia/orgs","repos_url":"https://api.github.com/users/lonvia/repos","events_url":"https://api.github.com/users/lonvia/events{/privacy}","received_events_url":"https://api.github.com/users/lonvia/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T07:10:59Z","updated_at":"2015-07-02T07:10:59Z","body":"One option to speed up the mutex version is to retrieve batches of objects from the queue instead of single ones."}}