== sanity test 255a: check 'lfs ladvise -a willread' ===== 09:51:12 (1761313872) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 1.85262 s, 56.6 MB/s ladvise: range [2, 1] is invalid Provide servers with advice about access patterns for a file. usage: ladvise [--advice|-a ADVICE] [--start|-s START[kMGT]] [--background|-b] [--unset|-u] {--end|-e END[kMGT]|--length|-l LENGTH[kMGT]} {[--mode|-m [READ,WRITE]} ... ladvise: range [2, 2] is invalid Provide servers with advice about access patterns for a file. usage: ladvise [--advice|-a ADVICE] [--start|-s START[kMGT]] [--background|-b] [--unset|-u] {--end|-e END[kMGT]|--length|-l LENGTH[kMGT]} {[--mode|-m [READ,WRITE]} ... ladvise: conflicting arguments of -l and -e Provide servers with advice about access patterns for a file. usage: ladvise [--advice|-a ADVICE] [--start|-s START[kMGT]] [--background|-b] [--unset|-u] {--end|-e END[kMGT]|--length|-l LENGTH[kMGT]} {[--mode|-m [READ,WRITE]} ... Synchronous ladvise should wait fail_val=4 fail_loc=0x237 Asynchronous ladvise shouldn't wait fail_loc=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.701134 Iter 1/10: OSS cache speed: 0.584152 Iter 1/10: ladvise speed: 0.729036 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.666878 Iter 2/10: OSS cache speed: 0.682384 Iter 2/10: ladvise speed: 0.720377 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.736639 Iter 3/10: OSS cache speed: 0.766304 Iter 3/10: ladvise speed: 0.741163 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.738853 Iter 4/10: OSS cache speed: 0.647653 Iter 4/10: ladvise speed: 0.605451 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.726761 Iter 5/10: OSS cache speed: 0.60457 Iter 5/10: ladvise speed: 0.663337 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.632396 Iter 6/10: OSS cache speed: 0.61557 Iter 6/10: ladvise speed: 0.581728 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.549339 Iter 7/10: OSS cache speed: 0.6696 Iter 7/10: ladvise speed: 0.564721 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.602301 Iter 8/10: OSS cache speed: 0.637022 Iter 8/10: ladvise speed: 0.590105 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.488248 Iter 9/10: OSS cache speed: 0.469602 Iter 9/10: ladvise speed: 0.478814 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.53913 Iter 10/10: OSS cache speed: 0.587801 Iter 10/10: ladvise speed: 0.50773 Average uncached read: .63 Average speedup with OSS cached read: .62 = +-1.58% Average speedup with ladvise willread: .61 = +-3.17% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21871: Pl˝­