== sanity test 255a: check 'lfs ladvise -a willread' ===== 05:31:51 (1781256711) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 2.95309 s, 35.5 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.494287 Iter 1/10: OSS cache speed: 0.540131 Iter 1/10: ladvise speed: 0.58244 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.639479 Iter 2/10: OSS cache speed: 0.618153 Iter 2/10: ladvise speed: 0.552639 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.675566 Iter 3/10: OSS cache speed: 0.575238 Iter 3/10: ladvise speed: 0.597925 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.571296 Iter 4/10: OSS cache speed: 0.571573 Iter 4/10: ladvise speed: 0.535646 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.560971 Iter 5/10: OSS cache speed: 0.562382 Iter 5/10: ladvise speed: 0.529212 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.577216 Iter 6/10: OSS cache speed: 0.706467 Iter 6/10: ladvise speed: 0.554245 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.701596 Iter 7/10: OSS cache speed: 0.536793 Iter 7/10: ladvise speed: 0.648263 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.581309 Iter 8/10: OSS cache speed: 0.443985 Iter 8/10: ladvise speed: 0.605954 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.679586 Iter 9/10: OSS cache speed: 0.557676 Iter 9/10: ladvise speed: 0.539548 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.633483 Iter 10/10: OSS cache speed: 0.638159 Iter 10/10: ladvise speed: 0.603305 Average uncached read: .61 Average speedup with OSS cached read: .57 = +-6.55% Average speedup with ladvise willread: .57 = +-6.55% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21885:  |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