== sanity test 255a: check 'lfs ladvise -a willread' ===== 09:54:45 (1761314085) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 1.63992 s, 63.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=4 fail_loc=0x237 Asynchronous ladvise shouldn't wait fail_loc=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.957229 Iter 1/10: OSS cache speed: 1.03014 Iter 1/10: ladvise speed: 0.995055 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.954957 Iter 2/10: OSS cache speed: 1.11055 Iter 2/10: ladvise speed: 1.24312 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.948617 Iter 3/10: OSS cache speed: 0.93954 Iter 3/10: ladvise speed: 1.14437 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.989824 Iter 4/10: OSS cache speed: 1.12194 Iter 4/10: ladvise speed: 1.00748 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.803288 Iter 5/10: OSS cache speed: 1.14714 Iter 5/10: ladvise speed: 1.35093 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.89218 Iter 6/10: OSS cache speed: 1.14856 Iter 6/10: ladvise speed: 1.31503 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 1.03519 Iter 7/10: OSS cache speed: 1.14288 Iter 7/10: ladvise speed: 1.18248 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.794741 Iter 8/10: OSS cache speed: 1.07144 Iter 8/10: ladvise speed: 1.20911 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.887689 Iter 9/10: OSS cache speed: 1.06713 Iter 9/10: ladvise speed: 1.06338 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.916472 Iter 10/10: OSS cache speed: 1.05817 Iter 10/10: ladvise speed: 1.1425 Average uncached read: .91 Average speedup with OSS cached read: 1.08 = +18.68% Average speedup with ladvise willread: 1.16 = +27.47% Speedup with OSS cached read less than 20%, got 1.08%. Skipping ladvise willread check.