== sanity test 255a: check 'lfs ladvise -a willread' ===== 01:48:25 (1783144105) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 7.0529 s, 14.9 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-ffff948a13867800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.635423 Iter 1/10: OSS cache speed: 0.696497 Iter 1/10: ladvise speed: 0.652941 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.62549 Iter 2/10: OSS cache speed: 0.881354 Iter 2/10: ladvise speed: 0.997118 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.640208 Iter 3/10: OSS cache speed: 0.752665 Iter 3/10: ladvise speed: 1.05009 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 1.12418 Iter 4/10: OSS cache speed: 1.32327 Iter 4/10: ladvise speed: 1.24637 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.888292 Iter 5/10: OSS cache speed: 1.3716 Iter 5/10: ladvise speed: 1.12016 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.917049 Iter 6/10: OSS cache speed: 1.30567 Iter 6/10: ladvise speed: 1.71911 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 1.18186 Iter 7/10: OSS cache speed: 1.63011 Iter 7/10: ladvise speed: 1.66412 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 1.20661 Iter 8/10: OSS cache speed: 1.62936 Iter 8/10: ladvise speed: 1.91453 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 1.40131 Iter 9/10: OSS cache speed: 1.74471 Iter 9/10: ladvise speed: 1.79083 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 1.74798 Iter 10/10: OSS cache speed: 1.78628 Iter 10/10: ladvise speed: 2.20911 Average uncached read: 1.03 Average speedup with OSS cached read: 1.31 = +27% Average speedup with ladvise willread: 1.43 = +38% fail_loc=0