From a0c1beea5d10bb415fd11b0cd9be75e41c0ea4c7 Mon Sep 17 00:00:00 2001 From: Jos de Bruijn Date: Mon, 12 Sep 2016 12:38:45 -0700 Subject: [PATCH] Update README.md --- .../benchmark-order-processing/README.md | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/samples/features/in-memory/benchmark-order-processing/README.md b/samples/features/in-memory/benchmark-order-processing/README.md index 34abbb13..485e9877 100644 --- a/samples/features/in-memory/benchmark-order-processing/README.md +++ b/samples/features/in-memory/benchmark-order-processing/README.md @@ -18,21 +18,25 @@ Sample order processing workload that can be used for benchmarking transactional 1. Create the database, tables, and stored procedures using the T-SQL scripts in the corresponding subfolders. - The hash indexes are sized for large databases, processing billions of orders. They are appropriate for 1TB and larger database size. For smaller database and memory size, adjust the bucket counts accordingly. + - There are plans to publish scripts for initial populate of the tables. Timeline is TBD. + - Scripts are also provided for corresponding disk-based tables and traditional stored procedures, to compare performance between disk-based and memory-optimized tables. 2. Run the stored procedures using the following mix. - There are plans to make a scalable workload driver available as well. Timeline is TBD. -|Stored Procedure|Weight|Distribution| -|----------|--------|-------| -|GetOrdersByCustomerID|8|25.8%| -|GetProductsByType|6|19.4%| -|GetProductsPriceByPK |4 |12.9%| -|ProductSelectionCriteria |2 |6.5%| -|InsertOrder |10 |32.3%| -|FulfillOrders |1 |3.2%| - +|Stored Procedure|Weight| +|----------|--------| +|GetOrdersByCustomerID|8| +|GetProductsByType|6| +|GetProductsPriceByPK |4 | +|ProductSelectionCriteria |2 | +|InsertOrder |10 | +|FulfillOrders |1 | +The recommendation is to use two different drivers: + a. Main order processing driver, that is multi-threaded (e.g., 100 or 200 clients), and runs the procedures, GetOrdersByCustomerID, GetProductsByType, GetProductsPriceByPK, ProductSelectionCriteria, and InsertOrder. + a. Fulfullment driver, which runs the procedure FulfillOrders. This driver should have a single client to avoid conflicts. ## Workload description