== sanity test 255a: check 'lfs ladvise -a willread' ===== 10:50:58 (1761317458) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 2.32005 s, 45.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=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.530792 Iter 1/10: OSS cache speed: 0.660374 Iter 1/10: ladvise speed: 0.739451 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.646361 Iter 2/10: OSS cache speed: 0.642046 Iter 2/10: ladvise speed: 0.675176 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.735061 Iter 3/10: OSS cache speed: 0.74548 Iter 3/10: ladvise speed: 0.68369 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.662241 Iter 4/10: OSS cache speed: 0.719262 Iter 4/10: ladvise speed: 0.719411 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.648253 Iter 5/10: OSS cache speed: 0.546455 Iter 5/10: ladvise speed: 0.688646 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.659545 Iter 6/10: OSS cache speed: 0.742627 Iter 6/10: ladvise speed: 0.68989 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.629679 Iter 7/10: OSS cache speed: 0.669106 Iter 7/10: ladvise speed: 0.66018 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.698636 Iter 8/10: OSS cache speed: 0.774379 Iter 8/10: ladvise speed: 0.742694 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.819361 Iter 9/10: OSS cache speed: 0.752696 Iter 9/10: ladvise speed: 0.777337 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.834585 Iter 10/10: OSS cache speed: 0.926113 Iter 10/10: ladvise speed: 0.900806 Average uncached read: .68 Average speedup with OSS cached read: .71 = +4.41% Average speedup with ladvise willread: .72 = +5.88% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21871:  \G‰¦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