== sanity test 255a: check 'lfs ladvise -a willread' ===== 08:23:43 (1786019023) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 16.9078 s, 6.2 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-ffff8bcad1abb000.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.275233 Iter 1/10: OSS cache speed: 0.269399 Iter 1/10: ladvise speed: 0.277113 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.274736 Iter 2/10: OSS cache speed: 0.266285 Iter 2/10: ladvise speed: 0.217895 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.22372 Iter 3/10: OSS cache speed: 0.251754 Iter 3/10: ladvise speed: 0.270058 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.224835 Iter 4/10: OSS cache speed: 0.301614 Iter 4/10: ladvise speed: 0.289526 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.275339 Iter 5/10: OSS cache speed: 0.236557 Iter 5/10: ladvise speed: 0.260531 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.213323 Iter 6/10: OSS cache speed: 0.207498 Iter 6/10: ladvise speed: 0.22107 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.220661 Iter 7/10: OSS cache speed: 0.233949 Iter 7/10: ladvise speed: 0.287514 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.217769 Iter 8/10: OSS cache speed: 0.279728 Iter 8/10: ladvise speed: 0.248442 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.241238 Iter 9/10: OSS cache speed: 0.236006 Iter 9/10: ladvise speed: 0.245781 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.193868 Iter 10/10: OSS cache speed: 0.200091 Iter 10/10: ladvise speed: 0.227957 Average uncached read: .23 Average speedup with OSS cached read: .24 = +4% Average speedup with ladvise willread: .25 = +8% Speedup with OSS cached read less than 20%, got 4%. Skipping ladvise willread check. fail_loc=0