Rockchip · AI & Linux Hub

Storage & networking

Slow local database on Radxa ROCK 5: separating SSD and SoC throttling

The database response slows down after the chassis heats up.

The heat source may be the SoC or the NVMe SSD close to the PCB. Storage testing of ROCK 5 or Sige7 should observe temperature and throughput changes of the disk controller and SoC respectively. Just replacing the CPU cooler won’t necessarily solve the persistent writing problem.

Counting on the same timeline

If the SSD and driver support it, use nvme smart-log to read the temperature and related health information, and record the SoC temperature, CPU frequency, storage wait and database submission time at the same time. Sensor types and thresholds vary with devices, and it is not appropriate to directly use the temperature values ​​of different devices to rank.

Separating cache exhaustion and thermal effects

Compare short write, continuous write and retest after cooling on clean test data. Exhaustion of the disk’s internal fast cache can also cause a step-wise drop in speed. Keep the same writing volume and remaining disk space, and compare after replacing the air duct. The evidence will be clearer than the first copy.

Record the amount that the user really waited for

Taking the high quantile time consumption of transaction submission and the response during background cleanup as indicators, the disk model, firmware and installation location are also recorded. With both temperatures listed in the report, the maintenance team knows whether to replace the air ducts or reselect the storage configuration.

Use two sets of time series to split bottlenecks

Observation combination Follow-up priority check
SoC frequency limited and stable disk temperature CPU side load and overall machine heat dissipation
Disk writing continues to slow down and disk temperature rises Disk heat dissipation and temperature control
The disk temperature is stable but the writing speed slows down after reaching a certain threshold. Cache and disk remaining space

Board documentation and references

ArmSoM Sige7

Products and development resources

Check the hardware revision, carrier, image and interfaces in the product documentation. An article association is not evidence that a configuration has been tested.

Explore this topic → · Learning paths →