== sanity test 255a: check 'lfs ladvise -a willread' ===== 04:55:11 (1715331311) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 3.36677 s, 31.1 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.343695 Iter 1/10: OSS cache speed: 0.067698 Iter 1/10: ladvise speed: 0.534298 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 1.4553 Iter 2/10: OSS cache speed: 0.63379 Iter 2/10: ladvise speed: 0.617893 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.506902 Iter 3/10: OSS cache speed: 1.47573 Iter 3/10: ladvise speed: 0.409042 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.527433 Iter 4/10: OSS cache speed: 0.889894 Iter 4/10: ladvise speed: 0.661943 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.315245 Iter 5/10: OSS cache speed: 0.708278 Iter 5/10: ladvise speed: 0.197405 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.588592 Iter 6/10: OSS cache speed: 0.883777 Iter 6/10: ladvise speed: 1.35866 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.404904 Iter 7/10: OSS cache speed: 0.481001 Iter 7/10: ladvise speed: 0.705472 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 1.26029 Iter 8/10: OSS cache speed: 1.12888 Iter 8/10: ladvise speed: 1.78172 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 1.05195 Iter 9/10: OSS cache speed: 2.12442 Iter 9/10: ladvise speed: 2.00027 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 1.98828 Iter 10/10: OSS cache speed: 1.94381 Iter 10/10: ladvise speed: 2.841 Average uncached read: .84 Average speedup with OSS cached read: 1.03 = +22.61% Average speedup with ladvise willread: 1.11 = +32.14% fail_loc=0