== sanity test 255a: check 'lfs ladvise -a willread' ===== 10:26:40 (1761316000) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 2.01402 s, 52.1 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.787912 Iter 1/10: OSS cache speed: 0.962062 Iter 1/10: ladvise speed: 1.01032 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.873244 Iter 2/10: OSS cache speed: 1.12685 Iter 2/10: ladvise speed: 1.15065 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.842431 Iter 3/10: OSS cache speed: 0.889079 Iter 3/10: ladvise speed: 0.975882 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.832054 Iter 4/10: OSS cache speed: 1.01687 Iter 4/10: ladvise speed: 1.15148 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.836656 Iter 5/10: OSS cache speed: 1.01072 Iter 5/10: ladvise speed: 0.990328 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.81657 Iter 6/10: OSS cache speed: 0.937768 Iter 6/10: ladvise speed: 0.96486 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.859677 Iter 7/10: OSS cache speed: 0.915601 Iter 7/10: ladvise speed: 0.898516 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.781061 Iter 8/10: OSS cache speed: 0.997963 Iter 8/10: ladvise speed: 0.973584 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.810896 Iter 9/10: OSS cache speed: 0.957113 Iter 9/10: ladvise speed: 1.04132 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.830746 Iter 10/10: OSS cache speed: 1.00529 Iter 10/10: ladvise speed: 1.00365 Average uncached read: .82 Average speedup with OSS cached read: .98 = +19.51% Average speedup with ladvise willread: 1.01 = +23.17% /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21871: ð9ÙlÙU: < 20 : syntax error: operand expected (error token is "< 20 ") /home/green/git/lustre-release/lustre/tests/sanity.sh: line 21885: 1 > : 1 > : 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 .49%, got 1.01% 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()