-
Notifications
You must be signed in to change notification settings - Fork 709
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ FAB-5251 ] Changes to optimize fvt tests
Initial benchmark testing turned up a potential improvement in haproxy. From the haproxy doc: "Setting "option http-server-close" enables HTTP connection-close mode on the server side while keeping the ability to support HTTP keep-alive and pipelining on the client side. This provides the lowest latency on the client side (slow network) and the fastest session reuse on the server side to save server resources..." In addition, minor updates to polling timeouts using sub-second sleeps (where needed) improved fvt runtime by 30-40%. On x, 28% improvement: 5 minutes, 32 seconds runtime 3 minutes, 58 seconds runtime On z, 43% improvement: 4 minutes, 4 seconds runtime 2 minutes, 19 seconds runtime Lastly, the verifyServerTraffic procedure in fabric-ca_utils, which verifies the correct roundrobin distribution of client requests, needed to be updated to account for >10 servers. The search for 'server[[:digit:]]' needs to find the word boundary, denoted in the haproxy stats table by a doulble quote, hence: server[[:digit:]]+\" Change-Id: I13d86808efb06129448efac6e7c5aebdcf4e5177 Signed-off-by: rennman <[email protected]>
- Loading branch information
Showing
7 changed files
with
45 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,6 @@ for i in $USERNAME; do | |
tail -n1 | awk '{print $NF}') | ||
enroll $i $pswd | ||
RC=$((RC+$?)) | ||
sleep 1 | ||
done | ||
|
||
exit $RC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters