Building Linux in /dev/shm

Liste des GroupesRevenir à ol advocacy 
Sujet : Building Linux in /dev/shm
De : vallor (at) *nospam* cultnix.org (vallor)
Groupes : comp.os.linux.advocacy
Date : 18. Apr 2024, 01:41:37
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <uvpmng$1mntq$4@dont-email.me>
User-Agent : Pan/0.158 (Avdiivka; 6a11104 gitlab.gnome.org/GNOME/pan.git; x86_64-pc-linux-gnu)
$ 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.

--
-v

Date Sujet#  Auteur
18 Apr 24 * Building Linux in /dev/shm13vallor
18 Apr 24 +- Re: Building Linux in /dev/shm1Lawrence D'Oliveiro
18 Apr 24 `* Re: Building Linux in /dev/shm11candycanearter07
19 Apr 24  `* Re: Building Linux in /dev/shm10vallor
19 Apr 24   +* Re: Building Linux in /dev/shm5Lawrence D'Oliveiro
22 Apr 24   i`* Re: Building Linux in /dev/shm4vallor
22 Apr 24   i +* Re: Building Linux in /dev/shm2Lawrence D'Oliveiro
23 Apr 24   i i`- Re: Building Linux in /dev/shm1candycanearter07
22 Apr 24   i `- Re: Building Linux in /dev/shm1DFS
19 Apr 24   `* Re: Building Linux in /dev/shm4candycanearter07
19 Apr 24    +* Re: Building Linux in /dev/shm2vallor
19 Apr 24    i`- Re: Building Linux in /dev/shm1candycanearter07
19 Apr 24    `- Re: Building Linux in /dev/shm1rbowman

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal