== sanity test 255a: check 'lfs ladvise -a willread' ===== 17:08:02 (1718399282) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 1.35742 s, 77.2 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=4 fail_loc=0x237 Asynchronous ladvise shouldn't wait fail_loc=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 1.74408 Iter 1/10: OSS cache speed: 2.18977 Iter 1/10: ladvise speed: 2.28211 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 1.80492 Iter 2/10: OSS cache speed: 2.10525 Iter 2/10: ladvise speed: 2.608 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 2.91299 Iter 3/10: OSS cache speed: 6.06963 Iter 3/10: ladvise speed: 6.58607 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 6.06208 Iter 4/10: OSS cache speed: 7.46435 Iter 4/10: ladvise speed: 7.01429 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 6.31935 Iter 5/10: OSS cache speed: 7.40109 Iter 5/10: ladvise speed: 7.2617 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 6.33019 Iter 6/10: OSS cache speed: 7.79598 Iter 6/10: ladvise speed: 7.43425 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 6.17962 Iter 7/10: OSS cache speed: 6.85096 Iter 7/10: ladvise speed: 7.18997 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 5.97118 Iter 8/10: OSS cache speed: 7.05608 Iter 8/10: ladvise speed: 7.44741 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 6.23418 Iter 9/10: OSS cache speed: 7.03585 Iter 9/10: ladvise speed: 7.03851 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 5.79098 Iter 10/10: OSS cache speed: 6.74317 Iter 10/10: ladvise speed: 6.34901 Average uncached read: 4.93 Average speedup with OSS cached read: 6.07 = +23.12% Average speedup with ladvise willread: 6.12 = +24.13% Speedup with OSS cached read less than 20%, got 6.07%. Skipping ladvise willread check.