Re: Setup Recommendation on UEFI/GRUB/RAID1/LVM

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

 



On 04/14/2020 09:20 AM, Wols Lists wrote:
> Again, personally, I'd make /tmp a tmpfs rather than a partition of its
> own, the spec says that the system should *expect* /tmp to disappear at
> any time and especially on reboot... while tmpfs defaults to half ram,
> you can specify what size you want, and it'll make use of your swap space.

Agreed, but keep in mind that what is written to /tmp on tmpfs will be stored
in RAM (reducing your available RAM by that amount).

This only becomes an issue if you are running something that makes heavy use
of /tmp (some databases can use huge amounts of temporary storage for queries,
joins, etc...) Or if you are a budding programmer that routinely (or may
accidentally) write very large files to /tmp. If you fall into this category,
you may want to specify that large temporary files are created elsewhere.

I put /tmp on tmpfs for all normal installations and haven't had an issue.

-- 
David C. Rankin, J.D.,P.E.



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux