Two new settings
have been added to Eneperf,
--updates-log
and
--msec-between-updates
. Use these settings if you want to
run Eneperf in a two-stream mode to test MDEX Engine performance with partial
updates that are sent at regular intervals while Eneperf processes query
requests.
To test updates performance with Eneperf, create a separate updates log,
and use the
--updates-log
setting together with
log
and
--msec-between-updates
settings.
The new Eneperf settings are described as follows:
Setting |
Description |
---|---|
|
Specify the updates log file that contains partial update
requests to replay at every interval in milliseconds specified with
Specifying the updates log allows running Eneperf in a two-stream mode with two logs: regular query request logs and update request logs. In this mode, Eneperf sends update requests from the updates log at regular intervals while sending queries from the query log. This setting must be used together with
This setting must not be used together with
Before running Eneperf in the two-stream mode, you need to
create a separate log that contains only partial update requests. You should
create such a log with several partial update requests pointing to a single
update file using the
|
|
The minimum time interval between sending partial update requests, in milliseconds. Before sending a new update request, Eneperf waits for a free connection (after the specified time interval expires). This setting must be used together with
This setting must not be used together with
|
The format of the updates log is the same as the format of the regular
query log for Eneperf, except that the updates log should contain only
config?op=update
operations in order to provide
meaningful performance results. (If your updates log is similar to your regular
log, Eneperf still runs on this log successfully, however the results are not
useful to measure updates performance.)
Using
--updateslog
and
--log
settings is useful to measure performance of those
updates that run at regular intervals. To test updates that run at random
times, you can continue using your regular log with Eneperf.
Note
The actual time interval between sending update requests may be
equal to or greater than the time specified with
--msec_between_updates
. This is because Eneperf uses
the same
num connections
setting while processing the regular
query log and updates log. This causes Eneperf to wait for a preceding request
to complete before it can process the next updates log request.
For detailed information about running Eneperf in the two-stream mode, see the Performance Tuning Guide.