== sanity test 255a: check 'lfs ladvise -a willread' ===== 22:18:56 (1746065936) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 4.9247 s, 21.3 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-ffff8800b6012800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.752201 Iter 1/10: OSS cache speed: 0.951195 Iter 1/10: ladvise speed: 1.01172 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.914259 Iter 2/10: OSS cache speed: 1.04717 Iter 2/10: ladvise speed: 1.05149 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.914287 Iter 3/10: OSS cache speed: 1.02351 Iter 3/10: ladvise speed: 1.04922 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.762465 Iter 4/10: OSS cache speed: 0.846052 Iter 4/10: ladvise speed: 0.869348 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.861752 Iter 5/10: OSS cache speed: 1.00463 Iter 5/10: ladvise speed: 1.13823 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 1.0475 Iter 6/10: OSS cache speed: 1.06251 Iter 6/10: ladvise speed: 1.05568 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.944444 Iter 7/10: OSS cache speed: 1.09007 Iter 7/10: ladvise speed: 1.36123 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 1.00871 Iter 8/10: OSS cache speed: 1.07423 Iter 8/10: ladvise speed: 0.994623 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.896379 Iter 9/10: OSS cache speed: 1.17673 Iter 9/10: ladvise speed: 1.29766 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 1.11885 Iter 10/10: OSS cache speed: 1.20435 Iter 10/10: ladvise speed: 1.29391 Average uncached read: .92 Average speedup with OSS cached read: 1.04 = +13% Average speedup with ladvise willread: 1.11 = +20% Speedup with OSS cached read less than 20%, got 13%. Skipping ladvise willread check. fail_loc=0