== sanity test 255a: check 'lfs ladvise -a willread' ===== 21:12:38 (1713402758) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 2.40132 s, 43.7 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 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 1.52613 Iter 1/10: OSS cache speed: 1.68963 Iter 1/10: ladvise speed: 1.67056 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 1.4512 Iter 2/10: OSS cache speed: 1.65214 Iter 2/10: ladvise speed: 1.74786 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 1.40231 Iter 3/10: OSS cache speed: 1.73141 Iter 3/10: ladvise speed: 1.65321 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 1.42467 Iter 4/10: OSS cache speed: 1.81037 Iter 4/10: ladvise speed: 1.69044 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 1.40563 Iter 5/10: OSS cache speed: 1.82424 Iter 5/10: ladvise speed: 1.78247 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 1.4029 Iter 6/10: OSS cache speed: 1.64679 Iter 6/10: ladvise speed: 1.65235 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 1.41104 Iter 7/10: OSS cache speed: 1.74834 Iter 7/10: ladvise speed: 1.74483 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 1.4435 Iter 8/10: OSS cache speed: 1.72962 Iter 8/10: ladvise speed: 1.74031 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 1.42224 Iter 9/10: OSS cache speed: 1.93001 Iter 9/10: ladvise speed: 1.79165 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 1.41885 Iter 10/10: OSS cache speed: 1.9805 Iter 10/10: ladvise speed: 1.68044 Average uncached read: 1.43 Average speedup with OSS cached read: 1.77 = +23.77% Average speedup with ladvise willread: 1.71 = +19.58% fail_loc=0