Re:Librebooting the ThinkPad T480
by rangestransform on Friday December 13, 2024 @12:15PM
(#42410355)
I think a more accurate statement is that developer time is more expensive than RAM now
Developer time is more expensive to the company than the user’s ram is, of course.
Re:Librebooting the ThinkPad T480
by BenjiWiebe on Friday December 13, 2024 @09:43AM
(#42408831)
No, unused memory should always be used as cache if it has no other use at the moment. It's wasted otherwise.
Re:Librebooting the ThinkPad T480
by UweSchmidt on Friday December 13, 2024 @11:06AM
(#42409785)
Is that generally how unused memory is used, and will this kind of "cache" be released if another application truly needs it to load actually vital things?
Yes, that’s the main job of the OS memory management.
I think a lot of this comes down to semantics confusion for most people. Intuitively one would assume "unused" memory would be the inverse of "used" memory, with not everyone thinking what even counts as "used" or "unused" in the first place. In reality on macOS/Windows/Linux "used" memory is counted as a specific type of usage (e.g. processes/system/hardware), cached things are counted as cached, and there are multiple ways to refer to which "unused" portion you mean (e.g. free vs available) as well as anywhere between a half to several dozen ultra specific terms to break things up further with which probably don't matter in context.
Once you clear the semantics hurdle it's surprising how much people are in agreement that "used" should be optimised, "cached" should fill as much else as possible, and often having large amounts of "free" is generally a waste. The only remaining debate tends to center on how much cache really matters with a fast disk and what percentile of workload burst should you worry about how much "free" you have left after.
Using memory doesn't have to be about badly written software though, there's many legitimate use cases for actually using your memory to make your experience better.
Re:Librebooting the ThinkPad T480
by UweSchmidt on Friday December 13, 2024 @12:27PM
(#42410448)
My comment has not suggested that there were no legitimate cases for using more memory.
It's too easy, and happening too often on HN these days, to reply with a low-effort contrarian statement without engaging with the central point of the argument.
I accept trade-offs concerning development effort and time-to-market, however the phrase "Unused memory is wasted memory" does not seem appropriate for a developer who's proud if their work.
Little friday rant, sorry :-)