Rockchip · AI & Linux Hub

Rockchip builds slow down over time: temperature, memory or storage?

The first compilation is fast, but it slows down after half an hour, which is not enough to directly determine that the radiator is too small.

Memory pressure, swapping, and storage queues can also stretch the same task. Metrics should be recorded over time, allowing speed changes to be mapped to temperature, frequency or waiting time.

Repeat running in the same work area

Fixed code version, tool chain, concurrency and build targets, distinguishing between full and incremental builds. Collect thermal zone type and temperature, CPU frequency, available memory, and I/O waits along a timeline. Watch the trend with vmstat 1 and keep an eye out for exchanges.

Change a variable according to the phenomenon

If the temperature rise and the frequency drop occur simultaneously, the air duct can be improved and then run again. If the frequency is stable and the exchange is obvious, reduce the concurrency first. If the CPU is often idle and the disk queue is too long, review the storage. Changing one item alone can explain where the difference comes from.

Publish sprint and long-distance running separately

Report the first round of cold start and multiple rounds of time after thermal stabilization respectively, indicating the ambient temperature, chassis, power supply and number of parallel tasks. For compile nodes that run throughout the day, procurement is more concerned with how many builds are completed per hour in steady state.

View CPU, wait and hot zone types during load

vmstat 1 5
cat /sys/class/thermal/thermal_zone*/type
cat /sys/class/thermal/thermal_zone*/temp

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 →