== sanity test 255a: check 'lfs ladvise -a willread' ===== 15:06:12 (1776193572) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 3.40213 s, 30.8 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.459328 Iter 1/10: OSS cache speed: 0.444943 Iter 1/10: ladvise speed: 0.428822 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.435954 Iter 2/10: OSS cache speed: 0.458566 Iter 2/10: ladvise speed: 0.484227 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.446108 Iter 3/10: OSS cache speed: 0.529732 Iter 3/10: ladvise speed: 0.465252 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.498869 Iter 4/10: OSS cache speed: 0.469382 Iter 4/10: ladvise speed: 0.426676 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.508259 Iter 5/10: OSS cache speed: 0.534652 Iter 5/10: ladvise speed: 0.466943 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.517186 Iter 6/10: OSS cache speed: 0.53018 Iter 6/10: ladvise speed: 0.552235 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.529578 Iter 7/10: OSS cache speed: 0.542443 Iter 7/10: ladvise speed: 0.514496 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.500681 Iter 8/10: OSS cache speed: 0.489779 Iter 8/10: ladvise speed: 0.520142 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.464844 Iter 9/10: OSS cache speed: 0.529347 Iter 9/10: ladvise speed: 0.574853 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.500644 Iter 10/10: OSS cache speed: 0.528045 Iter 10/10: ladvise speed: 0.517483 Average uncached read: .48 Average speedup with OSS cached read: .50 = +4.16% Average speedup with ladvise willread: .49 = +2.08% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21950: 0ϵC : < 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