runzhiwang opened a new pull request #337: URL: https://github.com/apache/incubator-ratis/pull/337
## What changes were proposed in this pull request? Add sync option when test filestore performance ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/RATIS-1218 ## How was this patch tested? Test it manually The test command of sync: ``` ${BIN}/client.sh filestore datastream --size 128000000 --numFiles 10 --bufferSize 4000000 --syncSize 16000000 --type DirectByteBuffer --peers ${PEERS} ${BIN}/client.sh filestore loadgen --size 128000000 --numFiles 10 --bufferSize 4000000 --sync 1 --peers ${PEERS} ``` The test command of no sync: ``` ${BIN}/client.sh filestore datastream --size 128000000 --numFiles 10 --bufferSize 4000000 --syncSize -1 --type DirectByteBuffer --peers ${PEERS} ${BIN}/client.sh filestore loadgen --size 128000000 --numFiles 10 --bufferSize 4000000 --sync 0 --peers ${PEERS} ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
