== sanity test 255a: check 'lfs ladvise -a willread' ===== 15:45:22 (1786650322) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 12.6555 s, 8.3 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-ffff972cc7e1b000.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.432457 Iter 1/10: OSS cache speed: 0.402783 Iter 1/10: ladvise speed: 0.359201 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.331658 Iter 2/10: OSS cache speed: 0.399418 Iter 2/10: ladvise speed: 0.398411 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.36491 Iter 3/10: OSS cache speed: 0.372976 Iter 3/10: ladvise speed: 0.384374 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.320888 Iter 4/10: OSS cache speed: 0.384405 Iter 4/10: ladvise speed: 0.325909 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.349273 Iter 5/10: OSS cache speed: 0.29195 Iter 5/10: ladvise speed: 0.349333 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.356404 Iter 6/10: OSS cache speed: 0.404045 Iter 6/10: ladvise speed: 0.37835 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.372272 Iter 7/10: OSS cache speed: 0.347696 Iter 7/10: ladvise speed: 0.38871 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.380382 Iter 8/10: OSS cache speed: 0.407762 Iter 8/10: ladvise speed: 0.337208 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.346644 Iter 9/10: OSS cache speed: 0.378119 Iter 9/10: ladvise speed: 0.328956 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.31547 Iter 10/10: OSS cache speed: 0.330164 Iter 10/10: ladvise speed: 0.388251 Average uncached read: .35 Average speedup with OSS cached read: .37 = +5% Average speedup with ladvise willread: .36 = +2% Speedup with OSS cached read less than 20%, got 5%. Skipping ladvise willread check. fail_loc=0