== sanity test 255a: check 'lfs ladvise -a willread' ===== 05:48:19 (1778924899) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 14.5627 s, 7.2 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=8 fail_loc=0x237 Asynchronous ladvise shouldn't wait llite.lustre-ffff9da1c60e6800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.285591 Iter 1/10: OSS cache speed: 0.2788 Iter 1/10: ladvise speed: 0.317041 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.299336 Iter 2/10: OSS cache speed: 0.287275 Iter 2/10: ladvise speed: 0.327809 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.303652 Iter 3/10: OSS cache speed: 0.313351 Iter 3/10: ladvise speed: 0.296114 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.322539 Iter 4/10: OSS cache speed: 0.32281 Iter 4/10: ladvise speed: 0.317036 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.311181 Iter 5/10: OSS cache speed: 0.303897 Iter 5/10: ladvise speed: 0.346275 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.27843 Iter 6/10: OSS cache speed: 0.339101 Iter 6/10: ladvise speed: 0.318039 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.277736 Iter 7/10: OSS cache speed: 0.296051 Iter 7/10: ladvise speed: 0.323538 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.306391 Iter 8/10: OSS cache speed: 0.29176 Iter 8/10: ladvise speed: 0.323469 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.339788 Iter 9/10: OSS cache speed: 0.347735 Iter 9/10: ladvise speed: 0.33559 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.3617 Iter 10/10: OSS cache speed: 0.365211 Iter 10/10: ladvise speed: 0.397229 Average uncached read: .30 Average speedup with OSS cached read: .31 = +3% Average speedup with ladvise willread: .33 = +10% Speedup with OSS cached read less than 20%, got 3%. Skipping ladvise willread check. fail_loc=0