== sanity test 255a: check 'lfs ladvise -a willread' ===== 21:24:43 (1787102683) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 6.70404 s, 15.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=8 fail_loc=0x237 Asynchronous ladvise shouldn't wait llite.lustre-ffff9a66512e6000.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.829694 Iter 1/10: OSS cache speed: 1.72345 Iter 1/10: ladvise speed: 1.90542 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 1.8349 Iter 2/10: OSS cache speed: 2.10718 Iter 2/10: ladvise speed: 2.05213 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 1.95109 Iter 3/10: OSS cache speed: 2.16686 Iter 3/10: ladvise speed: 2.22464 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 2.18252 Iter 4/10: OSS cache speed: 2.34636 Iter 4/10: ladvise speed: 2.26698 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 2.14091 Iter 5/10: OSS cache speed: 2.39818 Iter 5/10: ladvise speed: 2.33009 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 2.09122 Iter 6/10: OSS cache speed: 2.35592 Iter 6/10: ladvise speed: 2.25626 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 2.10001 Iter 7/10: OSS cache speed: 0.743829 Iter 7/10: ladvise speed: 0.735181 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.624972 Iter 8/10: OSS cache speed: 0.808477 Iter 8/10: ladvise speed: 0.788566 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.674652 Iter 9/10: OSS cache speed: 0.725647 Iter 9/10: ladvise speed: 0.665987 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.584307 Iter 10/10: OSS cache speed: 0.68467 Iter 10/10: ladvise speed: 0.697451 Average uncached read: 1.50 Average speedup with OSS cached read: 1.60 = +6% Average speedup with ladvise willread: 1.59 = +6% Speedup with OSS cached read less than 20%, got 6%. Skipping ladvise willread check. fail_loc=0