== sanity test 255a: check 'lfs ladvise -a willread' ===== 07:58:10 (1787745490) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 14.7722 s, 7.1 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-ffff8bdb0a606800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.312522 Iter 1/10: OSS cache speed: 0.322943 Iter 1/10: ladvise speed: 0.363905 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.350017 Iter 2/10: OSS cache speed: 0.398613 Iter 2/10: ladvise speed: 0.38914 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.340926 Iter 3/10: OSS cache speed: 0.399963 Iter 3/10: ladvise speed: 0.347012 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.36287 Iter 4/10: OSS cache speed: 0.352794 Iter 4/10: ladvise speed: 0.318189 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.282773 Iter 5/10: OSS cache speed: 0.333612 Iter 5/10: ladvise speed: 0.375605 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.32196 Iter 6/10: OSS cache speed: 0.360758 Iter 6/10: ladvise speed: 0.353799 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.37552 Iter 7/10: OSS cache speed: 0.354427 Iter 7/10: ladvise speed: 0.380031 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.319197 Iter 8/10: OSS cache speed: 0.316953 Iter 8/10: ladvise speed: 0.332012 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.300333 Iter 9/10: OSS cache speed: 0.327275 Iter 9/10: ladvise speed: 0.399978 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.320165 Iter 10/10: OSS cache speed: 0.404561 Iter 10/10: ladvise speed: 0.372279 Average uncached read: .32 Average speedup with OSS cached read: .35 = +9% Average speedup with ladvise willread: .36 = +12% Speedup with OSS cached read less than 20%, got 9%. Skipping ladvise willread check. fail_loc=0