Compatibility Notes for TM1 users
TATP
Benchmark was
known before as TM1 (Telecom One). The first version of TATP Benchmark
Suite supersedes TM1 Test Suite 4.1.4 and 4.1.5. As a whole, the
TATP benchmark Suite is not compatible with TM1 Test Suite in some
respects.
Summary of changes between TM1 4.1.5 and TATP 1.0
- The benchmark definition has not changed.
- The target (SUT) test database schema has not changed.
- The TATP test results are fully consistent with the results of TM1 version 4.1.2 and later.
- The TIRDB schema has slightly changed: some
table names has been changed, new columns have been added and some
referential integrity constraints were removed.
- Some test configuration directives were moved between the configuration files (for example, from a TDF file to a DDF file).
- New features were added.
When migrating from TM1 to TATP, the following steps are recommended:
- Setup a new TIRDB using the new TIRDB schema
- Write a new TIRDB initialization script to
populate TIRDB with database product names and versions, OS names and
hardware names. You may use the example script for that.
- Modify all the configurations files: .ini, .ddf and .tdf to correspond to the new definitions
- Get acquainted with the new features
- If you have test databases populated withTM1, you can use them
- Run the tests
Detailed changes
TIRDB changes
- Table name changes: the table name postfix "_TM1" was removed from tables
TEST_RUNS_TM1
MONITORING_DATA_TM1
CONFIG_DATA_TM1
- Table definition changes: Column names have been changed and new columns added in tables:
HARDWARE
PROCESSOR_TYPES
MEMORY_TYPES
BUS_TYPES
DISK_TYPES
- Foreign key definitions were removed from table HARDWARE
Test configuration file changes
- tatp.ini (was:tm1.ini)
- directive " TargetDBInit" moved to the DDF file
- a new directive added: waitDatabaseStart= <integer
-1 == polling (default)
0 == (wait until user press Enter)
>0 == x seconds
- DDF file
- directive " TargetDBInit" moved from the .ini file
- directive "transaction_file" moved from the TDF file
- TDF file
- directive "transaction_file" moved to the DDF file
- new directive: check_targetdb = "yes"|"no"
New command line options
- -c Set the working directory
to the directory path given as an argument. The directory is expected
to contain all the files that are needed to run TATP benchmark (see
Input files for details), During and after the benchmark run, log files
are created and collected in the working directory.
- -s Show more detailed
statistics after the TATP run, which will include amounts of
executed/rolled back/ignored transactions for each client. The
parameter will be propagated to Remote Controls from the Main Control.
- -t Turn on the TPS table processing.
- -i Set the INI file name to the name given as an argument.
Change Log from TM1 v. 3 until the lat TM1 release
v 4.1.5 (2009-03-02)
- To avoid problems that occurred in Linux 64-bit
environment, TM1 now uses Solid header file
'solidodbc3.h' instead of unixODBC headers when linked directly to Solid driver.
v. 4.1.4 (2008-08-08)
- New feature: it is now possible to define s_id (subscriber ID) range for each client node separately, in the TDF file
- Response time 90% percentile values (in microseconds) are now stored in a new TIRDB, table:
CREATE TABLE result_response_90percentile (
test_run_id INTEGER NOT NULL,
transaction_type CHAR(32) NOT NULL,
resp_time INTEGER,
PRIMARY KEY (test_run_id, transaction_type),
CONSTRAINT fk_rrs90 FOREIGN KEY (test_run_id)
REFERENCES test_runs_tm1(test_run_id)
ON UPDATE CASCADE
ON DELETE CASCADE);
The above statement should be run in against
a TIRDB of any previous TM1 version, in order for the test run to
succeed (if TIRDB is used).
- A new test sequence directive, "execute", is
added, to the TDF file, to be able run SQL scripts between test runs,
e.g. execute file="run.sql".
- Added automatic Informix-specific session setting (SET LOCK MODE TO WAIT).
- Target database schema checking accepts both lower and upper case names.
- Socket option SO_REUSEADDR is enabled for better recovery of connections after a program failure.
- When compiled in the solidDB Accelerator mode, the program waits for 60 seconds for the database to become operational.
- solidDB-specific builds are upgraded to use the libraries of v. 6.1.
v. 4.1.3 (2008-05-09)
- IDS ODBC compatibility fix (SQLBindParameter())
- Other minor fixes
- Fixes facilitating 64b Linux builds with unixODBC
v. 4.1.2 (2008-03-22)
-
Workload generator program ('client') has been changed to multithreaded model
as compared to multi-process model in the previous versions.
-
Response time measurement has been modified to enable microsecond-scale
resolution for data sources with low latency such as embedded engines. The
resolution of a system timer used in measurement is statistically estimated and
reported during the run. Please note that with microsecond-scale resolution the
actual measurement error can be greater than the nominal measurement
resolution. The actual error cannot be estimated due to timing uncertainties in
non-realtime systems but it should be small enough to do a comparative testing.
-
Response time distribution is now reported using a new kind of
histogram with fixed set of category boundaries of logarithmic scale. A
new table has been added to TIRDB database to facilitate
logarithmic-scale histogram. Please note that the new table must be
added manually in a TIRDB database that was created with older TM1
versions. The table is, however, included in the TIRDB schema
distributed with this version. See the table definition for more information.
v. 4.0.1 (2007-11-21)
- The search key
distribution for generating the Subscriber ID (s_id) has been changed.
By default, non-uniform distribution is used. The non-uniform key
distribution simulates discrete hot spots and models a more realistic
load pattern by including subscribers of different network activity.
The change in the key distribution makes the results of 4.0.
incompatible with the results obtained with previous versions. The old,
uniform distribution is still available by using a new 'uniform'
directive in a TDF file. If the value is set to "yes", the program is
fully compatible with v. 3.1.0.
New TiRDB table in TM1 Test Suite 4.1
CREATE TABLE result_response_scale ( test_run_id INTEGER NOT NULL, transaction_type CHAR(32) NOT NULL, slot INTEGER NOT NULL, bound INTEGER NOT NULL, num_of_hits INTEGER NULL, PRIMARY KEY (test_run_id, transaction_type, slot), CONSTRAINT fk_rrs_test_run FOREIGN KEY (test_run_id) REFERENCES test_runs_tm1(test_run_id) ON UPDATE CASCADE ON DELETE CASCADE
|