== sanity test 255a: check 'lfs ladvise -a willread' ===== 16:00:18 (1710100818) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 3.05696 s, 34.3 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 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.792203 Iter 1/10: OSS cache speed: 0.217168 Iter 1/10: ladvise speed: 0.179336 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.0262323 Iter 2/10: OSS cache speed: 0.0159266 Iter 2/10: ladvise speed: 0.0553394 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.028999 Iter 3/10: OSS cache speed: 0.0281991 Iter 3/10: ladvise speed: 0.0317981 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.0902174 Iter 4/10: OSS cache speed: 0.0754116 Iter 4/10: ladvise speed: 0.0468157 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.0361816 Iter 5/10: OSS cache speed: 0.0228102 Iter 5/10: ladvise speed: 0.0302824 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.0330261 Iter 6/10: OSS cache speed: 0.0283276 Iter 6/10: ladvise speed: 0.0837529 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.0362053 Iter 7/10: OSS cache speed: 0.0489081 Iter 7/10: ladvise speed: 0.0415695 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.0427264 Iter 8/10: OSS cache speed: 0.0675839 Iter 8/10: ladvise speed: 0.0251016 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.0598554 Iter 9/10: OSS cache speed: 0.16656 Iter 9/10: ladvise speed: 0.101742 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.587309 Iter 10/10: OSS cache speed: 1.38582 Iter 10/10: ladvise speed: 1.91855 Average uncached read: .17 Average speedup with OSS cached read: .20 = +17.64% Average speedup with ladvise willread: .25 = +47.05% Speedup with OSS cached read less than 20%, got 17.64%. Skipping ladvise willread check. fail_loc=0