== sanity test 255a: check 'lfs ladvise -a willread' ===== 21:53:59 (1781229239) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 14.9113 s, 7.0 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-ffff8d5912eb0800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.307133 Iter 1/10: OSS cache speed: 0.359909 Iter 1/10: ladvise speed: 0.341066 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.344198 Iter 2/10: OSS cache speed: 0.3752 Iter 2/10: ladvise speed: 0.356401 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.357327 Iter 3/10: OSS cache speed: 0.367113 Iter 3/10: ladvise speed: 0.340043 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.359933 Iter 4/10: OSS cache speed: 0.397473 Iter 4/10: ladvise speed: 0.419561 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.353035 Iter 5/10: OSS cache speed: 0.386427 Iter 5/10: ladvise speed: 0.401898 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.333531 Iter 6/10: OSS cache speed: 0.352646 Iter 6/10: ladvise speed: 0.328084 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.346385 Iter 7/10: OSS cache speed: 0.333498 Iter 7/10: ladvise speed: 0.359688 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.366114 Iter 8/10: OSS cache speed: 0.386338 Iter 8/10: ladvise speed: 0.37217 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.332566 Iter 9/10: OSS cache speed: 0.357004 Iter 9/10: ladvise speed: 0.295054 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.293795 Iter 10/10: OSS cache speed: 0.310171 Iter 10/10: ladvise speed: 0.329912 Average uncached read: .33 Average speedup with OSS cached read: .36 = +9% Average speedup with ladvise willread: .35 = +6% Speedup with OSS cached read less than 20%, got 9%. Skipping ladvise willread check. fail_loc=0