:: Re: [DNG] use zram for /tmp - how?
Startseite
Nachricht löschen
Nachricht beantworten
Autor: emninger
Datum:  
To: dng
Betreff: Re: [DNG] use zram for /tmp - how?
Am Sat, 04 Jun 2016 21:14:23 +0000
schrieb Florian Zieboll <f.zieboll@???>:

> just guessing as I am usually rather low on ram... following the
> debian wiki link, for a first try i'd adapt the $SIZE and replace the
> mkswap/swapon lines of the script with "mount /dev/zram$i /tmp" and
> comment out the stop/swapoff part. of course the ramdisk will have to
> be mounted before /tmp is used...


Thanks Florian! That might be an idea - if it is not working the other
way around: like parazyd suggested. May be raise the space of zram swap
and set then tmpfs (which should then, if i understand it correctly,
should use the mem including the virtual mem/swap) ...