Am 23.02.2013 15:24, schrieb Joseph: > On 02/23/13 13:41, Volker Armin Hemmann wrote: >> >> play around with size. Usually 2GB is more than enough. Except for >> libreoffice. >> Then umount /var/tmp/portage and mount it again. > > I have only 8Gb of RAM should I dedicate it all for tmpfs or only 2GB > tmpfs uses as much memory as necessary and nothing more. In theory, it doesn't hurt to add all your memory to it as tmpfs will start to swap when you run out of memory. However, it is usually a better idea to unmount the tmpfs and use a regular file system whenever you need more space. As Volker noted, it is probably best to use 2GB tmpfs and when you emerge libreoffice, (and maybe firefox and co.) to switch back to using a regular fs. You could also expand tmpfs so that it can eat all memory not used by your applications under normal circumstances. Example: `free -m` total used free -/+ buffers/cache: 4717 3053 So in my case I'm probably fine with a 3GB tmpfs while still avoiding excessive swapping. Regards, Florian Philipp