{"action":"created","issue":{"url":"https://api.github.com/repos/wg/wrk/issues/147","labels_url":"https://api.github.com/repos/wg/wrk/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/wg/wrk/issues/147/comments","events_url":"https://api.github.com/repos/wg/wrk/issues/147/events","html_url":"https://github.com/wg/wrk/issues/147","id":93514913,"number":147,"title":"How did you get over 700k rps?","user":{"login":"adwinsky","id":311951,"avatar_url":"https://avatars.githubusercontent.com/u/311951?v=3","gravatar_id":"","url":"https://api.github.com/users/adwinsky","html_url":"https://github.com/adwinsky","followers_url":"https://api.github.com/users/adwinsky/followers","following_url":"https://api.github.com/users/adwinsky/following{/other_user}","gists_url":"https://api.github.com/users/adwinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/adwinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adwinsky/subscriptions","organizations_url":"https://api.github.com/users/adwinsky/orgs","repos_url":"https://api.github.com/users/adwinsky/repos","events_url":"https://api.github.com/users/adwinsky/events{/privacy}","received_events_url":"https://api.github.com/users/adwinsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-07T12:04:36Z","updated_at":"2015-07-08T02:53:54Z","closed_at":null,"body":"Using wrk I am benchmarking simple ping - pong http server written in GO. I am using Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz with 32 threads. My web server is using all CPUs available and with the same parameters you used in the Readme example (wrk -t12 -c400 -d30s http://127.0.0.1:8080/index.html) I am not able to get more then 300k rps. I have kernel configured to quickly reuse tcp connections and I have no idea how to get better results. \r\n\r\nTherefore I wanted to ask about your example:\r\n\r\n* what machine was used?\r\n* what web server you tested? (with nginx I was not able to get more then 150k rps).\r\n* what is your sysctl configuration.\r\n\r\nMy assumption is that the bottleneck is the CPU I am using.\r\n\r\nI also think it would be nice to add this informations to the Readme page."},"comment":{"url":"https://api.github.com/repos/wg/wrk/issues/comments/119405149","html_url":"https://github.com/wg/wrk/issues/147#issuecomment-119405149","issue_url":"https://api.github.com/repos/wg/wrk/issues/147","id":119405149,"user":{"login":"wg","id":94529,"avatar_url":"https://avatars.githubusercontent.com/u/94529?v=3","gravatar_id":"","url":"https://api.github.com/users/wg","html_url":"https://github.com/wg","followers_url":"https://api.github.com/users/wg/followers","following_url":"https://api.github.com/users/wg/following{/other_user}","gists_url":"https://api.github.com/users/wg/gists{/gist_id}","starred_url":"https://api.github.com/users/wg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wg/subscriptions","organizations_url":"https://api.github.com/users/wg/orgs","repos_url":"https://api.github.com/users/wg/repos","events_url":"https://api.github.com/users/wg/events{/privacy}","received_events_url":"https://api.github.com/users/wg/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T02:53:54Z","updated_at":"2015-07-08T02:53:54Z","body":"Hi @adwinsky, IIRC those results are from an EC2 c3.8xlarge instance. More recently I tested a c4.8xlarge and saw > 1M requests/sec with nginx 1.6. Should be even better with nginx 1.9 on Linux: https://www.nginx.com/blog/socket-sharding-nginx-release-1-9-1/\r\n\r\nAllocating all CPUs to the HTTP server probably means wrk isn't getting enough CPU time. If you're running Linux try running the `perf` tool during a test and see where CPU time is spent."}}