== sanity test 255a: check 'lfs ladvise -a willread' ===== 14:38:30 (1777574310) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 7.05717 s, 14.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-ffff998c84a1a000.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.553389 Iter 1/10: OSS cache speed: 0.73854 Iter 1/10: ladvise speed: 0.729297 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.655902 Iter 2/10: OSS cache speed: 0.868123 Iter 2/10: ladvise speed: 0.679261 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.435951 Iter 3/10: OSS cache speed: 0.587178 Iter 3/10: ladvise speed: 0.389496 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.288356 Iter 4/10: OSS cache speed: 0.376933 Iter 4/10: ladvise speed: 0.287214 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.270094 Iter 5/10: OSS cache speed: 0.347634 Iter 5/10: ladvise speed: 0.319985 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.303732 Iter 6/10: OSS cache speed: 0.302448 Iter 6/10: ladvise speed: 0.308635 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.28573 Iter 7/10: OSS cache speed: 0.338596 Iter 7/10: ladvise speed: 0.309288 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.30452 Iter 8/10: OSS cache speed: 0.306814 Iter 8/10: ladvise speed: 0.339166 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.318199 Iter 9/10: OSS cache speed: 0.384098 Iter 9/10: ladvise speed: 0.386809 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.344166 Iter 10/10: OSS cache speed: 0.325476 Iter 10/10: ladvise speed: 0.337676 Average uncached read: .37 Average speedup with OSS cached read: .45 = +21% Average speedup with ladvise willread: .40 = +8% fail_loc=0