== sanity test 255a: check 'lfs ladvise -a willread' ===== 10:12:04 (1782483124) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 6.39799 s, 16.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-ffff8d1e46a67800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.698016 Iter 1/10: OSS cache speed: 0.708205 Iter 1/10: ladvise speed: 0.713032 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.61563 Iter 2/10: OSS cache speed: 0.775008 Iter 2/10: ladvise speed: 0.919711 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.704905 Iter 3/10: OSS cache speed: 0.814905 Iter 3/10: ladvise speed: 0.814399 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.768407 Iter 4/10: OSS cache speed: 1.09975 Iter 4/10: ladvise speed: 1.14837 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 1.22335 Iter 5/10: OSS cache speed: 1.53374 Iter 5/10: ladvise speed: 1.06149 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.497707 Iter 6/10: OSS cache speed: 0.696323 Iter 6/10: ladvise speed: 0.415302 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.324685 Iter 7/10: OSS cache speed: 0.4543 Iter 7/10: ladvise speed: 0.442515 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.439034 Iter 8/10: OSS cache speed: 0.534031 Iter 8/10: ladvise speed: 0.779292 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.731164 Iter 9/10: OSS cache speed: 0.578602 Iter 9/10: ladvise speed: 0.394414 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.506822 Iter 10/10: OSS cache speed: 0.565245 Iter 10/10: ladvise speed: 0.547269 Average uncached read: .65 Average speedup with OSS cached read: .77 = +18% Average speedup with ladvise willread: .72 = +10% Speedup with OSS cached read less than 20%, got 18%. Skipping ladvise willread check. fail_loc=0