Random warehouses for each iteration #491
Replies: 2 comments 7 replies
-
|
Hi, Use All Warehouses: By default each Virtual User selects a home warehouse at random from at the start of a test and remains with that home warehouse. Therefore for example if there are 100 warehouses created and 10 virtual users selected to run the Driver Script then most of the activity will take place on 10 warehouse only. This option means that the Virtual Users select a new warehouse for each transaction from an available list divided between all Virtual Users at the start of the test therefore ensuring greater I/O activity. Rather than being purely random it divides the available warehouses out between the virtual users and then each virtual user selects from the allocated set. When you set this it prints the allocated warehouses at the start for each virtual user. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, HammerDB TPROC-C is a derived workload based on the TPC-C specification from the TPC more details are here https://www.tpc.org/tpcc/. It is important to remember that any additions need to support and be tested on all databases, SQL Server, Oracle, Db2, MySQL, MariaDB & PostgreSQL all both on Windows and Linux. There are essentially 2 approaches
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @sm-shaw,
We have been using HammerDB to get some benchmark numbers, and we are doing it from last few weeks.
We are getting very good NOPM and TPM, but we are struggling to get more
IOPSfrom the benchmark.While we run the HammerDB benchmarks, most of the time the OS system cache is getting utilised, and unable to
force the HammerDB to go to disk rather the cache.
I understand that, tpcc is not a
iopsbenchmark but why can't we useHammerDBto get thisIOPSbenchmark too.By tweaking the PostgreSQL OLTP behaviour as below, we are able to hit the disk truly hard, and able to get the
IOPSalong with TPM and NOPM.Here, as you see we are hitting a random warehouse and random district id for each iteration, rather
hitting the same warehouse and same district id for the whole iteration. By making only above changes, we are able to generate 100,000 to 150,000 IOPS along with the NOPM and TPM numbers.
By sharing this idea with you, would like to know your suggestions/inputs on this.
If you are okay with this idea "diset use_random_warehouse true" (something like this), we are happy to submit the PR.
Kindly let us know.
Thanks,
Dinesh Kumar
Beta Was this translation helpful? Give feedback.
All reactions