== sanity test 255a: check 'lfs ladvise -a willread' ===== 19:39:41 (1788392381) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 7.22296 s, 14.5 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-ffff8c2b4888d800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.992281 Iter 1/10: OSS cache speed: 1.2152 Iter 1/10: ladvise speed: 1.30383 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 1.14975 Iter 2/10: OSS cache speed: 1.45644 Iter 2/10: ladvise speed: 0.772851 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.572074 Iter 3/10: OSS cache speed: 0.702575 Iter 3/10: ladvise speed: 0.782884 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.391468 Iter 4/10: OSS cache speed: 0.285416 Iter 4/10: ladvise speed: 0.469249 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.417208 Iter 5/10: OSS cache speed: 0.436517 Iter 5/10: ladvise speed: 0.433234 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.439272 Iter 6/10: OSS cache speed: 0.41549 Iter 6/10: ladvise speed: 0.408361 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.40922 Iter 7/10: OSS cache speed: 0.486568 Iter 7/10: ladvise speed: 0.406798 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.354102 Iter 8/10: OSS cache speed: 0.437062 Iter 8/10: ladvise speed: 0.394643 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.368649 Iter 9/10: OSS cache speed: 0.408838 Iter 9/10: ladvise speed: 0.451521 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.425458 Iter 10/10: OSS cache speed: 0.440179 Iter 10/10: ladvise speed: 0.410743 Average uncached read: .55 Average speedup with OSS cached read: .62 = +12% Average speedup with ladvise willread: .58 = +5% Speedup with OSS cached read less than 20%, got 12%. Skipping ladvise willread check. fail_loc=0