Re:Linux Touchpad Like MacBook Update: Touchpad Gestures Now...
by aulin on Wednesday December 15, 2021 @10:52AM
(#29567657)
I have a couple of sparse swap files handy for when I know I'll need them.
And it happens with some very specific and predictable use cases.
Usually it's when I need to load some big timeseries csv files from pandas and parse a datetime index. Or when I need to process big images. It's useful to be able to attach some additional swap when you need it and drop it afterwards.
For everyday use I never even exceed 16GBs... Guess everyone has different needs, but there is no way it swaps over 32GB for normal applications, even taking into account overcommitting.
Re:Linux Touchpad Like MacBook Update: Touchpad Gestures Now...
by carlhjerpe on Wednesday December 15, 2021 @11:05AM
(#29567878)
Where do you put the swap? Do you move data off of your drive(s) to make space for the swap?
While this sounds great, not allocating storage for swap means either you'll have that space unallocated or you won't have any swap because your system is full.
Administrative overhead is simpler though, and sparse files don't have any performance overhead in later kernels (Citation needed, read somewhere on some wiki)