== sanity test 255a: check 'lfs ladvise -a willread' ===== 13:54:54 (1713290094) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 2.63321 s, 39.8 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.43161 Iter 1/10: OSS cache speed: 1.7585 Iter 1/10: ladvise speed: 1.7112 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 1.44641 Iter 2/10: OSS cache speed: 1.69543 Iter 2/10: ladvise speed: 1.69873 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 1.43606 Iter 3/10: OSS cache speed: 1.66586 Iter 3/10: ladvise speed: 1.67905 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 1.43736 Iter 4/10: OSS cache speed: 1.61432 Iter 4/10: ladvise speed: 1.65108 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 1.38314 Iter 5/10: OSS cache speed: 1.64554 Iter 5/10: ladvise speed: 1.65399 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 1.3967 Iter 6/10: OSS cache speed: 1.69328 Iter 6/10: ladvise speed: 1.66631 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 1.39059 Iter 7/10: OSS cache speed: 1.60773 Iter 7/10: ladvise speed: 1.64077 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 1.37782 Iter 8/10: OSS cache speed: 1.61216 Iter 8/10: ladvise speed: 1.61395 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 1.36709 Iter 9/10: OSS cache speed: 1.59548 Iter 9/10: ladvise speed: 1.6354 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 1.36137 Iter 10/10: OSS cache speed: 1.59658 Iter 10/10: ladvise speed: 1.62128 Average uncached read: 1.40 Average speedup with OSS cached read: 1.64 = +17.14% Average speedup with ladvise willread: 1.65 = +17.85% Speedup with OSS cached read less than 20%, got 17.14%. Skipping ladvise willread check. fail_loc=0