== sanity test 255a: check 'lfs ladvise -a willread' ===== 17:20:07 (1776201607) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 2.43684 s, 43.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.717624 Iter 1/10: OSS cache speed: 0.688683 Iter 1/10: ladvise speed: 0.671773 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.751614 Iter 2/10: OSS cache speed: 0.726376 Iter 2/10: ladvise speed: 0.618128 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.728794 Iter 3/10: OSS cache speed: 0.517574 Iter 3/10: ladvise speed: 0.59073 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.597955 Iter 4/10: OSS cache speed: 0.75874 Iter 4/10: ladvise speed: 0.568992 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.696346 Iter 5/10: OSS cache speed: 0.716362 Iter 5/10: ladvise speed: 0.73429 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.674352 Iter 6/10: OSS cache speed: 0.710975 Iter 6/10: ladvise speed: 0.701098 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.653346 Iter 7/10: OSS cache speed: 0.713945 Iter 7/10: ladvise speed: 0.624654 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.69602 Iter 8/10: OSS cache speed: 0.763071 Iter 8/10: ladvise speed: 0.688012 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.714655 Iter 9/10: OSS cache speed: 0.708331 Iter 9/10: ladvise speed: 0.689011 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.661392 Iter 10/10: OSS cache speed: 0.702321 Iter 10/10: ladvise speed: 0.699328 Average uncached read: .68 Average speedup with OSS cached read: .70 = +2.94% Average speedup with ladvise willread: .65 = +-4.41% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21886: P¥�t‚U: < 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