== sanity test 255a: check 'lfs ladvise -a willread' ===== 09:38:52 (1721223532) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 0.643662 s, 163 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: 2.51369 Iter 1/10: OSS cache speed: 2.52744 Iter 1/10: ladvise speed: 2.51341 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 2.47229 Iter 2/10: OSS cache speed: 2.63777 Iter 2/10: ladvise speed: 2.52752 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 2.47641 Iter 3/10: OSS cache speed: 2.44134 Iter 3/10: ladvise speed: 2.46498 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 2.45313 Iter 4/10: OSS cache speed: 2.46124 Iter 4/10: ladvise speed: 2.41794 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 2.48467 Iter 5/10: OSS cache speed: 2.5009 Iter 5/10: ladvise speed: 2.39327 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 2.40678 Iter 6/10: OSS cache speed: 2.42036 Iter 6/10: ladvise speed: 2.41606 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 2.43536 Iter 7/10: OSS cache speed: 2.38597 Iter 7/10: ladvise speed: 2.38054 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 2.41155 Iter 8/10: OSS cache speed: 2.37041 Iter 8/10: ladvise speed: 2.41306 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 2.43347 Iter 9/10: OSS cache speed: 2.44638 Iter 9/10: ladvise speed: 2.3958 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 2.38475 Iter 10/10: OSS cache speed: 2.39659 Iter 10/10: ladvise speed: 2.42464 Average uncached read: 2.44 Average speedup with OSS cached read: 2.45 = +.40% Average speedup with ladvise willread: 2.43 = +-.40% Speedup with OSS cached read less than 20%, got 2.45%. Skipping ladvise willread check.