== sanity test 255a: check 'lfs ladvise -a willread' ===== 11:29:48 (1776180588) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 2.21054 s, 47.4 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.629748 Iter 1/10: OSS cache speed: 0.531814 Iter 1/10: ladvise speed: 0.590597 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.516877 Iter 2/10: OSS cache speed: 0.543634 Iter 2/10: ladvise speed: 0.590988 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.559443 Iter 3/10: OSS cache speed: 0.607275 Iter 3/10: ladvise speed: 0.602115 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.592631 Iter 4/10: OSS cache speed: 0.652836 Iter 4/10: ladvise speed: 0.670799 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.690127 Iter 5/10: OSS cache speed: 0.688025 Iter 5/10: ladvise speed: 0.6627 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.645305 Iter 6/10: OSS cache speed: 0.621242 Iter 6/10: ladvise speed: 0.628558 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.6616 Iter 7/10: OSS cache speed: 0.677776 Iter 7/10: ladvise speed: 0.661372 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.666866 Iter 8/10: OSS cache speed: 0.611731 Iter 8/10: ladvise speed: 0.66125 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.613881 Iter 9/10: OSS cache speed: 0.607514 Iter 9/10: ladvise speed: 0.516841 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.541628 Iter 10/10: OSS cache speed: 0.648505 Iter 10/10: ladvise speed: 0.531884 Average uncached read: .61 Average speedup with OSS cached read: .61 = +0% Average speedup with ladvise willread: .61 = +0% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21950: �‡2AV: < 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