A client thread need to wait for response, during the server can handle multiple requests simultaneously.
2011/3/22 Sheng Chen <chensheng2...@gmail.com>: > I am just wondering, why the stress test tools (python, java) need more > threads ? > Is the bottleneck of a single thread in the client, or in the server? > Thanks. > Sean > > 2011/3/22 Ryan King <r...@twitter.com> >> >> On Mon, Mar 21, 2011 at 4:02 AM, pob <peterob...@gmail.com> wrote: >> > Hi, >> > I'm inserting data from client node with stress.py to cluster of 6 >> > nodes. >> > They are all on 1Gbps network, max real throughput of network is 930Mbps >> > (after measurement). >> > python stress.py -c 1 -S 170000 -d{6nodes} -l3 -e QUORUM >> > --operation=insert -i 1 -n 500000 -t100 >> > The problem is stress.py show up it does avg ~750ops/sec what is >> > 127MB/s, >> > but the real throughput of network is ~116MB/s. >> >> You may need more concurrency in order to saturate your network. >> >> -ryan > > -- w3m