== sanity test 255a: check 'lfs ladvise -a willread' ===== 09:28:47 (1761312527) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 1.62254 s, 64.6 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.756031 Iter 1/10: OSS cache speed: 0.918774 Iter 1/10: ladvise speed: 0.851279 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.809018 Iter 2/10: OSS cache speed: 1.03967 Iter 2/10: ladvise speed: 0.996282 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.988127 Iter 3/10: OSS cache speed: 1.03226 Iter 3/10: ladvise speed: 1.04543 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.819803 Iter 4/10: OSS cache speed: 0.79466 Iter 4/10: ladvise speed: 0.917602 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.671189 Iter 5/10: OSS cache speed: 0.91106 Iter 5/10: ladvise speed: 0.912603 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.786757 Iter 6/10: OSS cache speed: 0.852573 Iter 6/10: ladvise speed: 0.843082 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.564382 Iter 7/10: OSS cache speed: 0.939363 Iter 7/10: ladvise speed: 0.696009 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.591969 Iter 8/10: OSS cache speed: 0.747885 Iter 8/10: ladvise speed: 0.851177 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.67336 Iter 9/10: OSS cache speed: 0.715152 Iter 9/10: ladvise speed: 0.686831 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.60198 Iter 10/10: OSS cache speed: 0.584712 Iter 10/10: ladvise speed: 0.780679 Average uncached read: .72 Average speedup with OSS cached read: .85 = +18.05% Average speedup with ladvise willread: .85 = +18.05% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21871: @êõ¶eU: < 20 : syntax error: operand expected (error token is "< 20 ") /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21885: > : > : syntax error: operand expected (error token is "> ") running in VM 'kvm', ignore error sanity test_255a: @@@@@@ IGNORE (env=kvm): Speedup with willread is less than .42%, got .85% Trace dump: = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6498:error_ignore() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6513:error_not_in_vm() = /home/green/git/lustre-release/lustre/tests/sanity.sh:21886:ladvise_willread_performance() = /home/green/git/lustre-release/lustre/tests/sanity.sh:21967:test_255a() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6840:run_one() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6887:run_one_logged() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6713:run_test() = /home/green/git/lustre-release/lustre/tests/sanity.sh:21969:main()