== sanity test 255a: check 'lfs ladvise -a willread' ===== 09:39:19 (1761226759) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 1.94806 s, 53.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.823858 Iter 1/10: OSS cache speed: 0.832831 Iter 1/10: ladvise speed: 0.791964 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.761708 Iter 2/10: OSS cache speed: 0.908391 Iter 2/10: ladvise speed: 0.67894 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.867753 Iter 3/10: OSS cache speed: 0.855265 Iter 3/10: ladvise speed: 0.940248 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.923224 Iter 4/10: OSS cache speed: 0.905543 Iter 4/10: ladvise speed: 0.873019 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.883713 Iter 5/10: OSS cache speed: 0.845008 Iter 5/10: ladvise speed: 0.779465 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.841059 Iter 6/10: OSS cache speed: 0.773916 Iter 6/10: ladvise speed: 0.841276 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.78396 Iter 7/10: OSS cache speed: 0.796456 Iter 7/10: ladvise speed: 0.638985 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.798231 Iter 8/10: OSS cache speed: 0.824361 Iter 8/10: ladvise speed: 0.735379 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.704194 Iter 9/10: OSS cache speed: 0.773164 Iter 9/10: ladvise speed: 0.872569 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.84107 Iter 10/10: OSS cache speed: 0.746013 Iter 10/10: ladvise speed: 0.900197 Average uncached read: .82 Average speedup with OSS cached read: .82 = +0% Average speedup with ladvise willread: .80 = +-2.43% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21855:  Žb@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