== sanity test 255a: check 'lfs ladvise -a willread' ===== 22:14:49 (1775873689) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 10.226 s, 10.3 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-ffff9540c7f33800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.346688 Iter 1/10: OSS cache speed: 0.432393 Iter 1/10: ladvise speed: 0.461654 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.473326 Iter 2/10: OSS cache speed: 0.492883 Iter 2/10: ladvise speed: 0.505517 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.463181 Iter 3/10: OSS cache speed: 0.51034 Iter 3/10: ladvise speed: 0.625055 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.517428 Iter 4/10: OSS cache speed: 0.601196 Iter 4/10: ladvise speed: 0.672735 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.564749 Iter 5/10: OSS cache speed: 0.655279 Iter 5/10: ladvise speed: 0.771916 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.676268 Iter 6/10: OSS cache speed: 0.774209 Iter 6/10: ladvise speed: 0.805984 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.640888 Iter 7/10: OSS cache speed: 0.734426 Iter 7/10: ladvise speed: 0.774409 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.677034 Iter 8/10: OSS cache speed: 0.801574 Iter 8/10: ladvise speed: 0.90713 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.693109 Iter 9/10: OSS cache speed: 1.03402 Iter 9/10: ladvise speed: 1.09889 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.840637 Iter 10/10: OSS cache speed: 1.25352 Iter 10/10: ladvise speed: 0.920294 Average uncached read: .58 Average speedup with OSS cached read: .72 = +24% Average speedup with ladvise willread: .75 = +29% fail_loc=0