== sanity test 255a: check 'lfs ladvise -a willread' ===== 02:25:57 (1787034357) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 13.0757 s, 8.0 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-ffff9b5fd15b4800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.374901 Iter 1/10: OSS cache speed: 0.322142 Iter 1/10: ladvise speed: 0.349962 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.4275 Iter 2/10: OSS cache speed: 0.411711 Iter 2/10: ladvise speed: 0.29383 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.366819 Iter 3/10: OSS cache speed: 0.454613 Iter 3/10: ladvise speed: 0.408187 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.334441 Iter 4/10: OSS cache speed: 0.478319 Iter 4/10: ladvise speed: 0.412219 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.400551 Iter 5/10: OSS cache speed: 0.387711 Iter 5/10: ladvise speed: 0.474156 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.45202 Iter 6/10: OSS cache speed: 0.412096 Iter 6/10: ladvise speed: 0.516953 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.459241 Iter 7/10: OSS cache speed: 0.38837 Iter 7/10: ladvise speed: 0.44433 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.483439 Iter 8/10: OSS cache speed: 0.48281 Iter 8/10: ladvise speed: 0.418579 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.505199 Iter 9/10: OSS cache speed: 0.543671 Iter 9/10: ladvise speed: 0.516529 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.425365 Iter 10/10: OSS cache speed: 0.525431 Iter 10/10: ladvise speed: 0.489456 Average uncached read: .42 Average speedup with OSS cached read: .44 = +4% Average speedup with ladvise willread: .43 = +2% Speedup with OSS cached read less than 20%, got 4%. Skipping ladvise willread check. fail_loc=0