Path: ...!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: candycanearter07 Newsgroups: comp.os.linux.advocacy Subject: Re: Building Linux in /dev/shm Date: Thu, 18 Apr 2024 14:50:03 -0000 (UTC) Organization: the-candyden-of-code Lines: 36 Message-ID: References: Injection-Date: Thu, 18 Apr 2024 16:50:04 +0200 (CEST) Injection-Info: dont-email.me; posting-host="5b0b1583fb7e97c7fcf46e8761e3ce6d"; logging-data="2439267"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX191o9dEbcUs/VExKJMTkjuybM0TZPAyfIrLm3MM/DzNGQ==" User-Agent: slrn/pre1.0.4-9 (Linux) Cancel-Lock: sha1:iNRrXR/XqBceWh7tCd+A/WEWG4Y= X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]% b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx `~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e ZrQsWJ >|l^I_[pbsIqwoz.WGA] wrote at 23:41 this Wednesday (GMT): > $ df -h . > Filesystem Size Used Avail Use% Mounted on > tmpfs 126G 542M 126G 1% /dev/shm > > What do you think? Is it worth it to try building Linux > on a ramdisk? > > 6.8.7 is out now, so I thought I'd try it: > > $ time -p make -j 32 > [...] > real 432.09 > user 11085.32 > sys 2520.37 > > That's with a "kitchen sink" build using a .config that > originally came from Linux Mint's "lowlatency" sources. > > (To set it up, I unpacked the tar file onto /dev/shm -- much > faster than if I'd tried to rsync the unpacked sources.) > > After the build: > $ df -h . > Filesystem Size Used Avail Use% Mounted on > tmpfs 126G 23G 103G 19% /dev/shm > > (Of course, now that I've done this stunt, I'm rsync'ing > the tree onto my NAS, so I'll have it after the reboot.) > > And there you go: doing Linux stunts, so you don't have to. Isn't /tmp usually mounted as a ramdisk? -- user is generated from /dev/urandom