== sanity test 255a: check 'lfs ladvise -a willread' ===== 14:05:02 (1776189902) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 3.50626 s, 29.9 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.48698 Iter 1/10: OSS cache speed: 0.693253 Iter 1/10: ladvise speed: 0.774101 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.598945 Iter 2/10: OSS cache speed: 0.76592 Iter 2/10: ladvise speed: 0.82565 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.57832 Iter 3/10: OSS cache speed: 0.796076 Iter 3/10: ladvise speed: 0.632221 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.62252 Iter 4/10: OSS cache speed: 0.646172 Iter 4/10: ladvise speed: 0.78157 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.625713 Iter 5/10: OSS cache speed: 0.737576 Iter 5/10: ladvise speed: 0.75685 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.621403 Iter 6/10: OSS cache speed: 0.717858 Iter 6/10: ladvise speed: 0.680116 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.663605 Iter 7/10: OSS cache speed: 0.788257 Iter 7/10: ladvise speed: 0.764617 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.513603 Iter 8/10: OSS cache speed: 0.646515 Iter 8/10: ladvise speed: 0.784262 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.619451 Iter 9/10: OSS cache speed: 0.759487 Iter 9/10: ladvise speed: 0.688966 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.602005 Iter 10/10: OSS cache speed: 0.676866 Iter 10/10: ladvise speed: 0.790966 Average uncached read: .59 Average speedup with OSS cached read: .72 = +22.03% Average speedup with ladvise willread: .74 = +25.42% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21950:  Ê8ï 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 .36%, got .74% Trace dump: = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6486:error_ignore() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6501: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:6828:run_one() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6875:run_one_logged() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6701:run_test() = /home/green/git/lustre-release/lustre/tests/sanity.sh:22048:main()