== sanity test 255a: check 'lfs ladvise -a willread' ===== 08:16:17 (1790943377) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 16.7079 s, 6.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-ffff9d8802fbb000.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.31525 Iter 1/10: OSS cache speed: 0.350082 Iter 1/10: ladvise speed: 0.354149 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.261964 Iter 2/10: OSS cache speed: 0.294699 Iter 2/10: ladvise speed: 0.386803 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.360197 Iter 3/10: OSS cache speed: 0.273325 Iter 3/10: ladvise speed: 0.318082 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.3313 Iter 4/10: OSS cache speed: 0.333608 Iter 4/10: ladvise speed: 0.321772 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.309056 Iter 5/10: OSS cache speed: 0.327593 Iter 5/10: ladvise speed: 0.281738 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.287961 Iter 6/10: OSS cache speed: 0.351835 Iter 6/10: ladvise speed: 0.320671 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.354951 Iter 7/10: OSS cache speed: 0.395023 Iter 7/10: ladvise speed: 0.368749 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.40613 Iter 8/10: OSS cache speed: 0.413402 Iter 8/10: ladvise speed: 0.475242 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.436992 Iter 9/10: OSS cache speed: 0.417953 Iter 9/10: ladvise speed: 0.33062 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.367358 Iter 10/10: OSS cache speed: 0.385915 Iter 10/10: ladvise speed: 0.402615 Average uncached read: .34 Average speedup with OSS cached read: .35 = +2% Average speedup with ladvise willread: .35 = +2% Speedup with OSS cached read less than 20%, got 2%. Skipping ladvise willread check. fail_loc=0