<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--ATOM based XML document generated By OpenLink Virtuoso-->
<atom:feed xmlns:atom="http://www.w3.org/2005/Atom">
<atom:id>http://docs.openlinksw.com/virtuoso/tpcc.html</atom:id>
<atom:title>TPC C Benchmark Kit</atom:title>
<atom:link href="http://docs.openlinksw.com/virtuoso/tpcc.html" type="text/html" rel="alternate" />
<atom:link href="http://docs.openlinksw.com/virtuoso/tpcc.html" type="application/atom+xml" rel="self" />
<atom:subtitle>OpenLink Virtuoso Universal Server: Documentation</atom:subtitle>
 <atom:author>
  <atom:name>virtuoso.docs@openlinksw.com</atom:name>
  <atom:email>virtuoso.docs@openlinksw.com</atom:email>
  </atom:author>
<atom:updated>2008-11-25T00:17:53Z</atom:updated>
<atom:generator>OpenLink Software Documentation Team</atom:generator>
<atom:logo>http://docs.openlinksw.com/virtuoso/../images/misc/logo.jpg</atom:logo>
 <atom:entry>
  <atom:id>http://docs.openlinksw.com/virtuoso/tpcctestdb.html</atom:id>
  <atom:author>
    <atom:name>virtuoso.docs@openlinksw.com</atom:name>
    <atom:email>virtuoso.docs@openlinksw.com</atom:email>
   </atom:author>Building the Test Database<atom:link href="http://docs.openlinksw.com/virtuoso/tpcctestdb.html" type="text/html" rel="alternate" />
  <atom:published>2008-11-25T00:17:53Z</atom:published>
  <atom:title>Building the Test Database</atom:title>
  <atom:content type="html">To build a 1 warehouse test database (approximately 100 MB), go through the following procedure: Start the database server. Assuming the server is listening at the default port of 1111 on the local host execute:</atom:content>
 </atom:entry>
 <atom:entry>
  <atom:id>http://docs.openlinksw.com/virtuoso/tpccusingtestprg.html</atom:id>
  <atom:author>
    <atom:name>virtuoso.docs@openlinksw.com</atom:name>
    <atom:email>virtuoso.docs@openlinksw.com</atom:email>
   </atom:author>Using the Test Program<atom:link href="http://docs.openlinksw.com/virtuoso/tpccusingtestprg.html" type="text/html" rel="alternate" />
  <atom:published>2008-11-25T00:17:53Z</atom:published>
  <atom:title>Using the Test Program</atom:title>
  <atom:content type="html">The tpcc program simulates one user making random transactions according to the specified mix of: Each instance of the test program has a home warehouse on which it does most of its operations. If there are more than one operation the test program will give a supply warehouse different from the local warehouse to 10% of new order lines. The test is started with:</atom:content>
 </atom:entry>
 <atom:entry>
  <atom:id>http://docs.openlinksw.com/virtuoso/tpcctuningparams4users.html</atom:id>
  <atom:author>
    <atom:name>virtuoso.docs@openlinksw.com</atom:name>
    <atom:email>virtuoso.docs@openlinksw.com</atom:email>
   </atom:author>Tuning Parameters and Number of Users<atom:link href="http://docs.openlinksw.com/virtuoso/tpcctuningparams4users.html" type="text/html" rel="alternate" />
  <atom:published>2008-11-25T00:17:53Z</atom:published>
  <atom:title>Tuning Parameters and Number of Users</atom:title>
  <atom:content type="html">You may run several instances of tpcc, each representing one user. You will see CPU utilization improve as users are added since there are more possibilities of interleaving I/O and CPU. The amount of RAM (number_of_buffers: in wi.cfg) is the single most important factor influencing throughput. Setting this to about half the system RAM is usually good. One will remember that each buffer takes 8.5K of actual RAM. One should be careful not to cause the server process to swap. Striping should be used if there are multiple independent disks, one stripe per physically independent volume. Each stripe should have its own I/O queue. If there is a RAID, then striping is less beneficial. Also one should have multiple handles per files, see FDSPerFile in the configuration file.</atom:content>
 </atom:entry>
 <atom:entry>
  <atom:id>http://docs.openlinksw.com/virtuoso/omissionsexcp.html</atom:id>
  <atom:author>
    <atom:name>virtuoso.docs@openlinksw.com</atom:name>
    <atom:email>virtuoso.docs@openlinksw.com</atom:email>
   </atom:author>Omissions, Exceptions from the Definition<atom:link href="http://docs.openlinksw.com/virtuoso/omissionsexcp.html" type="text/html" rel="alternate" />
  <atom:published>2008-11-25T00:17:53Z</atom:published>
  <atom:title>Omissions, Exceptions from the Definition</atom:title>
  <atom:content type="html">Running the benchmark by the book is a complex and costly process which requires hardware and software that is not commonly available. To measure tpmC rates that are directly comparable with published figures the benchmark must comply with the scaling rule of a maximum of 12.5 tpmC per warehouse. Therefore to measure 1250 tpmC, one must have a database of 100 warehouses, approximately 10 GB. Obtaining a good figure will require the maximum RAM configuration of the platform in question.</atom:content>
 </atom:entry>
 <atom:entry>
  <atom:id>http://docs.openlinksw.com/virtuoso/sampleconf.html</atom:id>
  <atom:author>
    <atom:name>virtuoso.docs@openlinksw.com</atom:name>
    <atom:email>virtuoso.docs@openlinksw.com</atom:email>
   </atom:author>Sample Configuration<atom:link href="http://docs.openlinksw.com/virtuoso/sampleconf.html" type="text/html" rel="alternate" />
  <atom:published>2008-11-25T00:17:53Z</atom:published>
  <atom:title>Sample Configuration</atom:title>
  <atom:content type="html">This section describes how to set up disks and I/O for a sample run. To begin with, the scaling rule is 12.5 tpmC per warehouse. This means that in order to measure 1000 tpmC you must have a 1000 / 12.5 = 81 warehouses. These take about 100 MB apiece. The benchmark&#39;s working set consists of the STOCK and CUSTOMER tables of each warehouse and of the ITEM table of the database. Other tables are accessed more or less sequentially, i.e. inserts to end or deletes from start. There is a particular distribution of hits for the STOCK and CUSTOMER rows of each warehouse, leading to a specific working set within each. The 160 day rule requires a disk configuration sufficient for accumulating 160 days worth of transactions at the reported rate. For practical reasons we will ignore this rule here. To just run the benchmark for the required 20 minutes we will need about twice the space of the initial data. Let&#39;s assume we have an initial database of 8 GB and have another 16 GB for working space, a total of 24 GB. This is 6 4 GB disks or 12 2 GB ones.</atom:content>
 </atom:entry>
 <atom:entry>
  <atom:id>http://docs.openlinksw.com/virtuoso/otherfactors.html</atom:id>
  <atom:author>
    <atom:name>virtuoso.docs@openlinksw.com</atom:name>
    <atom:email>virtuoso.docs@openlinksw.com</atom:email>
   </atom:author>Other Factors<atom:link href="http://docs.openlinksw.com/virtuoso/otherfactors.html" type="text/html" rel="alternate" />
  <atom:published>2008-11-25T00:17:53Z</atom:published>
  <atom:title>Other Factors</atom:title>
  <atom:content type="html">Benchmarks are run with a transaction monitor, usually Tuxedo. This has not been discussed here. Multiprocessor questions have not been addressed either. Virtuoso off the box should scale to about 4 CPU&#39;s on any appropriate multithreaded, multiprocessor OS. Past 4 CPU&#39;s the returns will diminish. Operating systems have different caching policies which must be taken into account. If an OS does read ahead, that&#39;s OK. Generally OS intelligence is harmful and should be turned off. For example, AIX reacts to its disk write queue being full by turning off the writing process until it has flushed enough of its own file cache. This instead of blocking the writing thread and leaving the rest of the process to run. We may release more information on OS tuning in the future.</atom:content>
 </atom:entry>
 <atom:entry>
  <atom:id>http://docs.openlinksw.com/virtuoso/tpccprocs.html</atom:id>
  <atom:author>
    <atom:name>virtuoso.docs@openlinksw.com</atom:name>
    <atom:email>virtuoso.docs@openlinksw.com</atom:email>
   </atom:author>TPC C Procedures<atom:link href="http://docs.openlinksw.com/virtuoso/tpccprocs.html" type="text/html" rel="alternate" />
  <atom:published>2008-11-25T00:17:53Z</atom:published>
  <atom:title>TPC C Procedures</atom:title>
  <atom:content type="html" />
 </atom:entry>
 <atom:entry>
  <atom:id>http://docs.openlinksw.com/virtuoso/ddlstmt.html</atom:id>
  <atom:author>
    <atom:name>virtuoso.docs@openlinksw.com</atom:name>
    <atom:email>virtuoso.docs@openlinksw.com</atom:email>
   </atom:author>DDL Statements<atom:link href="http://docs.openlinksw.com/virtuoso/ddlstmt.html" type="text/html" rel="alternate" />
  <atom:published>2008-11-25T00:17:53Z</atom:published>
  <atom:title>DDL Statements</atom:title>
  <atom:content type="html" />
 </atom:entry>
 <atom:entry>
  <atom:id>http://docs.openlinksw.com/virtuoso/storedprocs.html</atom:id>
  <atom:author>
    <atom:name>virtuoso.docs@openlinksw.com</atom:name>
    <atom:email>virtuoso.docs@openlinksw.com</atom:email>
   </atom:author>Stored Procedures<atom:link href="http://docs.openlinksw.com/virtuoso/storedprocs.html" type="text/html" rel="alternate" />
  <atom:published>2008-11-25T00:17:53Z</atom:published>
  <atom:title>Stored Procedures</atom:title>
  <atom:content type="html" />
 </atom:entry>
</atom:feed>