== sanity test 255a: check 'lfs ladvise -a willread' ===== 10:02:35 (1788876155) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 6.21566 s, 16.9 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-ffff91df207c4000.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 2.58809 Iter 1/10: OSS cache speed: 2.75425 Iter 1/10: ladvise speed: 2.88034 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 2.37318 Iter 2/10: OSS cache speed: 2.63183 Iter 2/10: ladvise speed: 2.57241 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 2.56116 Iter 3/10: OSS cache speed: 2.81594 Iter 3/10: ladvise speed: 2.80856 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 2.65689 Iter 4/10: OSS cache speed: 2.941 Iter 4/10: ladvise speed: 2.56263 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 2.40703 Iter 5/10: OSS cache speed: 2.51704 Iter 5/10: ladvise speed: 2.79572 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 2.3852 Iter 6/10: OSS cache speed: 2.77888 Iter 6/10: ladvise speed: 2.85943 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 2.36996 Iter 7/10: OSS cache speed: 2.60498 Iter 7/10: ladvise speed: 2.83956 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 2.38153 Iter 8/10: OSS cache speed: 2.62645 Iter 8/10: ladvise speed: 2.67934 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 2.40928 Iter 9/10: OSS cache speed: 2.62068 Iter 9/10: ladvise speed: 2.95818 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 2.62363 Iter 10/10: OSS cache speed: 2.66781 Iter 10/10: ladvise speed: 2.52795 Average uncached read: 2.47 Average speedup with OSS cached read: 2.69 = +8% Average speedup with ladvise willread: 2.74 = +10% Speedup with OSS cached read less than 20%, got 8%. Skipping ladvise willread check. fail_loc=0