CPU, Memory & Disk
Keep the average CPU load below 70 % and memory consumption below 80 %, where the project data is stored on Windows and Linux, plan disk space for the logging rate, and reduce the load of a project that is too demanding.
On this page
A device that is permanently overloaded works slower, heats up and fails more often. Keep enough reserve so that DataTalk can handle peaks โ for example many alarms at once or a large report.
Average CPU load below 70 %
A constantly overloaded device produces excessive heat, its overall performance drops and its life gets shorter.
On a DataTalk IPC, keeping the CPU load above 70 % results in periodic disconnects of myACCESS due to system cooling.
Memory consumption below 80 %
When the system memory runs out, the operating system limits the running processes. This results in service interruptions and errors.
How to reduce the load
If the CPU load or memory consumption stays above the limits, reduce the load of the project:
- Limit the number of alarms, data logs and views in the project.
- Prolong the read intervals of the tags.
- In the PLC, sort the tags into continuous arrays โ they are read in fewer requests, which can significantly improve performance.
- Check the server-side scripts.
- Move the project from the DataTalk IPC to a server with DataTalk installed.
Where to watch CPU and memory
- DataTalk Manager โ Runtime โ Performance โ total CPU load and memory, and for each service its CPU and memory with history charts for 10 min to 24 h. See Runtime.
- DataTalk IPC โ the dashboard of the IPC Manager shows CPU usage and RAM utilization, see Main Dashboard.
Use the service history to find out when a service started to use more CPU or memory โ for example after a change in the project.
Disk space
When the disk is full, new records cannot be stored and are lost until space is freed.
Where the data is stored
The project and all its data โ historical datalogs, alarms and logs โ are stored in the project directory:
| Operating system | Project directory (default) |
|---|---|
| Windows | C:\ProgramData\DataTalk\Project |
| Linux | /opt/DataTalk/Project |
If you chose a different project directory during the installation, the data is stored there.
The customer is responsible for ensuring that the device has sufficient storage and that the project directory can grow as the amount of data increases. Place the directory on a disk or volume with enough free space, and plan how to extend it โ for example by enlarging the disk or volume of a virtual machine โ before it runs out.
Plan and monitor the disk
Plan the disk for your logging rate and check it regularly:
- The Storage page in the settings of the project shows how much space the project, historical datalogs, alarms and logs take, and sets how long the history is kept. See for example Web HMI โ Storage.
- As a rough example, 50 tags sampled every second produce about 4.3 million records per day. Measure the real growth during the first days of operation and set the retention periods to match your disk.
- If the space is running low, shorten the retention of the
fastlog group first, move slowly changing tags to theslowgroup and turn off logging for tags that do not need history.