CPU Usage and Overall Performance Optimization

TrendWorX64 Viewer has an ability to replay large amounts of historical data in many pens. However, when replaying large periods from the history, the Viewer could be overloaded by too many requested samples. In such cases its parameters must be correctly set to replay data smoothly and without any lag. This topic focuses on Hyper Historian as the source of OPC historical data, covering historical data replay optimization for cases such as the following:

Graphic Optimization

There are a couple of configurations you can use to optimize the TrendWorX64 Viewer graphical display.

Figure 1 - Advanced Trend Viewer Properties

 

Time Optimization

Figure 2 - Time & Rate Properties

Numbers Optimization

Figure 3 - Limiting Maximum Samples

Figure 4 - Setting Buffer Sizes

 

Aggregates

There are many types of aggregation you can select and each of them has a different influence on data replaying performance. For example these are the most common used aggregates: Interpolative, Minimum, Maximum, Average, Start and End.

 

Aggregates should be used when there is a need to replay larger amounts of data with relatively short collection periods and many samples or more pens. You can limit the Aggregates buffer size to tune up the performance and make the performance replaying process less CPU and memory consuming.

 

Interpolative, Minimum, and Maximum aggregates are the fastest aggregates, so they should be used for very large replaying periods.

 

Figure 5 - Available Aggregates

 

For more details about ICONICS Hyper Historian aggregates, refer to the Aggregate Groups in Hyper Historian topic.