== sanity test 255a: check 'lfs ladvise -a willread' ===== 00:14:01 (1721880841) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 2.76764 s, 37.9 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-ffff8800b5c58000.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 2.6984 Iter 1/10: OSS cache speed: 2.74241 Iter 1/10: ladvise speed: 2.69841 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 2.72415 Iter 2/10: OSS cache speed: 2.68651 Iter 2/10: ladvise speed: 2.47366 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 2.64015 Iter 3/10: OSS cache speed: 2.6823 Iter 3/10: ladvise speed: 2.43104 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 2.62993 Iter 4/10: OSS cache speed: 2.60829 Iter 4/10: ladvise speed: 2.6375 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 2.70367 Iter 5/10: OSS cache speed: 2.62133 Iter 5/10: ladvise speed: 2.62389 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 2.64679 Iter 6/10: OSS cache speed: 2.71683 Iter 6/10: ladvise speed: 2.72854 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 2.69718 Iter 7/10: OSS cache speed: 2.78857 Iter 7/10: ladvise speed: 2.74657 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 2.77217 Iter 8/10: OSS cache speed: 2.813 Iter 8/10: ladvise speed: 2.47746 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 2.7165 Iter 9/10: OSS cache speed: 2.75552 Iter 9/10: ladvise speed: 2.69727 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 2.80133 Iter 10/10: OSS cache speed: 2.74062 Iter 10/10: ladvise speed: 2.75667 Average uncached read: 2.70 Average speedup with OSS cached read: 2.71 = +.37% Average speedup with ladvise willread: 2.62 = +-2.96% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 25083: < 20 : < 20 : syntax error: operand expected (error token is "< 20 ") lfs ladvise: cannot give advice: Operation not supported (95) ladvise: cannot give advice 'dontneed' to file '/mnt/lustre/f255a.sanity': Operation not supported osd-zfs does not support dontneed or drop_caches fail_loc=0