a big advantage of 32-bit executables is they die with allocation failure instead of sending a machine into swapping hell change my mind
-
-
-
-
Yes but that's a Linux design flaw in hibernation. You shouldn't need it.
3 replies 0 retweets 4 likes -
Replying to @RichFelker @whitequark and
Can use a swapfile rather than a swap partition though. Have 64GB of memory and an 128GB swapfile for hibernation via apcupsd when the UPS has gotten below the 5% power threshold. It never uses the swap in regular use even without tuning anything, so it doesn't really matter.
2 replies 0 retweets 1 like -
Replying to @CopperheadOS @RichFelker and
Swap on an NVMe drive is perfectly usable anyway. It wouldn't grind the machine to a halt if it started using it. It would be substantially slower, but these things have fairly insane specs: https://www.samsung.com/us/computing/memory-storage/solid-state-drives/ssd-960-pro-m-2-2tb-mz-v6p2t0bw/ … It'd probably get throttled without good M.2 cooling though.
1 reply 0 retweets 0 likes -
Replying to @CopperheadOS @whitequark and
Sure it would, just because Linux's swap code paths are so bad. Even swap on a MTD backed by DDR DRAM causes the system to grind to a halt if memory pressure gets so high that each access has a significant chance of page fault.
1 reply 0 retweets 0 likes -
Replying to @RichFelker @whitequark and
Haven't had that experience. Doesn't zram, etc. get treated as swap too?
1 reply 0 retweets 0 likes
I think so but I'm not sure. Again the problem is thrashing, which only happens when you've actually allocated and tried to make heavy use of a lot more memory than available physical ram.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.