== sanity test 255a: check 'lfs ladvise -a willread' ===== 14:25:25 (1767727525) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 8.31119 s, 12.6 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-ffff913be2253800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.643252 Iter 1/10: OSS cache speed: 0.734623 Iter 1/10: ladvise speed: 0.868431 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.682282 Iter 2/10: OSS cache speed: 0.874219 Iter 2/10: ladvise speed: 0.891051 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.731923 Iter 3/10: OSS cache speed: 0.818755 Iter 3/10: ladvise speed: 0.808568 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.767225 Iter 4/10: OSS cache speed: 0.863217 Iter 4/10: ladvise speed: 0.957588 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.72037 Iter 5/10: OSS cache speed: 0.831055 Iter 5/10: ladvise speed: 0.830155 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.82178 Iter 6/10: OSS cache speed: 0.886216 Iter 6/10: ladvise speed: 1.02716 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.891311 Iter 7/10: OSS cache speed: 1.04084 Iter 7/10: ladvise speed: 0.912753 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.91084 Iter 8/10: OSS cache speed: 1.30351 Iter 8/10: ladvise speed: 1.05155 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 1.04588 Iter 9/10: OSS cache speed: 1.11841 Iter 9/10: ladvise speed: 2.01385 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 1.75381 Iter 10/10: OSS cache speed: 1.98978 Iter 10/10: ladvise speed: 2.13895 Average uncached read: .89 Average speedup with OSS cached read: 1.04 = +16% Average speedup with ladvise willread: 1.15 = +29% Speedup with OSS cached read less than 20%, got 16%. Skipping ladvise willread check. fail_loc=0