On Wed, Aug 15, 2018 at 1:33 PM, [email protected] <[email protected]> wrote: > Considering most people will be using a device with 16GB+ RAM I believe > that the default should be no swap files at all and at the very least an > option checkbox to disable it > > Reasons: > Even older devices like the circa 2011 thinkpad laptops support 16GB > (x220) and 32GB (W520) > > The last and best owner controlled x86 devices support 16GB (AMD FT3 > pre-PSP laptops like the popular for qubes G505S) and 192GB > (workstations/servers like the kgpe-d16) + I see absolutely zero reason > to have swap on my 64GB RAM workstation. > > Pros: > No extra SSD wear > No risk of passwords/data written to disk by accident. > > Objections? Thoughts? > > I disabled mine in dom0 with no issues on a 8GB RAM laptop, sometimes I > must shut down a VM to start another (I can't have tons of idling VM's) > but other than that no issues. > > I also disabled mine in the AppVM's with no issues - although for some > reason it magically re-activates when I update which is aggravating and > I was wondering why that is if anyone can answer me.
FWIW, I hit swap even with 16gb. I prefer the current behavior of things swapping and my system becoming slow and unresponsive until I recover it than the alternative of processes being killed. Consider a DispVMs in which you are doing some important work. When it becomes starved for memory and no swap is available, the OOM-killer kicks in, and the process with the highest oom-score will probably be the browser the DispVM is waiting on. When that gets killed, the VM closes and you lose everything, all without warning, and with no hint of why this happened to the user. As much as swapping is a bad user experience, the alternative seems worse IMO. -- You received this message because you are subscribed to the Google Groups "qubes-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/CABQWM_DjJFdQjys3CXgw3PtE%2BHDC%3DNjpuTOJQPeyMvU00bWscw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
