== sanity test 255a: check 'lfs ladvise -a willread' ===== 04:23:34 (1789547014) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 6.50601 s, 16.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-ffff9f53983bc000.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 1.38592 Iter 1/10: OSS cache speed: 1.85705 Iter 1/10: ladvise speed: 1.92227 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 2.00397 Iter 2/10: OSS cache speed: 2.21593 Iter 2/10: ladvise speed: 2.0152 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 2.04272 Iter 3/10: OSS cache speed: 2.51687 Iter 3/10: ladvise speed: 2.58002 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 2.32333 Iter 4/10: OSS cache speed: 2.4528 Iter 4/10: ladvise speed: 1.07204 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 1.06648 Iter 5/10: OSS cache speed: 1.83573 Iter 5/10: ladvise speed: 1.70069 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 1.90832 Iter 6/10: OSS cache speed: 2.37998 Iter 6/10: ladvise speed: 1.8989 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.406109 Iter 7/10: OSS cache speed: 0.485965 Iter 7/10: ladvise speed: 0.531204 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.46056 Iter 8/10: OSS cache speed: 0.492567 Iter 8/10: ladvise speed: 0.447492 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.701476 Iter 9/10: OSS cache speed: 0.894674 Iter 9/10: ladvise speed: 0.433358 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.671023 Iter 10/10: OSS cache speed: 0.920573 Iter 10/10: ladvise speed: 0.809089 Average uncached read: 1.29 Average speedup with OSS cached read: 1.60 = +24% Average speedup with ladvise willread: 1.34 = +3% fail_loc=0