== sanity test 255a: check 'lfs ladvise -a willread' ===== 07:44:06 (1764938646) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 2.3833 s, 44.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.597538 Iter 1/10: OSS cache speed: 0.578695 Iter 1/10: ladvise speed: 0.559369 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.637396 Iter 2/10: OSS cache speed: 0.606707 Iter 2/10: ladvise speed: 0.568863 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.568957 Iter 3/10: OSS cache speed: 0.630874 Iter 3/10: ladvise speed: 0.644764 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.679526 Iter 4/10: OSS cache speed: 0.660556 Iter 4/10: ladvise speed: 0.567099 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.475031 Iter 5/10: OSS cache speed: 0.557055 Iter 5/10: ladvise speed: 0.564925 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.611045 Iter 6/10: OSS cache speed: 0.678528 Iter 6/10: ladvise speed: 0.742492 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.782686 Iter 7/10: OSS cache speed: 0.811876 Iter 7/10: ladvise speed: 0.859322 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.862159 Iter 8/10: OSS cache speed: 0.833912 Iter 8/10: ladvise speed: 0.877861 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 1.01818 Iter 9/10: OSS cache speed: 1.07971 Iter 9/10: ladvise speed: 1.28119 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 1.29469 Iter 10/10: OSS cache speed: 1.31242 Iter 10/10: ladvise speed: 1.29134 Average uncached read: .75 Average speedup with OSS cached read: .77 = +2.66% Average speedup with ladvise willread: .79 = +5.33% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21886: Pu5cU: < 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