== sanity test 255a: check 'lfs ladvise -a willread' ===== 11:09:25 (1730822965) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 0.632922 s, 166 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=4 fail_loc=0x237 Asynchronous ladvise shouldn't wait fail_loc=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 5.63889 Iter 1/10: OSS cache speed: 6.49757 Iter 1/10: ladvise speed: 6.53034 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 5.38908 Iter 2/10: OSS cache speed: 5.44737 Iter 2/10: ladvise speed: 6.34353 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 5.07094 Iter 3/10: OSS cache speed: 5.49704 Iter 3/10: ladvise speed: 5.84659 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 5.11121 Iter 4/10: OSS cache speed: 5.97881 Iter 4/10: ladvise speed: 5.80518 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 5.29947 Iter 5/10: OSS cache speed: 6.14931 Iter 5/10: ladvise speed: 5.57087 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 4.93799 Iter 6/10: OSS cache speed: 5.52103 Iter 6/10: ladvise speed: 5.29505 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 5.03303 Iter 7/10: OSS cache speed: 5.51028 Iter 7/10: ladvise speed: 6.01791 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 5.19134 Iter 8/10: OSS cache speed: 5.52976 Iter 8/10: ladvise speed: 5.52434 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 4.67219 Iter 9/10: OSS cache speed: 6.09526 Iter 9/10: ladvise speed: 6.13818 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 5.29813 Iter 10/10: OSS cache speed: 5.7703 Iter 10/10: ladvise speed: 5.28444 Average uncached read: 5.16 Average speedup with OSS cached read: 5.79 = +12.20% Average speedup with ladvise willread: 5.83 = +12.98% Speedup with OSS cached read less than 20%, got 5.79%. Skipping ladvise willread check.