runzhiwang opened a new pull request #347:
URL: https://github.com/apache/incubator-ratis/pull/347


   ## What changes were proposed in this pull request?
   
   1. FileStore client generate files by multi-thread, in multi-disk
   2. config write, read, commit, delete thread number in FileStoreStateMachine
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/RATIS-1229
   
   ## How was this patch tested?
   
   test it manually by command
   client:
   `${BIN}/client.sh filestore datastream --size 128000000 --numFiles 1000 
--bufferSize 4000000 --syncSize 16000000 --type DirectByteBuffer --peers 
${PEERS} --storage /data/ratis/n2 --storage /data1/ratis/n2 --storage 
/data2/ratis/n2 --storage /data3/ratis/n2 --storage /data4/ratis/n2 --storage 
/data5/ratis/n2 --storage /data6/ratis/n2 --storage /data7/ratis/n2 --storage 
/data8/ratis/n2 --storage /data9/ratis/n2 --storage /data10/ratis/n2 --storage 
/data11/ratis/n2`
   
   server:
   `nohup ${BIN}/server.sh filestore server --id n2 --storage /data/ratis/n2 
--storage /data1/ratis/n2 --storage /data2/ratis/n2 --storage /data3/ratis/n2 
--storage /data4/ratis/n2 --storage /data5/ratis/n2 --storage /data6/ratis/n2 
--storage /data7/ratis/n2 --storage /data8/ratis/n2 --storage /data9/ratis/n2 
--storage /data10/ratis/n2 --storage /data11/ratis/n2 --peers ${PEERS} 
--writeThreadNum 100 --readThreadNum 100 --commitThreadNum 20 --deleteThreadNum 
20 >> n2.log 2>&1 &`
   


----------------------------------------------------------------
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]


Reply via email to