Montare /tmp in RAM
You can mount the directory
/tmp directly into RAM, in order to achieve a slight increase in performance. You must add the following line to /etc/fstabE' possibile montare la directory
/tmp direttamente nella RAM, allo scopo di ottenere un leggero incremento di prestazioni. Si deve aggiungere la seguente riga al file /etc/fstab:tmpfs /tmp tmpfs noatime 0 0This can also be used to give a certain speed-up to portage: If you set /tmp as portage's temporary directory (inserting the line
More informations here.
PORTAGE_TMPDIR = "/tmp" in /etc/make.conf), the compilations will be performed in RAM. Some packages, however, require a substantial amount of temporary space for compilation, then this technique must be used with care.More informations here.
Questo può essere utilizzato anche per dare un certo speed-up a portage: se si imposta come directory temporanea di portage la /tmp (tramite la riga
Maggiori informazioni qui.
PORTAGE_TMPDIR="/tmp" nel file /etc/make.conf), le compilazioni verranno effettuate in RAM. Alcuni pacchetti però richiedono una quantità notevole di spazio temporaneo per la compilazione, quindi questa tecnica va utilizzata con accortezza.Maggiori informazioni qui.

Nessun commento:
Posta un commento