== sanity test 255a: check 'lfs ladvise -a willread' ===== 09:35:37 (1761312937) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 1.32719 s, 79.0 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: 0.964936 Iter 1/10: OSS cache speed: 0.925242 Iter 1/10: ladvise speed: 0.937707 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.93291 Iter 2/10: OSS cache speed: 0.84987 Iter 2/10: ladvise speed: 1.00087 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.87065 Iter 3/10: OSS cache speed: 0.884668 Iter 3/10: ladvise speed: 0.842106 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.741654 Iter 4/10: OSS cache speed: 0.810807 Iter 4/10: ladvise speed: 0.905397 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 1.01119 Iter 5/10: OSS cache speed: 0.96743 Iter 5/10: ladvise speed: 0.988832 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.982239 Iter 6/10: OSS cache speed: 0.91776 Iter 6/10: ladvise speed: 0.916847 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.96748 Iter 7/10: OSS cache speed: 0.988701 Iter 7/10: ladvise speed: 0.78027 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.894557 Iter 8/10: OSS cache speed: 0.860363 Iter 8/10: ladvise speed: 0.844313 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.918626 Iter 9/10: OSS cache speed: 0.892687 Iter 9/10: ladvise speed: 0.852831 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.954055 Iter 10/10: OSS cache speed: 0.915132 Iter 10/10: ladvise speed: 0.940139 Average uncached read: .92 Average speedup with OSS cached read: .90 = +-2.17% Average speedup with ladvise willread: .90 = +-2.17% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21871:  ŒcÐV: < 20 : syntax error: operand expected (error token is "< 20 ") lfs ladvise: cannot give advice: Unknown error 524 (524) ladvise: cannot give advice 'dontneed' to file '/mnt/lustre/f255a.sanity': Unknown error 524 osd-zfs does not support dontneed or drop_caches