Rockchip · AI & Linux Hub

Storage & networking

Will NVMe speed up small-file builds on a Raspberry Pi project?

There is no sequential read bandwidth that can answer how much faster an incremental compilation will be.

Project directories often contain a large number of short files, metadata operations, and linking stages. When comparing Raspberry Pi 5 expansion storage to Sige7’s NVMe configuration, prioritize the tasks that the test team actually waits for on a daily basis.

Prepare a repeatable working directory

Fix the same source code, tool chain and parallelism, and place the source files and build products on specific disks. Separately time the first full build and the incremental build after modifying a file, while recording available memory. When comparing across boards, CPU differences also factor into the overall score.

Distinguish cache and media

The second consecutive build will be affected by the page cache and the build cache. Use a separate set of cold boot samples to represent the first task after booting, and a set of hot samples to represent daily edits. If it only takes a few seconds the second time, check whether the same batch of files has actually been recompiled.

Change the result into development time

For example, only one complete build and forty incremental builds are done every day, and the cumulative wait for the two items should be calculated according to their respective frequencies. Logging temperatures along with failed retries can explain whether more expensive storage solves a developer’s specific problem.

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 →