== sanity test 255a: check 'lfs ladvise -a willread' ===== 18:20:11 (1718317211) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 4.72579 s, 22.2 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-ffff8800b6fd6000.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.995184 Iter 1/10: OSS cache speed: 1.95494 Iter 1/10: ladvise speed: 1.44012 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.74481 Iter 2/10: OSS cache speed: 0.91052 Iter 2/10: ladvise speed: 1.03255 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 1.07435 Iter 3/10: OSS cache speed: 2.31121 Iter 3/10: ladvise speed: 3.32684 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 2.73665 Iter 4/10: OSS cache speed: 3.20054 Iter 4/10: ladvise speed: 3.2837 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 2.85079 Iter 5/10: OSS cache speed: 3.29768 Iter 5/10: ladvise speed: 3.38328 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 2.35962 Iter 6/10: OSS cache speed: 2.65516 Iter 6/10: ladvise speed: 2.72939 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 2.56277 Iter 7/10: OSS cache speed: 3.15192 Iter 7/10: ladvise speed: 3.21354 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 2.9925 Iter 8/10: OSS cache speed: 3.22724 Iter 8/10: ladvise speed: 3.3221 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 2.98177 Iter 9/10: OSS cache speed: 3.29833 Iter 9/10: ladvise speed: 3.33474 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 2.93664 Iter 10/10: OSS cache speed: 2.80718 Iter 10/10: ladvise speed: 3.07521 Average uncached read: 2.22 Average speedup with OSS cached read: 2.68 = +20.72% Average speedup with ladvise willread: 2.81 = +26.57% fail_loc=0