public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* Improving build performance (on slow storage)
@ 2019-06-13 15:17 Michael Tremer
  2019-06-15 10:03 ` Matthias Fischer
  2019-09-17 16:18 ` Matthias Fischer
  0 siblings, 2 replies; 9+ messages in thread
From: Michael Tremer @ 2019-06-13 15:17 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

Hello,

I just wanted to post you an update about the build system which we have recently merged.

The whole build process is primarily CPU bound and secondarily IO bound. Some builders have by definition slow storage (the ARM SBCs for example), but also for other reason it does not make sense to run the build on persistent storage. We can keep it in RAM instead which makes accessing files a lot faster and saves write cycles on the media.

Therefore, the make.sh build script is mounting /usr/src in the build environment as a ramdisk. All source will be extracted there and the build will be performed. After the build is done, the whole ramdisk will be destroyed again.

This feature is automatically enabled on all build systems which have 4GB of RAM or more. You can manually disable it with the ENABLE_RAMDISK=off switch in .config.

I hope this brief email makes sense. If you have any questions, feel free to ask.

Best,
-Michael

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-09-18 16:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-13 15:17 Improving build performance (on slow storage) Michael Tremer
2019-06-15 10:03 ` Matthias Fischer
2019-06-15 13:51   ` Michael Tremer
2019-06-15 14:12     ` Matthias Fischer
2019-09-17 16:18 ` Matthias Fischer
2019-09-17 20:30   ` Michael Tremer
2019-09-18 14:31     ` Arne Fitzenreiter
2019-09-18 16:42       ` Matthias Fischer
2019-09-18 16:42     ` Matthias Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox