-
Notifications
You must be signed in to change notification settings - Fork 46
Fix shared file 4k read #106
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
base: main
Are you sure you want to change the base?
Changes from all commits
b3f187b
74f3e76
35ae48a
7a9ee46
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,7 +27,7 @@ static void validate(void){ | |
|
|
||
|
|
||
| static double run(void){ | ||
| opt_ior_rnd_read d = o; | ||
| opt_ior_easy d = ior_easy_o; | ||
|
|
||
| u_argv_t * argv = u_argv_create(); | ||
| ior_easy_add_params(argv, 0); | ||
|
|
@@ -44,6 +44,12 @@ static double run(void){ | |
| u_argv_push(argv, "-s=10000000"); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As previously discussed, it would be good to add a separate patch that sets |
||
| u_argv_push(argv, "-O"); | ||
| u_argv_push(argv, "stoneWallingWearOut=1"); | ||
|
|
||
| if (d.filePerProc){ | ||
| u_argv_push(argv, "-C"); /* reorder tasks in constant order for read */ | ||
| u_argv_push(argv, "-Q"); /* task per node offset */ | ||
| u_argv_push(argv, "2"); | ||
| } | ||
|
|
||
| o.command = u_flatten_argv(argv); | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A slightly longer hash would be preferred (10-12 chars). At only 7 chars this is likely to collide after only 16k commits in IOR. While not an issue today (about 1k commits in IOR), it is better to think about this for the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, I do use the hash proposed by GitHub to id the version.