== sanity test 255a: check 'lfs ladvise -a willread' ===== 07:06:10 (1787396770) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 12.9437 s, 8.1 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-ffff9987d8c2c000.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.335102 Iter 1/10: OSS cache speed: 0.329846 Iter 1/10: ladvise speed: 0.360638 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.334095 Iter 2/10: OSS cache speed: 0.34505 Iter 2/10: ladvise speed: 0.367032 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.32612 Iter 3/10: OSS cache speed: 0.332767 Iter 3/10: ladvise speed: 0.336262 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.291799 Iter 4/10: OSS cache speed: 0.32209 Iter 4/10: ladvise speed: 0.273992 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.303111 Iter 5/10: OSS cache speed: 0.306248 Iter 5/10: ladvise speed: 0.296769 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.306334 Iter 6/10: OSS cache speed: 0.300964 Iter 6/10: ladvise speed: 0.282112 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.296073 Iter 7/10: OSS cache speed: 0.308063 Iter 7/10: ladvise speed: 0.273997 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.279585 Iter 8/10: OSS cache speed: 0.269933 Iter 8/10: ladvise speed: 0.313702 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.344902 Iter 9/10: OSS cache speed: 0.289407 Iter 9/10: ladvise speed: 0.29782 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.3103 Iter 10/10: OSS cache speed: 0.335249 Iter 10/10: ladvise speed: 0.286129 Average uncached read: .31 Average speedup with OSS cached read: .31 = +0% Average speedup with ladvise willread: .30 = +-3% Speedup with OSS cached read less than 20%, got 0%. Skipping ladvise willread check. fail_loc=0