-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there an option for shard aware? #70
Comments
Which host selection policy are you using (the |
I'm using default. The number of connections is not correctly determined with default settings and with explicit
The number of shard is 92. And I only see connections for the first 23 shards. So in total there are 23 connections even though there should be 92. I'm using the scylla-bench master branch. |
How did you install scylla-bench? Like this?
I just checked and this version indeed is not shard-aware. However, if you build scylla-bench from source it should be shard-aware:
Please check if the version built from source works better. |
I'm using the first approach. When using '-host-selection-policy=token-aware' the connection count setting is not ignored btw. I set it to 92 and every shard has multiple connections (it seems 3 or 4 per shard). I'll try out the other approach now. |
I'm not exactly sure what is happening here, but I suspect that |
It seems like a bug :) Let me verify first with the custom build approach if shard aware works properly. |
I see there are just a few cross shard operations. So it seems to be shard aware. |
I did some digging and it seems that my theory about I don't think this issue should be classified as a bug in scylla-bench, because the problem was caused by the combination of |
If you can update the documentation for installing, then I'm fine with closing this issue. |
I was wondering why the throughput numbers were so low compared to cassandra-stress (from Scylla) and the number of connections is way lower. So by default scylla-bench isn't shard aware, it doesn't open a connection to every shard and route traffic to the right shard.
The text was updated successfully, but these errors were encountered: