== sanity test 255a: check 'lfs ladvise -a willread' ===== 04:14:33 (1712477673) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 2.50274 s, 41.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 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 1.45735 Iter 1/10: OSS cache speed: 1.6656 Iter 1/10: ladvise speed: 1.70947 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 1.4478 Iter 2/10: OSS cache speed: 1.67378 Iter 2/10: ladvise speed: 1.67776 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 1.43457 Iter 3/10: OSS cache speed: 1.68838 Iter 3/10: ladvise speed: 1.72935 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 1.67248 Iter 4/10: OSS cache speed: 1.84099 Iter 4/10: ladvise speed: 1.82358 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 1.42044 Iter 5/10: OSS cache speed: 1.68482 Iter 5/10: ladvise speed: 2.62666 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 2.62877 Iter 6/10: OSS cache speed: 2.82678 Iter 6/10: ladvise speed: 1.63845 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 1.79293 Iter 7/10: OSS cache speed: 2.53188 Iter 7/10: ladvise speed: 2.50295 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 2.63705 Iter 8/10: OSS cache speed: 3.30892 Iter 8/10: ladvise speed: 3.12986 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 2.01668 Iter 9/10: OSS cache speed: 2.60321 Iter 9/10: ladvise speed: 1.80245 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 1.96538 Iter 10/10: OSS cache speed: 2.66495 Iter 10/10: ladvise speed: 3.21261 Average uncached read: 1.84 Average speedup with OSS cached read: 2.24 = +21.73% Average speedup with ladvise willread: 2.18 = +18.47% fail_loc=0