Skip to content

Commit

Permalink
del code & setting for debug, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
cococo2000 committed Feb 2, 2024
1 parent 2696b00 commit 7672dbf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,16 +133,17 @@ If you encounter issues during the process, refer to the following troubleshooti
- config/*
- This directory contains various configuration files used for testing on the VM. Each configuration file is designed to facilitate specific testing scenarios and workloads.
- `loaddata.xml`: the configuration file for loading data into the database
- `runthread1.xml`: the configuration file for running point query workloads (R1, W1* and W4) at a rate of 1000*scalefactor/48 requests per minute.
- Total number of requests in one hour for R1 = 1000*scalefactor
- `runthread1.xml`: the configuration file for running point query workloads (R1, W1* and W4) at a rate of 7,500,000 requests per minute.
- Total number of requests in one hour for R1 = 6,000,000
- The weight of R1:W11:W12:W13:W14:W4 = 80%:4%:4%:4%:4%:4%
- The weight of R1 is 80%, so the total number of requests in one hour for R1, W1* and W4 = 1000*scalefactor/80% = 1250*scalefactor
- The total rate per minute of thread1 = 1250*scalefactor/60 = 1000*scalefactor/48
- The weight of R1 is 80%, so the total number of requests in one hour for R1, W1* and W4 = 6,000,000/80% = 7,500,000
- The total rate per minute of thread1 = 7,500,000/60 = 125,000
- `runthread2.xml`: the configuration file for running complex query workloads once in serial covering R3*, W2, W3, W5* and W6.
- `runR21.xml`: the configuration file for running R21 at a rate of 10*scalefactor/60 request per minute.
- `runR22.xml`: the configuration file for running R22 at a rate of 10*scalefactor/60 request per minute.
- `runR23.xml`: the configuration file for running R23 at a rate of 10*scalefactor/60 request per minute.
- `runR24.xml`: the configuration file for running R24 at a rate of 10*scalefactor/60 request per minute.
- `runR21.xml`: the configuration file for running R21 at a rate of 1,000 request per minute.
- `runR22.xml`: the configuration file for running R22 at a rate of 1,000 request per minute.
- `runR23.xml`: the configuration file for running R23 at a rate of 1,000 request per minute.
- `runR24.xml`: the configuration file for running R24 at a rate of 16 request per minute.
- `runR25.xml`: the configuration file for running R25 at a rate of 6 request per minute.
### Workload Descriptor
Expand Down Expand Up @@ -179,7 +180,7 @@ When running a multi-phase experiment with varying a workload, it is imperative
<scalefactor>6000</scalefactor>
<!-- The workload -->
<terminals>1</terminals>
<terminals>2</terminals>
<works>
<work>
<warmup>0</warmup>
Expand Down
2 changes: 1 addition & 1 deletion script/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ new_password=
new_nodeid="main"
new_scalefactor=6000
# Test time in minutes
new_time=360
new_time=60
# terminals and rate for runthread1: R1, W1* and W4
new_terminals_thread1=20
# Total number of requests in one hour for R1 = 1000 * 6000 = 6000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ public long run(Connection conn, Random gen, WEB3Worker w, int startNumber, int
query_stmt = this.getPreparedStatement(conn, query_stmtSQL);

String hash = WEB3Util.convertToTxnHashString(startNumber, nodeid + "-W13");
LOG.info(startNumber);
long nonce = WEB3Util.randomNumber(0, 100, gen);
long block_number = WEB3Util.randomNumber(1, numScale * WEB3Config.configBlocksCount, gen);
String block_hash = WEB3Util.convertToBlockHashString(block_number);
Expand Down

0 comments on commit 7672dbf

Please sign in to comment.