== sanity test 255a: check 'lfs ladvise -a willread' ===== 18:09:41 (1776204581) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 2.40769 s, 43.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.440742 Iter 1/10: OSS cache speed: 0.525862 Iter 1/10: ladvise speed: 0.562039 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.416159 Iter 2/10: OSS cache speed: 0.521082 Iter 2/10: ladvise speed: 0.499714 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.397611 Iter 3/10: OSS cache speed: 0.506381 Iter 3/10: ladvise speed: 0.551057 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.421558 Iter 4/10: OSS cache speed: 0.506176 Iter 4/10: ladvise speed: 0.537432 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.42927 Iter 5/10: OSS cache speed: 0.559076 Iter 5/10: ladvise speed: 0.446995 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.357228 Iter 6/10: OSS cache speed: 0.469743 Iter 6/10: ladvise speed: 0.520351 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.407965 Iter 7/10: OSS cache speed: 0.482124 Iter 7/10: ladvise speed: 0.49377 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.452431 Iter 8/10: OSS cache speed: 0.442034 Iter 8/10: ladvise speed: 0.513873 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.429806 Iter 9/10: OSS cache speed: 0.541077 Iter 9/10: ladvise speed: 0.468025 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.453053 Iter 10/10: OSS cache speed: 0.49186 Iter 10/10: ladvise speed: 0.549091 Average uncached read: .42 Average speedup with OSS cached read: .50 = +19.04% Average speedup with ladvise willread: .51 = +21.42% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21886: `VÒ|U: < 20 : syntax error: operand expected (error token is "< 20 ") /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21900: > : > : 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 .25%, got .51% 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:21901:ladvise_willread_performance() = /home/green/git/lustre-release/lustre/tests/sanity.sh:21982: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:21984:main()