== sanity test 255a: check 'lfs ladvise -a willread' ===== 01:18:17 (1784697497) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 9.09987 s, 11.5 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-ffffa0665aa45800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.504918 Iter 1/10: OSS cache speed: 0.606887 Iter 1/10: ladvise speed: 0.303259 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.375357 Iter 2/10: OSS cache speed: 0.404497 Iter 2/10: ladvise speed: 0.445269 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.41986 Iter 3/10: OSS cache speed: 0.574028 Iter 3/10: ladvise speed: 0.560233 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.506781 Iter 4/10: OSS cache speed: 0.636255 Iter 4/10: ladvise speed: 0.653257 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.580075 Iter 5/10: OSS cache speed: 0.608007 Iter 5/10: ladvise speed: 0.603861 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.588418 Iter 6/10: OSS cache speed: 0.79354 Iter 6/10: ladvise speed: 0.98572 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.878826 Iter 7/10: OSS cache speed: 1.08869 Iter 7/10: ladvise speed: 1.06397 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.928222 Iter 8/10: OSS cache speed: 1.18896 Iter 8/10: ladvise speed: 1.35518 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.932468 Iter 9/10: OSS cache speed: 1.17582 Iter 9/10: ladvise speed: 1.37565 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 1.28176 Iter 10/10: OSS cache speed: 1.51875 Iter 10/10: ladvise speed: 1.54637 Average uncached read: .69 Average speedup with OSS cached read: .85 = +23% Average speedup with ladvise willread: .88 = +27% fail_loc=0