Everyone tends to think of swapfiles being disk based.
In reality, swapping to RAM is exponentially more popular.
If you have a traditional model of memory in your head, this makes NO SENSE. Swap is that thing we use when the system runs out of real ram right?
You know, RAM fills up, swap out to SSD to give the OS some breathing room. Why (and how?) would you swap to memory…very thing that’s full?
Well, Modern CPUs are ridiculously fast at compression, especially with something light like lz4. Zswap intercepts old pages, quickly compresses them, and then crams them back into system RAM. If you’re lucky, you might be able to fit ~3-4 compressed pages into the space of 1 traditional page.
Of course, this also has the benefit of not prematurely wearing out your SSD.
Mobile has done this for *years*, I know Android specifically has used this for a decade+. Regular Linux is catching up, Fedora uses zram by default now. The NT kernel (windows) also has their own implementation of in-memory compression, you can see it in task manager quite easily!
Anyway, it’s a fun trick used everywhere that few realize. Towards the future, I wouldn’t be surprised if inline, accelerated LZ4 starts showing up in the majority of CXL controllers.
@NavinFS@sluongng It's this way because the admin account has a simple 'you either remember the password or you're denied' model, whereas all the other stuff is interdependent. Microsoft is working hard to 'fix' this separation by tying the admin account to email.
@AdamGrey__@ThymeToBeBorn I told my kids: Do not ever walk behind the tractor when it's running. Stay far away because it can kill you.
How's that contrived?
A bought a Samsonite briefcase at a thrift store for $7 as a teen. I carried it all through college and still use it occasionally. Taking a cue from this, I bought Samsonite luggage and have so far been happy.
It's not just luxury hotels that are a scam, it's almost everything that's luxury that's a scam
Gf bought Rimowa suitcases, expensive and supposed to be better quality than regular ones, but of course they're much worse
They keep breaking, like all of them, cracks in the handles, cracks in the sides, it's just cheap plastic shit but it costs $1000 or more
Rimowa was bought by LVMH in 2016 which has an average profit margin of 66% and whose strategy is to increase prices by ~5x, decrease costs by ~5x and then create artificial scarcity (limited availability per shop) because people want what they can't get (not me though but many)
LVMH is kinda like the luxury version of private equity, it makes everything more expensive and worse and hard to get!
@Keg767 My teenage friend has his private license and is working on a bunch of certs. The training videos I watched over his shoulder were all about flight calculations; very little about the controls.
I know every generation has their class struggles, but let me tell you about the summer of 1990 when Supersoakers hit the market and only a few kids could afford them and the rest of us were hunted for sport.