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

Re: TMPDIR - Do we also need a drive backed TPMDIR ?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Thu, 2016-07-21 at 13:38 +0100, Ian Jackson wrote:
> You are using `survives reboots' as a proxy for `on disk'; and using
> `on disk' as a proxy for `has enough space for large amounts of data'.

Yes. :-)

> I don't think this is a good approach.
> 
> It's true that /tmp has traditionally been smaller than /var/tmp,
> partly as an accident of partition and filesystem layout.
> 
> As a practical matter, there are big performance gains to be had from
> not requiring across-reboot (and, particularly, across-crash)
> persistence.
> 
> Perhaps the right answer is instead that we should simply configure
> more swap by default ?  (IIRC tmpfs data can be swapped.)

Yes. But that's not the default in our setups. Perhaps next step is to file a
wishlist bug report.


- -- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXkOYrAAoJEKY6WKPy4XVpaiEQAK+3+s4hV/GGvpsZrFo0ePii
PDQ6uFLEGEjfqgE3Y6Syw6gcrt/gmuC9DSVZ1kG0hXbPU9/9fhtQFZnM8tcu/Pfo
SVIODMxaZ9omDBYYl3XHjevM4nkJTPniRs2Mo6frsxE4n6bD1sjb+zMhIT4NFnzM
FzLXi8D4xyiTNhqcESrLz2+GyaOC6gEoHc8xZgaC4+REif66AlCoCzWwRuZzki0S
l5kMP5hjcZm0rTylqAHB1oAyw8Xd4snFYZm2U5qA+THSgI/mDQYCl4a8IlMj+5cn
qB+u43nGjYjeoDsXDkkVVNfBLsm/XFSE48D8OWDfqSZOsGZirJuLk7SYtcgdSXPO
0Iktf25ezLbnhzind1slONgy80Qge5kMDnOJYVT0Cssa4Yfr2ufuA/8pDignxY+L
eJnKqzGMHDnf/Q1I6gt6yj1wNa36gPMYe46EZFoCktQxW78Zpw0bUEtZYJ4xUQjd
Tq/n5ThTtEHV4x6ji8f3UoeSf8ycyBAVz3J5CXqKGoak6+kocCYIogVvILsOFuCf
V14FEuPnr69koT2eGW6R6R02dAU/wrKUcKhljTEabd0/g5Qx/IdhtkEzGLolvWRK
XhZ37jCuQNtKGlcKSwKdRsUjlGnfxHisoUgUhy57gL57DQeRcnH/3hOoQbybtXU9
siLMDcSuAGRqw1UNDD7W
=wbOb
-----END PGP SIGNATURE-----


Reply to: