-
Notifications
You must be signed in to change notification settings - Fork 7
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
./run.py problem #31
Comments
@zjthappy thanks for the feedback! |
it seems beacuse of the version of python,i use python3.9 instead zjt@zjt-ThinkBook-16-G4-IAP:~/ycsb/ucsb$ sudo python3.9 run.py |
Hi @zjthappy, please pull |
Is there any requirement for the compiler version when compiling? |
Both gcc-10 and gcc-11 are tested and compile fine. |
Is there a detailed tutorial, such as how to set parameters. I want to test the performance of redis |
I have merged a bunch of updates into |
@zjthappy, you are able to change the benchmark's parameters in the |
Thank you for your answers. zjt@zjt-ThinkBook-16-G4-IAP:~/ycsb/ucsb$ sudo python3.9 run.py -db redis -sz 100MB -wl Init,Read And I am a bit confused, how to specify the address and port of redis |
I'm sorry, it had a bug, now you can pull the fix from Please follow the instruction:
|
@zjthappy When you run run.py with "-sz 100MB" argument, Redis is using ./bench/configs/redis/100MB.cfg config file where you can change the port. |
ok Thank you all I'll give it another try and I'll give feedback if I have any problems with it |
Hey, @zjthappy ! Is it resolved now? Can we close the issue? |
Hello! I pull main branch.
I don't know why it fails...... |
CMake caches older configs. Any chance you have previously run without Redis and hasn't cleaned the caches since? |
I tried deleting cmake's output directory build_release, and then to speed up compilation only selected redis, but it still fails
Then I used the compiled binary build_release/build/bin/ucsb_bench directly,another problem appears:
but my redis is ok:
|
Update: When you make changes in the |
|
Hi @zjthappy! Can you please kill the redis-server process, run the "redis-server" command in your terminal, and check if it works? |
@davvard First I started redis:
I also modified the ucsb-redis connection configuration:
Then I run ucsb,it fails:
I try to kill redis process,and start redis again:
then try ucsb again,it still fails:
|
zjt@zjt-ThinkBook-16-G4-IAP:~/ycsb/ucsb$ ./run.py
Traceback (most recent call last):
File "./run.py", line 164, in
def main(db_names: Optional[list[str]] = supported_db_names,
TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered: