== sanity test 255a: check 'lfs ladvise -a willread' ===== 04:56:44 (1784278604) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 6.85051 s, 15.3 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-ffff94b5d9f4d800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.39935 Iter 1/10: OSS cache speed: 0.356402 Iter 1/10: ladvise speed: 0.432075 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.429166 Iter 2/10: OSS cache speed: 0.469951 Iter 2/10: ladvise speed: 0.487315 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.431606 Iter 3/10: OSS cache speed: 0.50655 Iter 3/10: ladvise speed: 0.504913 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.438129 Iter 4/10: OSS cache speed: 0.445974 Iter 4/10: ladvise speed: 0.571723 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.516517 Iter 5/10: OSS cache speed: 0.581338 Iter 5/10: ladvise speed: 0.644489 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.518198 Iter 6/10: OSS cache speed: 0.612125 Iter 6/10: ladvise speed: 0.615894 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.590362 Iter 7/10: OSS cache speed: 0.659867 Iter 7/10: ladvise speed: 0.726683 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.614563 Iter 8/10: OSS cache speed: 0.685988 Iter 8/10: ladvise speed: 0.713361 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.638703 Iter 9/10: OSS cache speed: 0.826904 Iter 9/10: ladvise speed: 0.760701 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.697027 Iter 10/10: OSS cache speed: 0.89385 Iter 10/10: ladvise speed: 0.486609 Average uncached read: .52 Average speedup with OSS cached read: .60 = +15% Average speedup with ladvise willread: .59 = +13% Speedup with OSS cached read less than 20%, got 15%. Skipping ladvise willread check. fail_loc=0