-
Notifications
You must be signed in to change notification settings - Fork 20
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
dmts has debug mode? #25
Comments
Why not create a profile that uses smaller volumes? You could use LVM to On 17 May 2014 08:18, Akira Hayakawa [email protected] wrote:
|
Hi, this is not a matter of device size but about the parameter to the benchmark program. For example, the code below reduces the amount of data to write by changing --size parameter to fio. This makes it run fast and helps us debug the test. My suggestion is to add such switch to dmtest. If you don't like the idea, it is OK. Passing the flag from the user can be done though environmental variable (or it is rather natural cf.
|
ok, I understand. Perhaps the best is to add another variable to the On 17 May 2014 12:39, Akira Hayakawa [email protected] wrote:
|
sz = config.test_scale == :small ? 1 : 128 |
I will do this. |
Does dmts have debug mode to debug the tests itself?
Usually, the data amount to use in tests are too big to wait. My idea with debug mode is to reduce the size to see the tests actually works (e.g. 128m -> 1m).
If dmts doesn't have one, there are two ways to implement debug mode
Either way, it is important to be able to access from anywhere in the tests.
The text was updated successfully, but these errors were encountered: