-
Notifications
You must be signed in to change notification settings - Fork 48
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 disk latency really getting injected? #18
Comments
@db-vmw what is the command that you used to mount CharybdeFS? |
Hi @bentsi , I'm using the following command:
I'm injecting the disk latency (slow disk) using charybdefs on to /var/data-dir Thanks, |
Hi @bentsi , any comments on the observation? |
Looking in the C++ code again, the latency is implemented as a delay before executing the syscall, you can fix this and fire a PR |
Hello Team,
I have mounted charybdefs on my ubuntu machine. I have written a small python code to simulate slow write (disk latency). The python code will connect to thrift module as documented in the charybdefs blogpost.
I have run the python script with the following parameters
Here, I was expecting 20seconds of delay for the write operation. But, the below dd command has finished in 6.6 seconds. Before injecting the above fault (20 seconds delay) the same dd command had completed with 165MB/s (6.3s). I don't know if the charybdefs is really injecting fault here. Can you please confirm if any thing wrong here?
Python client code:
The text was updated successfully, but these errors were encountered: