[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Oh no, not partitioning again!

On the 04/02/2011 02:54, Henrique de Moraes Holschuh wrote:
> On Thu, 03 Feb 2011, PMA wrote:
>> /tmp  As a rule of thumb -- i.e., special considerations
>>          notwithstanding -- what do you think of making
>>          this the same size as /var?
> I leave it on /, and ask the initscripts to mount a tmpfs of 1GB (or even
> less) on top.  See attached file (/etc/default/tmpfs).  Edit to fit your
> system and needs.

Depends on the workload, If you do video editing of large files, or use
application like Blender for large projects, you can end up with several
GB's in /tmp very quickly, if space isn't available the application may
freeze/crash and you don't want that in the middle of an editing
session. Some cd/dvd burning applications can be using /tmp for large
amount of data too, for instance when doing a backup/burn on the fly
with only one dvd drive on the machine. With such workloads using a
separate partition on a separate disk improves performances a lot, if
you go the tmpfs way you'll need loads of ram.
It's almost always possible to easily change the location of the
temporary directory in the applications' preferences though.

Reply to: