== sanity test 255a: check 'lfs ladvise -a willread' ===== 20:55:55 (1784940955) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 14.8092 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-ffff9e38c6234000.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.322692 Iter 1/10: OSS cache speed: 0.312412 Iter 1/10: ladvise speed: 0.370167 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.286543 Iter 2/10: OSS cache speed: 0.331258 Iter 2/10: ladvise speed: 0.407704 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.36013 Iter 3/10: OSS cache speed: 0.406645 Iter 3/10: ladvise speed: 0.420872 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.39646 Iter 4/10: OSS cache speed: 0.458527 Iter 4/10: ladvise speed: 0.515518 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.46052 Iter 5/10: OSS cache speed: 0.54325 Iter 5/10: ladvise speed: 0.553075 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.490775 Iter 6/10: OSS cache speed: 0.597889 Iter 6/10: ladvise speed: 0.6912 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.576671 Iter 7/10: OSS cache speed: 0.696094 Iter 7/10: ladvise speed: 0.7184 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.615873 Iter 8/10: OSS cache speed: 0.691163 Iter 8/10: ladvise speed: 0.739731 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.604716 Iter 9/10: OSS cache speed: 0.86167 Iter 9/10: ladvise speed: 0.875145 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.258102 Iter 10/10: OSS cache speed: 0.356112 Iter 10/10: ladvise speed: 0.435397 Average uncached read: .43 Average speedup with OSS cached read: .52 = +20% Average speedup with ladvise willread: .57 = +32% fail_loc=0