== sanity test 255a: check 'lfs ladvise -a willread' ===== 04:58:21 (1713344301) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 0.657952 s, 159 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.2904 Iter 1/10: OSS cache speed: 3.89828 Iter 1/10: ladvise speed: 3.25264 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 2.73006 Iter 2/10: OSS cache speed: 5.62487 Iter 2/10: ladvise speed: 4.42379 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 4.20774 Iter 3/10: OSS cache speed: 5.79027 Iter 3/10: ladvise speed: 6.51443 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 4.83734 Iter 4/10: OSS cache speed: 5.60512 Iter 4/10: ladvise speed: 5.14199 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 4.55371 Iter 5/10: OSS cache speed: 6.25441 Iter 5/10: ladvise speed: 6.94245 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 5.37687 Iter 6/10: OSS cache speed: 5.67204 Iter 6/10: ladvise speed: 6.19416 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 5.34026 Iter 7/10: OSS cache speed: 6.05725 Iter 7/10: ladvise speed: 5.3714 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 5.32121 Iter 8/10: OSS cache speed: 5.61977 Iter 8/10: ladvise speed: 6.05403 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 5.96 Iter 9/10: OSS cache speed: 6.3784 Iter 9/10: ladvise speed: 6.35013 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 5.13386 Iter 10/10: OSS cache speed: 5.05541 Iter 10/10: ladvise speed: 5.38272 Average uncached read: 4.77 Average speedup with OSS cached read: 5.59 = +17.19% Average speedup with ladvise willread: 5.56 = +16.56% Speedup with OSS cached read less than 20%, got 5.59%. Skipping ladvise willread check.