== sanity test 255a: check 'lfs ladvise -a willread' ===== 13:15:43 (1761239743) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 9.72118 s, 10.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-ffff9a24c8f62800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.453318 Iter 1/10: OSS cache speed: 0.523123 Iter 1/10: ladvise speed: 0.502962 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.512256 Iter 2/10: OSS cache speed: 0.542674 Iter 2/10: ladvise speed: 0.562992 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.490242 Iter 3/10: OSS cache speed: 0.516374 Iter 3/10: ladvise speed: 0.549828 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.508308 Iter 4/10: OSS cache speed: 0.568773 Iter 4/10: ladvise speed: 0.545666 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.43099 Iter 5/10: OSS cache speed: 0.468686 Iter 5/10: ladvise speed: 0.510384 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.471503 Iter 6/10: OSS cache speed: 0.567467 Iter 6/10: ladvise speed: 0.545311 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.509112 Iter 7/10: OSS cache speed: 0.608505 Iter 7/10: ladvise speed: 0.576982 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.501704 Iter 8/10: OSS cache speed: 0.587555 Iter 8/10: ladvise speed: 0.620287 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.523628 Iter 9/10: OSS cache speed: 0.558267 Iter 9/10: ladvise speed: 0.496201 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.509225 Iter 10/10: OSS cache speed: 0.542574 Iter 10/10: ladvise speed: 0.529354 Average uncached read: .49 Average speedup with OSS cached read: .54 = +10% Average speedup with ladvise willread: .54 = +10% Speedup with OSS cached read less than 20%, got 10%. Skipping ladvise willread check. fail_loc=0