== sanity test 255a: check 'lfs ladvise -a willread' ===== 12:24:18 (1777911858) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 6.47488 s, 16.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-ffff95e903afc800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 1.5832 Iter 1/10: OSS cache speed: 1.6958 Iter 1/10: ladvise speed: 2.0258 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 2.08452 Iter 2/10: OSS cache speed: 2.25371 Iter 2/10: ladvise speed: 2.57307 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 2.21017 Iter 3/10: OSS cache speed: 2.55623 Iter 3/10: ladvise speed: 2.45436 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 2.3117 Iter 4/10: OSS cache speed: 2.31722 Iter 4/10: ladvise speed: 2.56772 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 2.18858 Iter 5/10: OSS cache speed: 2.50647 Iter 5/10: ladvise speed: 2.71195 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 2.40341 Iter 6/10: OSS cache speed: 2.59546 Iter 6/10: ladvise speed: 2.5831 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 2.31295 Iter 7/10: OSS cache speed: 2.42295 Iter 7/10: ladvise speed: 2.43389 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 2.17743 Iter 8/10: OSS cache speed: 2.67208 Iter 8/10: ladvise speed: 2.79188 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 2.20468 Iter 9/10: OSS cache speed: 2.53872 Iter 9/10: ladvise speed: 2.42384 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 2.43931 Iter 10/10: OSS cache speed: 2.70227 Iter 10/10: ladvise speed: 2.59251 Average uncached read: 2.19 Average speedup with OSS cached read: 2.42 = +10% Average speedup with ladvise willread: 2.51 = +14% Speedup with OSS cached read less than 20%, got 10%. Skipping ladvise willread check. fail_loc=0