== sanity test 255a: check 'lfs ladvise -a willread' ===== 07:12:01 (1717153921) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 0.494644 s, 212 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: 3.48642 Iter 1/10: OSS cache speed: 4.09906 Iter 1/10: ladvise speed: 5.02009 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 3.61734 Iter 2/10: OSS cache speed: 3.26771 Iter 2/10: ladvise speed: 3.08976 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 3.01178 Iter 3/10: OSS cache speed: 3.52051 Iter 3/10: ladvise speed: 4.40367 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 4.81527 Iter 4/10: OSS cache speed: 4.26704 Iter 4/10: ladvise speed: 4.32967 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 3.3234 Iter 5/10: OSS cache speed: 3.12589 Iter 5/10: ladvise speed: 3.71009 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 3.63596 Iter 6/10: OSS cache speed: 4.30119 Iter 6/10: ladvise speed: 3.35647 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 4.43667 Iter 7/10: OSS cache speed: 3.9643 Iter 7/10: ladvise speed: 4.61713 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 3.90594 Iter 8/10: OSS cache speed: 3.09599 Iter 8/10: ladvise speed: 3.01173 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 3.98748 Iter 9/10: OSS cache speed: 2.95125 Iter 9/10: ladvise speed: 2.92831 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 2.72308 Iter 10/10: OSS cache speed: 3.0843 Iter 10/10: ladvise speed: 3.02998 Average uncached read: 3.69 Average speedup with OSS cached read: 3.56 = +-3.52% Average speedup with ladvise willread: 3.74 = +1.35% Speedup with OSS cached read less than 20%, got 3.56%. Skipping ladvise willread check.