{"action":"opened","issue":{"url":"https://api.github.com/repos/edenhill/librdkafka/issues/292","labels_url":"https://api.github.com/repos/edenhill/librdkafka/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/edenhill/librdkafka/issues/292/comments","events_url":"https://api.github.com/repos/edenhill/librdkafka/issues/292/events","html_url":"https://github.com/edenhill/librdkafka/issues/292","id":81398471,"number":292,"title":"Doubt/Bug - '-B' option in rdkafka_performance","user":{"login":"prabcs","id":4270624,"avatar_url":"https://avatars.githubusercontent.com/u/4270624?v=3","gravatar_id":"","url":"https://api.github.com/users/prabcs","html_url":"https://github.com/prabcs","followers_url":"https://api.github.com/users/prabcs/followers","following_url":"https://api.github.com/users/prabcs/following{/other_user}","gists_url":"https://api.github.com/users/prabcs/gists{/gist_id}","starred_url":"https://api.github.com/users/prabcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prabcs/subscriptions","organizations_url":"https://api.github.com/users/prabcs/orgs","repos_url":"https://api.github.com/users/prabcs/repos","events_url":"https://api.github.com/users/prabcs/events{/privacy}","received_events_url":"https://api.github.com/users/prabcs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-27T10:54:43Z","updated_at":"2015-05-27T10:54:43Z","closed_at":null,"body":"Hi,\r\n\r\nI've noticed that using the following command, no matter what batch size (ranging from 1 to 300) I select using the -B option, the throughput does not vary much and the writes complete in around the same time. This is the command I've used:-\r\n\r\ntime ./rdkafka_performance -P -t temp4 -s <variable> -c 1048576  -b x.x.x.x:9092,y.y.y.y:9092,z.z.z.z:9092 -u -i 100 -B <variable>\r\n\r\nI've tried running the same command with various values of -s ranging from 200 to 10240 and -c from 1048576 to 10485760 and -B from 1 to 300. But, I dont get much of a throughput variance with changes in -B option.\r\nThis observation is quite different from the results in the section 'producer throughput as a function of batch size' mentioned in http://kafka.apache.org/07/performance.html\r\n\r\nPlease provide some explanation on this observation.\r\n"}}