== sanity test 255a: check 'lfs ladvise -a willread' ===== 10:20:11 (1786371611) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 6.6233 s, 15.8 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-ffff9fe98a2db800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.531816 Iter 1/10: OSS cache speed: 0.653645 Iter 1/10: ladvise speed: 0.679126 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.629915 Iter 2/10: OSS cache speed: 0.691353 Iter 2/10: ladvise speed: 0.709225 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.649735 Iter 3/10: OSS cache speed: 0.745928 Iter 3/10: ladvise speed: 0.941084 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.894694 Iter 4/10: OSS cache speed: 1.03521 Iter 4/10: ladvise speed: 1.29054 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 1.19927 Iter 5/10: OSS cache speed: 1.46213 Iter 5/10: ladvise speed: 1.44673 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 1.53465 Iter 6/10: OSS cache speed: 1.37924 Iter 6/10: ladvise speed: 1.40219 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.679561 Iter 7/10: OSS cache speed: 0.85431 Iter 7/10: ladvise speed: 0.905587 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.824425 Iter 8/10: OSS cache speed: 1.04237 Iter 8/10: ladvise speed: 1.05553 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.921327 Iter 9/10: OSS cache speed: 1.18891 Iter 9/10: ladvise speed: 1.36345 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 1.46192 Iter 10/10: OSS cache speed: 1.10344 Iter 10/10: ladvise speed: 0.999197 Average uncached read: .93 Average speedup with OSS cached read: 1.01 = +8% Average speedup with ladvise willread: 1.07 = +15% Speedup with OSS cached read less than 20%, got 8%. Skipping ladvise willread check. fail_loc=0