== sanity test 255a: check 'lfs ladvise -a willread' ===== 21:12:46 (1713402766) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 2.75115 s, 38.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: 1.5361 Iter 1/10: OSS cache speed: 1.64883 Iter 1/10: ladvise speed: 1.72488 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 1.4349 Iter 2/10: OSS cache speed: 1.62946 Iter 2/10: ladvise speed: 1.95225 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 1.42899 Iter 3/10: OSS cache speed: 1.65923 Iter 3/10: ladvise speed: 1.68589 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 1.46351 Iter 4/10: OSS cache speed: 1.82234 Iter 4/10: ladvise speed: 1.7053 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 1.42171 Iter 5/10: OSS cache speed: 1.7033 Iter 5/10: ladvise speed: 1.7019 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 1.389 Iter 6/10: OSS cache speed: 1.65019 Iter 6/10: ladvise speed: 1.71879 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 1.40111 Iter 7/10: OSS cache speed: 1.68094 Iter 7/10: ladvise speed: 1.81553 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 1.38573 Iter 8/10: OSS cache speed: 1.73603 Iter 8/10: ladvise speed: 1.77638 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 1.40008 Iter 9/10: OSS cache speed: 1.92404 Iter 9/10: ladvise speed: 1.79715 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 1.40513 Iter 10/10: OSS cache speed: 1.99173 Iter 10/10: ladvise speed: 1.67531 Average uncached read: 1.42 Average speedup with OSS cached read: 1.74 = +22.53% Average speedup with ladvise willread: 1.75 = +23.23% fail_loc=0