== sanity test 255a: check 'lfs ladvise -a willread' ===== 07:51:15 (1775044275) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 6.36898 s, 16.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-ffffa08a51cc6000.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.839439 Iter 1/10: OSS cache speed: 1.0807 Iter 1/10: ladvise speed: 1.21288 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.90155 Iter 2/10: OSS cache speed: 1.18222 Iter 2/10: ladvise speed: 1.66946 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 1.52453 Iter 3/10: OSS cache speed: 1.95163 Iter 3/10: ladvise speed: 1.97347 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 2.07929 Iter 4/10: OSS cache speed: 2.08693 Iter 4/10: ladvise speed: 2.43588 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 2.16533 Iter 5/10: OSS cache speed: 2.21594 Iter 5/10: ladvise speed: 2.26267 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 2.09057 Iter 6/10: OSS cache speed: 2.27612 Iter 6/10: ladvise speed: 2.36672 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 1.95826 Iter 7/10: OSS cache speed: 2.24532 Iter 7/10: ladvise speed: 2.51173 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 2.18391 Iter 8/10: OSS cache speed: 2.53866 Iter 8/10: ladvise speed: 2.50882 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 2.3123 Iter 9/10: OSS cache speed: 2.30775 Iter 9/10: ladvise speed: 2.43665 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 2.23207 Iter 10/10: OSS cache speed: 2.38742 Iter 10/10: ladvise speed: 2.45701 Average uncached read: 1.82 Average speedup with OSS cached read: 2.02 = +10% Average speedup with ladvise willread: 2.18 = +19% Speedup with OSS cached read less than 20%, got 10%. Skipping ladvise willread check. fail_loc=0