== sanity test 255a: check 'lfs ladvise -a willread' ===== 10:46:50 (1760453210) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 0.794856 s, 132 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: 4.88979 Iter 1/10: OSS cache speed: 5.37319 Iter 1/10: ladvise speed: 5.17263 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 4.47677 Iter 2/10: OSS cache speed: 5.05176 Iter 2/10: ladvise speed: 5.81249 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 4.97356 Iter 3/10: OSS cache speed: 5.35492 Iter 3/10: ladvise speed: 6.28397 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 4.86234 Iter 4/10: OSS cache speed: 5.45741 Iter 4/10: ladvise speed: 5.53702 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 4.70187 Iter 5/10: OSS cache speed: 5.43736 Iter 5/10: ladvise speed: 5.58111 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 4.93294 Iter 6/10: OSS cache speed: 5.60159 Iter 6/10: ladvise speed: 5.92688 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 4.56144 Iter 7/10: OSS cache speed: 6.17458 Iter 7/10: ladvise speed: 5.55276 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 5.55249 Iter 8/10: OSS cache speed: 5.54193 Iter 8/10: ladvise speed: 5.39956 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 4.68604 Iter 9/10: OSS cache speed: 5.43326 Iter 9/10: ladvise speed: 5.12997 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 4.70326 Iter 10/10: OSS cache speed: 5.53163 Iter 10/10: ladvise speed: 4.89539 Average uncached read: 4.83 Average speedup with OSS cached read: 5.49 = +13.66% Average speedup with ladvise willread: 5.52 = +14.28% Speedup with OSS cached read less than 20%, got 5.49%. Skipping ladvise willread check.