== sanity test 255a: check 'lfs ladvise -a willread' ===== 10:44:49 (1736264689) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 0.552424 s, 190 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: 4.6872 Iter 1/10: OSS cache speed: 4.68272 Iter 1/10: ladvise speed: 5.37367 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 5.30275 Iter 2/10: OSS cache speed: 5.39941 Iter 2/10: ladvise speed: 4.87747 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 5.0332 Iter 3/10: OSS cache speed: 4.76477 Iter 3/10: ladvise speed: 5.21867 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 4.56005 Iter 4/10: OSS cache speed: 5.00759 Iter 4/10: ladvise speed: 5.34626 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 4.92204 Iter 5/10: OSS cache speed: 4.77523 Iter 5/10: ladvise speed: 4.85206 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 4.97078 Iter 6/10: OSS cache speed: 4.80264 Iter 6/10: ladvise speed: 4.75016 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 4.93933 Iter 7/10: OSS cache speed: 4.94553 Iter 7/10: ladvise speed: 4.8159 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 4.72862 Iter 8/10: OSS cache speed: 5.23235 Iter 8/10: ladvise speed: 5.16731 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 5.31396 Iter 9/10: OSS cache speed: 5.20111 Iter 9/10: ladvise speed: 4.88429 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 5.30894 Iter 10/10: OSS cache speed: 4.98867 Iter 10/10: ladvise speed: 4.84354 Average uncached read: 4.97 Average speedup with OSS cached read: 4.98 = +.20% Average speedup with ladvise willread: 5.01 = +.80% Speedup with OSS cached read less than 20%, got 4.98%. Skipping ladvise willread check.