== sanity test 255a: check 'lfs ladvise -a willread' ===== 17:02:28 (1786482148) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 8.99797 s, 11.7 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 llite.lustre-ffff9bffd14bb000.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.513241 Iter 1/10: OSS cache speed: 0.6266 Iter 1/10: ladvise speed: 0.614282 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.54852 Iter 2/10: OSS cache speed: 0.613921 Iter 2/10: ladvise speed: 0.598335 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.516529 Iter 3/10: OSS cache speed: 0.618539 Iter 3/10: ladvise speed: 0.638778 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.547739 Iter 4/10: OSS cache speed: 0.622657 Iter 4/10: ladvise speed: 0.634022 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.55764 Iter 5/10: OSS cache speed: 0.642582 Iter 5/10: ladvise speed: 0.800874 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.598641 Iter 6/10: OSS cache speed: 0.747996 Iter 6/10: ladvise speed: 0.796518 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.743443 Iter 7/10: OSS cache speed: 1.04796 Iter 7/10: ladvise speed: 0.995837 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 1.09784 Iter 8/10: OSS cache speed: 1.36219 Iter 8/10: ladvise speed: 1.40511 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.992751 Iter 9/10: OSS cache speed: 0.993306 Iter 9/10: ladvise speed: 0.421695 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.258986 Iter 10/10: OSS cache speed: 0.260366 Iter 10/10: ladvise speed: 0.382103 Average uncached read: .63 Average speedup with OSS cached read: .75 = +19% Average speedup with ladvise willread: .72 = +14% Speedup with OSS cached read less than 20%, got 19%. Skipping ladvise willread check. fail_loc=0