== sanity test 255a: check 'lfs ladvise -a willread' ===== 19:40:29 (1788910829) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 8.19763 s, 12.8 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-ffff95bf0a40f800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.623415 Iter 1/10: OSS cache speed: 0.624042 Iter 1/10: ladvise speed: 0.757159 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.816055 Iter 2/10: OSS cache speed: 0.840455 Iter 2/10: ladvise speed: 0.993315 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 1.20815 Iter 3/10: OSS cache speed: 1.19343 Iter 3/10: ladvise speed: 1.21334 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 1.2339 Iter 4/10: OSS cache speed: 1.17144 Iter 4/10: ladvise speed: 1.2932 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 1.07263 Iter 5/10: OSS cache speed: 1.04313 Iter 5/10: ladvise speed: 1.19989 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 1.29983 Iter 6/10: OSS cache speed: 1.59266 Iter 6/10: ladvise speed: 1.91048 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 1.96408 Iter 7/10: OSS cache speed: 1.97514 Iter 7/10: ladvise speed: 2.22521 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 1.97461 Iter 8/10: OSS cache speed: 2.02282 Iter 8/10: ladvise speed: 2.15002 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 2.11091 Iter 9/10: OSS cache speed: 2.14631 Iter 9/10: ladvise speed: 2.02814 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 1.83658 Iter 10/10: OSS cache speed: 2.01637 Iter 10/10: ladvise speed: 0.623335 Average uncached read: 1.41 Average speedup with OSS cached read: 1.46 = +3% Average speedup with ladvise willread: 1.43 = +1% Speedup with OSS cached read less than 20%, got 3%. Skipping ladvise willread check. fail_loc=0