== sanity test 255a: check 'lfs ladvise -a willread' ===== 14:27:35 (1787855255) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 15.0558 s, 7.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-ffff8b87c7ceb800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.289235 Iter 1/10: OSS cache speed: 0.369947 Iter 1/10: ladvise speed: 0.432154 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.372578 Iter 2/10: OSS cache speed: 0.429765 Iter 2/10: ladvise speed: 0.450145 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.350442 Iter 3/10: OSS cache speed: 0.441025 Iter 3/10: ladvise speed: 0.450258 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.342171 Iter 4/10: OSS cache speed: 0.403375 Iter 4/10: ladvise speed: 0.420899 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.377297 Iter 5/10: OSS cache speed: 0.419543 Iter 5/10: ladvise speed: 0.388267 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.375586 Iter 6/10: OSS cache speed: 0.364153 Iter 6/10: ladvise speed: 0.403602 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.35803 Iter 7/10: OSS cache speed: 0.413121 Iter 7/10: ladvise speed: 0.416235 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.334302 Iter 8/10: OSS cache speed: 0.403281 Iter 8/10: ladvise speed: 0.380837 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.356596 Iter 9/10: OSS cache speed: 0.427883 Iter 9/10: ladvise speed: 0.385235 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.350255 Iter 10/10: OSS cache speed: 0.415973 Iter 10/10: ladvise speed: 0.429372 Average uncached read: .35 Average speedup with OSS cached read: .40 = +14% Average speedup with ladvise willread: .41 = +17% Speedup with OSS cached read less than 20%, got 14%. Skipping ladvise willread check. fail_loc=0