== sanity test 255a: check 'lfs ladvise -a willread' ===== 16:47:00 (1771969620) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 0.728277 s, 144 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: 3.81492 Iter 1/10: OSS cache speed: 5.56143 Iter 1/10: ladvise speed: 5.7845 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 4.85463 Iter 2/10: OSS cache speed: 5.86656 Iter 2/10: ladvise speed: 4.79629 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 4.26313 Iter 3/10: OSS cache speed: 5.12295 Iter 3/10: ladvise speed: 5.5114 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 4.8015 Iter 4/10: OSS cache speed: 5.85904 Iter 4/10: ladvise speed: 5.88954 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 4.63047 Iter 5/10: OSS cache speed: 5.44744 Iter 5/10: ladvise speed: 5.09682 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 4.4407 Iter 6/10: OSS cache speed: 5.9294 Iter 6/10: ladvise speed: 5.71451 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 4.63094 Iter 7/10: OSS cache speed: 5.9991 Iter 7/10: ladvise speed: 5.92078 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 4.89027 Iter 8/10: OSS cache speed: 5.90733 Iter 8/10: ladvise speed: 5.74915 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 3.954 Iter 9/10: OSS cache speed: 5.81094 Iter 9/10: ladvise speed: 5.88981 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 4.26668 Iter 10/10: OSS cache speed: 5.89431 Iter 10/10: ladvise speed: 3.93352 Average uncached read: 4.45 Average speedup with OSS cached read: 5.73 = +28.76% Average speedup with ladvise willread: 5.42 = +21.79% Speedup with OSS cached read less than 20%, got 5.73%. Skipping ladvise willread check.