== sanity test 255a: check 'lfs ladvise -a willread' ===== 20:03:02 (1718928182) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 0.649336 s, 161 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: 5.05028 Iter 1/10: OSS cache speed: 6.46862 Iter 1/10: ladvise speed: 6.59709 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 5.76903 Iter 2/10: OSS cache speed: 6.6275 Iter 2/10: ladvise speed: 6.68763 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 5.34329 Iter 3/10: OSS cache speed: 5.96366 Iter 3/10: ladvise speed: 6.0899 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 5.54713 Iter 4/10: OSS cache speed: 6.4477 Iter 4/10: ladvise speed: 5.23198 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 4.37914 Iter 5/10: OSS cache speed: 6.50355 Iter 5/10: ladvise speed: 6.3981 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 5.36044 Iter 6/10: OSS cache speed: 6.26925 Iter 6/10: ladvise speed: 5.77002 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 3.68719 Iter 7/10: OSS cache speed: 4.51141 Iter 7/10: ladvise speed: 5.49018 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 3.42294 Iter 8/10: OSS cache speed: 4.53685 Iter 8/10: ladvise speed: 4.60035 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 3.92956 Iter 9/10: OSS cache speed: 4.66726 Iter 9/10: ladvise speed: 6.26897 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 5.5994 Iter 10/10: OSS cache speed: 6.31447 Iter 10/10: ladvise speed: 5.85817 Average uncached read: 4.80 Average speedup with OSS cached read: 5.83 = +21.45% Average speedup with ladvise willread: 5.89 = +22.70% Speedup with OSS cached read less than 20%, got 5.83%. Skipping ladvise willread check.