<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
 <channel>
  <title>TPC C Benchmark Kit</title>
  <link>http://docs.openlinksw.com/virtuoso/tpcc.html</link>
  <description>OpenLink Virtuoso Universal Server: Documentation</description>
  <managingEditor>virtuoso.docs@openlinksw.com</managingEditor>
  <pubDate>Mon, 16 Nov 2009 14:26:59 GMT</pubDate>
  <generator>OpenLink Software Documentation Team</generator>
  <webMaster>webmaster@openlinksw.com</webMaster>
  <image>
    <title>OpenLink Virtuoso Universal Server: Documentation</title>
    <url>http://docs.openlinksw.com/virtuoso/../images/misc/logo.jpg</url>
    <link>http://docs.openlinksw.com/virtuoso/tpcc.html</link>
    <description>OpenLink Virtuoso Universal Server: Documentation</description>
  </image>
  <item>
    <guid>http://docs.openlinksw.com/virtuoso/tpcctestdb.html</guid>
    <author>virtuoso.docs@openlinksw.com</author>
    <category>Building the Test Database</category>
    <link>http://docs.openlinksw.com/virtuoso/tpcctestdb.html</link>
    <pubDate>Mon, 16 Nov 2009 14:26:59 GMT</pubDate>
    <title>Building the Test Database</title>
    <description>
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:


</description>
  </item>
  <item>
    <guid>http://docs.openlinksw.com/virtuoso/tpccusingtestprg.html</guid>
    <author>virtuoso.docs@openlinksw.com</author>
    <category>Using the Test Program</category>
    <link>http://docs.openlinksw.com/virtuoso/tpccusingtestprg.html</link>
    <pubDate>Mon, 16 Nov 2009 14:26:59 GMT</pubDate>
    <title>Using the Test Program</title>
    <description>
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:


</description>
  </item>
  <item>
    <guid>http://docs.openlinksw.com/virtuoso/tpcctuningparams4users.html</guid>
    <author>virtuoso.docs@openlinksw.com</author>
    <category>Tuning Parameters and Number of Users</category>
    <link>http://docs.openlinksw.com/virtuoso/tpcctuningparams4users.html</link>
    <pubDate>Mon, 16 Nov 2009 14:26:59 GMT</pubDate>
    <title>Tuning Parameters and Number of Users</title>
    <description>
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.


</description>
  </item>
  <item>
    <guid>http://docs.openlinksw.com/virtuoso/omissionsexcp.html</guid>
    <author>virtuoso.docs@openlinksw.com</author>
    <category>Omissions, Exceptions from the Definition</category>
    <link>http://docs.openlinksw.com/virtuoso/omissionsexcp.html</link>
    <pubDate>Mon, 16 Nov 2009 14:26:59 GMT</pubDate>
    <title>Omissions, Exceptions from the Definition</title>
    <description>
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.


</description>
  </item>
  <item>
    <guid>http://docs.openlinksw.com/virtuoso/sampleconf.html</guid>
    <author>virtuoso.docs@openlinksw.com</author>
    <category>Sample Configuration</category>
    <link>http://docs.openlinksw.com/virtuoso/sampleconf.html</link>
    <pubDate>Mon, 16 Nov 2009 14:26:59 GMT</pubDate>
    <title>Sample Configuration</title>
    <description>
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.


</description>
  </item>
  <item>
    <guid>http://docs.openlinksw.com/virtuoso/otherfactors.html</guid>
    <author>virtuoso.docs@openlinksw.com</author>
    <category>Other Factors</category>
    <link>http://docs.openlinksw.com/virtuoso/otherfactors.html</link>
    <pubDate>Mon, 16 Nov 2009 14:26:59 GMT</pubDate>
    <title>Other Factors</title>
    <description>
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.


</description>
  </item>
  <item>
    <guid>http://docs.openlinksw.com/virtuoso/tpccprocs.html</guid>
    <author>virtuoso.docs@openlinksw.com</author>
    <category>TPC C Procedures</category>
    <link>http://docs.openlinksw.com/virtuoso/tpccprocs.html</link>
    <pubDate>Mon, 16 Nov 2009 14:26:59 GMT</pubDate>
    <title>TPC C Procedures</title>
    <description />
  </item>
  <item>
    <guid>http://docs.openlinksw.com/virtuoso/ddlstmt.html</guid>
    <author>virtuoso.docs@openlinksw.com</author>
    <category>DDL Statements</category>
    <link>http://docs.openlinksw.com/virtuoso/ddlstmt.html</link>
    <pubDate>Mon, 16 Nov 2009 14:26:59 GMT</pubDate>
    <title>DDL Statements</title>
    <description />
  </item>
  <item>
    <guid>http://docs.openlinksw.com/virtuoso/storedprocs.html</guid>
    <author>virtuoso.docs@openlinksw.com</author>
    <category>Stored Procedures</category>
    <link>http://docs.openlinksw.com/virtuoso/storedprocs.html</link>
    <pubDate>Mon, 16 Nov 2009 14:26:59 GMT</pubDate>
    <title>Stored Procedures</title>
    <description />
  </item>
 </channel>
</rss>
