== sanity test 255a: check 'lfs ladvise -a willread' ===== 21:17:41 (1708827461) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 2.22013 s, 47.2 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=8 fail_loc=0x237 Asynchronous ladvise shouldn't wait Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 2.91104 Iter 1/10: OSS cache speed: 2.97362 Iter 1/10: ladvise speed: 1.42542 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 2.02051 Iter 2/10: OSS cache speed: 2.13245 Iter 2/10: ladvise speed: 2.11929 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 2.07406 Iter 3/10: OSS cache speed: 2.18673 Iter 3/10: ladvise speed: 3.05252 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 2.75247 Iter 4/10: OSS cache speed: 2.6465 Iter 4/10: ladvise speed: 2.58001 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 2.66984 Iter 5/10: OSS cache speed: 2.57876 Iter 5/10: ladvise speed: 2.45461 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 2.55933 Iter 6/10: OSS cache speed: 2.80956 Iter 6/10: ladvise speed: 2.70422 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 2.53474 Iter 7/10: OSS cache speed: 2.70257 Iter 7/10: ladvise speed: 2.71663 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 2.77403 Iter 8/10: OSS cache speed: 2.61808 Iter 8/10: ladvise speed: 2.72426 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 2.70635 Iter 9/10: OSS cache speed: 2.75193 Iter 9/10: ladvise speed: 2.82767 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 2.75518 Iter 10/10: OSS cache speed: 2.56697 Iter 10/10: ladvise speed: 2.66849 Average uncached read: 2.57 Average speedup with OSS cached read: 2.59 = +.77% Average speedup with ladvise willread: 2.52 = +-1.94% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 24168: < 20 : < 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 fail_loc=0