== sanity test 255a: check 'lfs ladvise -a willread' ===== 18:34:58 (1784759698) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 13.3474 s, 7.9 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-ffff8ebb48566800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.276909 Iter 1/10: OSS cache speed: 0.340799 Iter 1/10: ladvise speed: 0.358603 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.280807 Iter 2/10: OSS cache speed: 0.324176 Iter 2/10: ladvise speed: 0.305497 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.317953 Iter 3/10: OSS cache speed: 0.3593 Iter 3/10: ladvise speed: 0.270432 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.303788 Iter 4/10: OSS cache speed: 0.343352 Iter 4/10: ladvise speed: 0.304688 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.315287 Iter 5/10: OSS cache speed: 0.352906 Iter 5/10: ladvise speed: 0.385762 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.306856 Iter 6/10: OSS cache speed: 0.316956 Iter 6/10: ladvise speed: 0.338854 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.32539 Iter 7/10: OSS cache speed: 0.338833 Iter 7/10: ladvise speed: 0.352493 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.31268 Iter 8/10: OSS cache speed: 0.314812 Iter 8/10: ladvise speed: 0.331134 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.295191 Iter 9/10: OSS cache speed: 0.262442 Iter 9/10: ladvise speed: 0.299458 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.249543 Iter 10/10: OSS cache speed: 0.5607 Iter 10/10: ladvise speed: 0.316111 Average uncached read: .29 Average speedup with OSS cached read: .35 = +20% Average speedup with ladvise willread: .32 = +10% fail_loc=0