-
Notifications
You must be signed in to change notification settings - Fork 172
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
Question about running ethereum's macro benchmark using Smallbank workload #51
Comments
Hello, I‘m sorry that I’m not answering the question but asking the question. I'm just starting the simulation of the ethereum macro benchmark. It is totally new for me .. from where to start .. dont know .. Is there any manual (step by step) ? can you help me |
The comment in "start-client.sh" means that both the executable for YCSB and Smallbank are named "driver". You need to change the path to the correct workload. The "true" option in ycsbc.cc is to pre-load the data, has nothing to do with Smallbank. "smallbank is simulated via ycsb" means that it simply carries multiple updates of different keys instead of checking for account/balance/etc. The smallbank driver for Hyperledger is a more precise implementation. |
@ug93tad thank you for your reply! So in Q2, when i change the blockbench/src/macro/kvstore/ycsbc.cc Lines 47 to 52 in d722cab
Also, I have tried to use Smallbank workload in |
For Ethereum, both YCSB and Smallbank use the driver in ../macro/kvstore (see the Readme). All operations are "DoInsert()". The "DoTransaction()" is relics from the YCSB code we ported (https://github.com/basicthinker/YCSB-C). The results you showed indicate that the server didn't produce any blocks. Please check your server logs to see what went wrong. |
@ug93tad So if I want to test Ethereum using smallbank, I dont need to change driver and only need to use |
No, sorry my mistake. Smallbank uses the driver in ../smallbank directory |
@ug93tad Thanks. blockbench/src/macro/kvstore/ycsbc.cc Lines 253 to 254 in d722cab
Can this still work? |
yes, but for simulated workload only, and only for Ethereum. The correct smallbank should be run using the driver in ../smallbank folder. |
Question about smallbank driver
I'm trying to run benchmark using Smallbank workload,But I'm not sure which one is right.
I saw the comment below:
blockbench/benchmark/ethereum/start-clients.sh
Lines 18 to 19 in d722cab
I'm not clear about what's the meaning of this comment, because from document, it seems that YCSB and Smallbank use different drivers, but code says I only need to add
-wl smallbank
to test using smallbank workload.And I tried to use the driver in
src/macro/smallbank
as document say, but I got a all zero results,likeand tx count and latency are always 0, only the outstanding request increase. I'm still not sure about why I got this results
Question about code
Another question is about the
true
in the code below:blockbench/src/macro/kvstore/ycsbc.cc
Lines 146 to 147 in d722cab
If I change this
true
tofalse
, does this means use YCSB simulate smallbank? because this is document say:In this way I can get some results, but the throughput I calculate is very large, like 10 times larger than YCSB workload. Is this result reasonable?
Hope to get help!
The text was updated successfully, but these errors were encountered: