== sanity test 255a: check 'lfs ladvise -a willread' ===== 14:12:08 (1788804728) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 12.4451 s, 8.4 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-ffff8f58c8bf6800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.340286 Iter 1/10: OSS cache speed: 0.392697 Iter 1/10: ladvise speed: 0.433647 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.405493 Iter 2/10: OSS cache speed: 0.428645 Iter 2/10: ladvise speed: 0.438575 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.38228 Iter 3/10: OSS cache speed: 0.434548 Iter 3/10: ladvise speed: 0.458643 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.413007 Iter 4/10: OSS cache speed: 0.492071 Iter 4/10: ladvise speed: 0.555772 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.485782 Iter 5/10: OSS cache speed: 0.599237 Iter 5/10: ladvise speed: 0.652527 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.548887 Iter 6/10: OSS cache speed: 0.639613 Iter 6/10: ladvise speed: 0.625607 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.574714 Iter 7/10: OSS cache speed: 0.696135 Iter 7/10: ladvise speed: 0.771757 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.650032 Iter 8/10: OSS cache speed: 0.756235 Iter 8/10: ladvise speed: 0.834539 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.841385 Iter 9/10: OSS cache speed: 0.962907 Iter 9/10: ladvise speed: 1.05354 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 1.01836 Iter 10/10: OSS cache speed: 1.29859 Iter 10/10: ladvise speed: 1.22308 Average uncached read: .56 Average speedup with OSS cached read: .67 = +19% Average speedup with ladvise willread: .70 = +25% Speedup with OSS cached read less than 20%, got 19%. Skipping ladvise willread check. fail_loc=0