== sanity test 255a: check 'lfs ladvise -a willread' ===== 13:10:32 (1772907032) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 5.37376 s, 19.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-ffff8ebd59181800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 1.02512 Iter 1/10: OSS cache speed: 1.17279 Iter 1/10: ladvise speed: 1.30647 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 1.0823 Iter 2/10: OSS cache speed: 1.36918 Iter 2/10: ladvise speed: 1.25937 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 1.29755 Iter 3/10: OSS cache speed: 1.45357 Iter 3/10: ladvise speed: 1.06393 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.95568 Iter 4/10: OSS cache speed: 1.1488 Iter 4/10: ladvise speed: 1.17874 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 1.03743 Iter 5/10: OSS cache speed: 1.06575 Iter 5/10: ladvise speed: 1.18242 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 1.03618 Iter 6/10: OSS cache speed: 1.11245 Iter 6/10: ladvise speed: 1.11766 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 1.02287 Iter 7/10: OSS cache speed: 1.0822 Iter 7/10: ladvise speed: 1.06888 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.966385 Iter 8/10: OSS cache speed: 1.07209 Iter 8/10: ladvise speed: 1.08923 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.968835 Iter 9/10: OSS cache speed: 1.04484 Iter 9/10: ladvise speed: 1.18366 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.933747 Iter 10/10: OSS cache speed: 1.05985 Iter 10/10: ladvise speed: 1.10192 Average uncached read: 1.03 Average speedup with OSS cached read: 1.15 = +11% Average speedup with ladvise willread: 1.15 = +11% Speedup with OSS cached read less than 20%, got 11%. Skipping ladvise willread check. fail_loc=0