== sanity test 255a: check 'lfs ladvise -a willread' ===== 12:29:08 (1709054948) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 2.90439 s, 36.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.0167374 Iter 1/10: OSS cache speed: 0.0112054 Iter 1/10: ladvise speed: 0.112798 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.00390859 Iter 2/10: OSS cache speed: 0.00721145 Iter 2/10: ladvise speed: 0.0273606 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.126181 Iter 3/10: OSS cache speed: 0.570599 Iter 3/10: ladvise speed: 0.128141 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.493957 Iter 4/10: OSS cache speed: 0.334278 Iter 4/10: ladvise speed: 0.047956 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.0959033 Iter 5/10: OSS cache speed: 0.175786 Iter 5/10: ladvise speed: 0.184106 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.152488 Iter 6/10: OSS cache speed: 0.327483 Iter 6/10: ladvise speed: 0.027683 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.381201 Iter 7/10: OSS cache speed: 0.118808 Iter 7/10: ladvise speed: 0.0734813 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.288358 Iter 8/10: OSS cache speed: 0.0688277 Iter 8/10: ladvise speed: 0.162546 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.0865989 Iter 9/10: OSS cache speed: 0.0944005 Iter 9/10: ladvise speed: 0.151103 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.0427004 Iter 10/10: OSS cache speed: 0.196775 Iter 10/10: ladvise speed: 0.626868 Average uncached read: .16 Average speedup with OSS cached read: .19 = +18.75% Average speedup with ladvise willread: .15 = +-6.25% Speedup with OSS cached read less than 20%, got 18.75%. Skipping ladvise willread check. fail_loc=0