Hacker News new | ask | show | jobs
by malshe 1 day ago
I mean you could just use this, right?

https://downloadmoreram.com

1 comments

When I was a kid software that would "double your RAM" was a thing. I remember thinking it was awesome, and at the same time feeling a huge sense of doubt that you could do that.
SoftRam. Raymond Chen wrote a great technical analysis on what it actually did: https://devblogs.microsoft.com/oldnewthing/20211111-00/?p=10...
MacOS does memory compression as standard since 2013. Linux has it, and iirc even Windows has it since 10.
Didn't DOS have it too?
Definitely not. DOS had disk compression utilities, but not RAM - there was no reasonable way to accomplish that at the time.

You may be thinking of "memory manager" utilities like QEMM and EMM386 which tried to maximize the amount of conventional memory available to programs (i.e. below the 640KB boundary). These programs worked primarily by causing drivers and TSRs to run in upper memory - they didn't actually provide more memory.

So that was what 13yr old me was doing modifying himem.sys to get some stupid game to launch. :-)
Oh right! I got disk compression and QEMM and EMM386 all mixed together in my now decades old memory (pun kind of intended) of DOS to produce that false recollection.
AI has kinda already gone through that phase, with quantisation you can effectively double your ram with almost no negative effects by going from fp16 to int8.
I’m surprised the concept of drivespace/double space died off. Maybe most files self-compress well from their native app, but I’m sure it’s not universal. OSs don’t seem to offer a prompt to compress relatively unused files and transparently uncompressed them on-demand.

https://en.wikipedia.org/wiki/DriveSpace

It did not, for example my /home is a btfrs mounted with compress=zstd:3

And some machines I’ve used, had swap on zram…

Similar idea to the "turbo" button in some old pentiums?
This exists for LLMs it is quantization.