== sanity test 255a: check 'lfs ladvise -a willread' ===== 04:32:43 (1743496363) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 20.6556 s, 5.1 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-ffff9f00508a9000.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.259639 Iter 1/10: OSS cache speed: 0.272339 Iter 1/10: ladvise speed: 0.292439 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.253913 Iter 2/10: OSS cache speed: 0.265354 Iter 2/10: ladvise speed: 0.262165 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.2466 Iter 3/10: OSS cache speed: 0.263453 Iter 3/10: ladvise speed: 0.295447 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.258656 Iter 4/10: OSS cache speed: 0.312518 Iter 4/10: ladvise speed: 0.317009 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.286438 Iter 5/10: OSS cache speed: 0.315613 Iter 5/10: ladvise speed: 0.329318 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.319632 Iter 6/10: OSS cache speed: 0.353148 Iter 6/10: ladvise speed: 0.357939 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.344795 Iter 7/10: OSS cache speed: 0.426588 Iter 7/10: ladvise speed: 0.410282 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.365604 Iter 8/10: OSS cache speed: 0.396797 Iter 8/10: ladvise speed: 0.423753 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.392251 Iter 9/10: OSS cache speed: 0.43199 Iter 9/10: ladvise speed: 0.431206 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.399822 Iter 10/10: OSS cache speed: 0.441091 Iter 10/10: ladvise speed: 0.453186 Average uncached read: .31 Average speedup with OSS cached read: .34 = +9% Average speedup with ladvise willread: .35 = +12% Speedup with OSS cached read less than 20%, got 9%. Skipping ladvise willread check. fail_loc=0