== sanity test 255a: check 'lfs ladvise -a willread' ===== 13:25:23 (1741627523) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 2.36696 s, 44.3 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-ffff8800b6243800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 2.54911 Iter 1/10: OSS cache speed: 2.88633 Iter 1/10: ladvise speed: 2.85839 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 2.76215 Iter 2/10: OSS cache speed: 3.15191 Iter 2/10: ladvise speed: 3.24717 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 2.95908 Iter 3/10: OSS cache speed: 3.30043 Iter 3/10: ladvise speed: 3.19712 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 2.94523 Iter 4/10: OSS cache speed: 2.91129 Iter 4/10: ladvise speed: 2.81828 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 2.69392 Iter 5/10: OSS cache speed: 3.25499 Iter 5/10: ladvise speed: 2.45464 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 2.60616 Iter 6/10: OSS cache speed: 2.74631 Iter 6/10: ladvise speed: 2.17779 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 2.44987 Iter 7/10: OSS cache speed: 2.81886 Iter 7/10: ladvise speed: 2.97918 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 2.69813 Iter 8/10: OSS cache speed: 2.8403 Iter 8/10: ladvise speed: 2.8304 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 2.79926 Iter 9/10: OSS cache speed: 3.46825 Iter 9/10: ladvise speed: 3.13993 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 2.85136 Iter 10/10: OSS cache speed: 2.99055 Iter 10/10: ladvise speed: 3.08636 Average uncached read: 2.73 Average speedup with OSS cached read: 3.03 = +10% Average speedup with ladvise willread: 2.87 = +5% Speedup with OSS cached read less than 20%, got 10%. Skipping ladvise willread check. fail_loc=0