== sanity test 255a: check 'lfs ladvise -a willread' ===== 10:54:15 (1787842455) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 11.7616 s, 8.9 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-ffff8920c54b1000.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.356964 Iter 1/10: OSS cache speed: 0.47804 Iter 1/10: ladvise speed: 0.428932 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.454856 Iter 2/10: OSS cache speed: 0.500128 Iter 2/10: ladvise speed: 0.48185 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.436208 Iter 3/10: OSS cache speed: 0.494499 Iter 3/10: ladvise speed: 0.531082 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.410369 Iter 4/10: OSS cache speed: 0.523801 Iter 4/10: ladvise speed: 0.474567 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.412604 Iter 5/10: OSS cache speed: 0.472399 Iter 5/10: ladvise speed: 0.464822 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.420005 Iter 6/10: OSS cache speed: 0.477775 Iter 6/10: ladvise speed: 0.441367 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.437681 Iter 7/10: OSS cache speed: 0.472059 Iter 7/10: ladvise speed: 0.47831 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.451322 Iter 8/10: OSS cache speed: 0.53381 Iter 8/10: ladvise speed: 0.497846 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.396428 Iter 9/10: OSS cache speed: 0.472596 Iter 9/10: ladvise speed: 0.501089 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.435829 Iter 10/10: OSS cache speed: 0.463553 Iter 10/10: ladvise speed: 0.40904 Average uncached read: .42 Average speedup with OSS cached read: .48 = +14% Average speedup with ladvise willread: .47 = +11% Speedup with OSS cached read less than 20%, got 14%. Skipping ladvise willread check. fail_loc=0