== sanity test 255a: check 'lfs ladvise -a willread' ===== 21:02:34 (1781226154) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 7.06669 s, 14.8 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-ffff96c1c4582800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.770882 Iter 1/10: OSS cache speed: 1.0354 Iter 1/10: ladvise speed: 0.979604 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.716863 Iter 2/10: OSS cache speed: 0.882434 Iter 2/10: ladvise speed: 0.891603 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.713451 Iter 3/10: OSS cache speed: 0.840302 Iter 3/10: ladvise speed: 0.976331 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.730546 Iter 4/10: OSS cache speed: 0.801094 Iter 4/10: ladvise speed: 0.867854 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.775838 Iter 5/10: OSS cache speed: 0.870724 Iter 5/10: ladvise speed: 0.863038 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.763311 Iter 6/10: OSS cache speed: 0.903693 Iter 6/10: ladvise speed: 0.732525 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.84483 Iter 7/10: OSS cache speed: 0.7175 Iter 7/10: ladvise speed: 0.661481 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.632863 Iter 8/10: OSS cache speed: 0.700701 Iter 8/10: ladvise speed: 0.827744 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.682484 Iter 9/10: OSS cache speed: 0.803882 Iter 9/10: ladvise speed: 1.05399 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.781431 Iter 10/10: OSS cache speed: 0.92886 Iter 10/10: ladvise speed: 1.21722 Average uncached read: .74 Average speedup with OSS cached read: .84 = +13% Average speedup with ladvise willread: .90 = +21% Speedup with OSS cached read less than 20%, got 13%. Skipping ladvise willread check. fail_loc=0