From 7672dbf78ebe21b60b3afcb9e4dcfc97b22188eb Mon Sep 17 00:00:00 2001 From: "Gzx@151" Date: Sat, 3 Feb 2024 00:10:48 +0800 Subject: [PATCH] del code & setting for debug, update README --- README.md | 19 ++++++++++--------- script/config.sh | 2 +- .../web3benchmark/procedures/W13.java | 1 - 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index f22c266..5283ef2 100755 --- a/README.md +++ b/README.md @@ -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 @@ -179,7 +180,7 @@ When running a multi-phase experiment with varying a workload, it is imperative 6000 - 1 + 2 0 diff --git a/script/config.sh b/script/config.sh index cf3b876..aec5d37 100755 --- a/script/config.sh +++ b/script/config.sh @@ -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 diff --git a/src/com/olxpbenchmark/benchmarks/web3benchmark/procedures/W13.java b/src/com/olxpbenchmark/benchmarks/web3benchmark/procedures/W13.java index 720c7f0..6a1206c 100755 --- a/src/com/olxpbenchmark/benchmarks/web3benchmark/procedures/W13.java +++ b/src/com/olxpbenchmark/benchmarks/web3benchmark/procedures/W13.java @@ -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);