== sanity test 255a: check 'lfs ladvise -a willread' ===== 10:52:36 (1761317556) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 1.57841 s, 66.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.655527 Iter 1/10: OSS cache speed: 0.725056 Iter 1/10: ladvise speed: 0.786221 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.661448 Iter 2/10: OSS cache speed: 0.707392 Iter 2/10: ladvise speed: 0.776185 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.795426 Iter 3/10: OSS cache speed: 0.730882 Iter 3/10: ladvise speed: 0.80874 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.727839 Iter 4/10: OSS cache speed: 0.827352 Iter 4/10: ladvise speed: 0.620565 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.720039 Iter 5/10: OSS cache speed: 0.637232 Iter 5/10: ladvise speed: 0.576487 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.538588 Iter 6/10: OSS cache speed: 0.595055 Iter 6/10: ladvise speed: 0.678537 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.651301 Iter 7/10: OSS cache speed: 0.74047 Iter 7/10: ladvise speed: 0.767341 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.787819 Iter 8/10: OSS cache speed: 0.942908 Iter 8/10: ladvise speed: 0.791338 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.926177 Iter 9/10: OSS cache speed: 1.0143 Iter 9/10: ladvise speed: 0.899496 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.906449 Iter 10/10: OSS cache speed: 1.26188 Iter 10/10: ladvise speed: 1.70602 Average uncached read: .73 Average speedup with OSS cached read: .81 = +10.95% Average speedup with ladvise willread: .84 = +15.06% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21871: ¬3 ÖU: < 20 : syntax error: operand expected (error token is "< 20 ") lfs ladvise: cannot give advice: Operation not supported (95) ladvise: cannot give advice 'dontneed' to file '/mnt/lustre/f255a.sanity': Operation not supported osd-zfs does not support dontneed or drop_caches