== sanity test 255a: check 'lfs ladvise -a willread' ===== 11:30:26 (1776180626) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 1.99506 s, 52.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.595925 Iter 1/10: OSS cache speed: 0.734324 Iter 1/10: ladvise speed: 0.911719 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.731223 Iter 2/10: OSS cache speed: 0.946698 Iter 2/10: ladvise speed: 0.722489 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.642783 Iter 3/10: OSS cache speed: 0.794249 Iter 3/10: ladvise speed: 0.808463 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.646986 Iter 4/10: OSS cache speed: 0.865314 Iter 4/10: ladvise speed: 0.890542 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.671273 Iter 5/10: OSS cache speed: 0.776731 Iter 5/10: ladvise speed: 0.927011 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.668148 Iter 6/10: OSS cache speed: 0.779528 Iter 6/10: ladvise speed: 0.923715 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.70373 Iter 7/10: OSS cache speed: 0.85053 Iter 7/10: ladvise speed: 0.787166 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.647506 Iter 8/10: OSS cache speed: 0.845845 Iter 8/10: ladvise speed: 0.909196 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.721995 Iter 9/10: OSS cache speed: 0.884642 Iter 9/10: ladvise speed: 0.897672 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.788723 Iter 10/10: OSS cache speed: 1.01888 Iter 10/10: ladvise speed: 0.830694 Average uncached read: .68 Average speedup with OSS cached read: .84 = +23.52% Average speedup with ladvise willread: .86 = +26.47% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21950: €óf|V: < 20 : syntax error: operand expected (error token is "< 20 ") /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21964: > : > : 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 .86% Trace dump: = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6475:error_ignore() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6490:error_not_in_vm() = /home/green/git/lustre-release/lustre/tests/sanity.sh:21965:ladvise_willread_performance() = /home/green/git/lustre-release/lustre/tests/sanity.sh:22046:test_255a() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6817:run_one() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6864:run_one_logged() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6690:run_test() = /home/green/git/lustre-release/lustre/tests/sanity.sh:22048:main()