== sanity test 255a: check 'lfs ladvise -a willread' ===== 18:59:47 (1746140387) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 4.81563 s, 21.8 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-ffff8800b6cad800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.639038 Iter 1/10: OSS cache speed: 0.675038 Iter 1/10: ladvise speed: 0.768196 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.669929 Iter 2/10: OSS cache speed: 0.791096 Iter 2/10: ladvise speed: 0.812066 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.663363 Iter 3/10: OSS cache speed: 0.747057 Iter 3/10: ladvise speed: 0.751879 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.642202 Iter 4/10: OSS cache speed: 0.750117 Iter 4/10: ladvise speed: 0.674286 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.765884 Iter 5/10: OSS cache speed: 0.901207 Iter 5/10: ladvise speed: 0.877699 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.75218 Iter 6/10: OSS cache speed: 0.983204 Iter 6/10: ladvise speed: 1.067 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.917877 Iter 7/10: OSS cache speed: 0.884694 Iter 7/10: ladvise speed: 0.763255 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.809403 Iter 8/10: OSS cache speed: 0.858469 Iter 8/10: ladvise speed: 0.99121 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.916215 Iter 9/10: OSS cache speed: 1.036 Iter 9/10: ladvise speed: 0.840248 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.665869 Iter 10/10: OSS cache speed: 0.879863 Iter 10/10: ladvise speed: 0.915966 Average uncached read: .74 Average speedup with OSS cached read: .85 = +14% Average speedup with ladvise willread: .84 = +13% Speedup with OSS cached read less than 20%, got 14%. Skipping ladvise willread check. fail_loc=0