Meta Developing Compressed RAM "CRAM" For Linux: Better Than ZRAM & Zswap

2 days ago by who to c/linux_gaming

Gobbel2000 59 points 2 days ago

If you're concerned about this coming from Meta, you haven't been paying attention. This is not to excuse Metas responsibility in the enshittification of the internet, but as a hyperscalar they of course have been pushing computing technology for a long time, and many of it openly available. CRAM will probably be upstreamed into Linux and I assume is therefore already licensed under the GPL. Meta Research seems to be operating in a much more open and useful way than the rest of the company.

path: 0 26271186, hotness: undefined, score: 59, children: 3
reksas 4 points a day ago

what i worry about is them having any control over it and thus in position to gain more control over everything that might depend on it should it become widely used.

path: 0 26271186 26277563, hotness: undefined, score: 4, children: 1
Gobbel2000 7 points a day ago

In the case of CRAM as a part of Linux the ultimate control still lies with Linus Torvalds. Other Meta projects like for example zstd can be forked as soon as they do some fishy stuff with it. But I do agree, when Meta is in the role of maintainer, we should keep a close eye on how the projects develop.

path: 0 26271186 26277563 26279714, hotness: undefined, score: 7, children: 0
prole 0 points a day ago

It's foolish to fall for the false firewall these corporations try to put up between divisions. Meta is meta is meta. Do not think for a moment that they are not the same thing.

It seems like there are even idealistic employees of these places that have deluded themselves into believing that, simply because right at this moment, the person Meta has put in charge of their division isn't an absolute psychopath, that their positions aren't extremely unethical.

path: 0 26271186 26280247, hotness: undefined, score: 0, children: 0
Skullgrid 22 points 2 days ago

Meta can CRAM this functionality into mark Zuckerbergs ass

path: 0 26269329, hotness: undefined, score: 22, children: 11
thingsiplay 36 points 2 days ago

ZStandard is also developed by a Facebook. And its truly amazing. What's wrong with their CRAM development, if everyone benefits from it for free and is Open Source?

path: 0 26269329 26271144, hotness: undefined, score: 36, children: 10
Skullgrid -12 points 2 days ago

I don't want to have anything to do with facebook, that's why. It's fucking charity washing

path: 0 26269329 26271144 26271957, hotness: undefined, score: -12, children: 9
thingsiplay 18 points a day ago

You actually don't, because this is in the Linux Kernel. Fine if you don't want to, just like I don't want to have anything to do with Epic Games. But this is a personal and emotional decision, and I do respect this!

However, charity washing? Is this conspiracy of something? I mean they develop an Open Source software, controlled by the standards of Linux. So from security and privacy standpoint there should be no issue. And I don't see any problem or issue. If someone could explain to me what the problem here is, I might change my opinion (and trust me, I do change my opinion). I just don't see an issue here.

path: 0 26269329 26271144 26271957 26272012, hotness: undefined, score: 18, children: 6
Skullgrid 3 points a day ago

I pulled a word out my ass because I can't be bothered with looking it up all the way for this ambiguous term.

Basically, like "sportswashing" they are trying to cover up/compensate for their horrible behaviour by releasing crumbs like this to gain goodwill. I'm not going to change my opinion on facebook being a piece of shit scourge on humanity just because they put some ram efficiencies in linux.

path: 0 26269329 26271144 26271957 26272012 26272113, hotness: undefined, score: 3, children: 5
philipp_ 3 points 14 hours ago

I might have bad news for you about large parts of the linux kernel.

path: 0 26269329 26271144 26271957 26285764, hotness: undefined, score: 3, children: 1
Skullgrid -1 points 14 hours ago

yes yes, it's all AI and IBM so it's made of the same algos that ran the Nazi concentration camps.

I don't want to RELISH news of them doing more, and I'm not going to kiss their ass because they spent 0.00000000000001% of their earnings on one patch.

path: 0 26269329 26271144 26271957 26285764 26285988, hotness: undefined, score: -1, children: 0
ItsMeForRealNow 18 points a day ago

I feel like most of such work happens despite the company not because of it. True credit goes to the engineers who did it. I feel like meta would have just scraped them for more VR universe or whatever it was called lol

path: 0 26272009, hotness: undefined, score: 18, children: 1
philipp_ 2 points 14 hours ago

They buy a lot of servers and all that expensive ram is eating into Zuccs orphan crushing machine budget, so something had to be done.

path: 0 26272009 26285740, hotness: undefined, score: 2, children: 0
dusk 8 points 2 days ago

Cool, pervert ram, just what everyone asked for

path: 0 26270171, hotness: undefined, score: 8, children: 2
Funkt4st1c 10 points a day ago

More ram for your ram is just objectively a good thing for computers to have, regardless of the pervert it came from.

path: 0 26270171 26274241, hotness: undefined, score: 10, children: 1
dusk -3 points a day ago

Objectivity sounds like a really good thing, until it is just apathy.

path: 0 26270171 26274241 26274640, hotness: undefined, score: -3, children: 0
ImgurRefugee114 8 points 2 days ago

As a user of zram, I am excited

path: 0 26269631, hotness: undefined, score: 8, children: 0
Fizz 4 points 2 days ago

Looks good, can't wait for this to be adopted into fedora.

path: 0 26271766, hotness: undefined, score: 4, children: 0
this -1 points 2 days ago

Embrace, Extend, Eliminate?

path: 0 26268600, hotness: undefined, score: -1, children: 7
Eggymatrix 34 points 2 days ago

That is not how this works. EEE can be said about window's wsl, but here they are contributing directly to the kernel. That is why linux is that good, these big corporations profit billions by running linux, and getting it sligthly more memory efficient with current ram prices makes them profit even more. Fortunately the license forces them to contribute the code back and we profit from the same optimizations they implemented.

path: 0 26268600 26269002, hotness: undefined, score: 34, children: 1
who 29 points 2 days ago

Fortunately the license forces them to contribute the code back

It doesn't. It would only compel them to share their changes if they distributed their modified kernel to others, rather than simply running it on their own servers. And even then, they wouldn't have to contribute their code back upstream.

They chose to contribute their changes upstream anyway, presumably so they aren't burdened with having to adapt them to every new kernel version in the future. Fortunately, we stand to benefit as a side effect of that decision.

path: 0 26268600 26269002 26269315, hotness: undefined, score: 29, children: 0
who 19 points 2 days ago

I dislike Meta as much as anyone, but sometimes a cucumber is just a cucumber.

path: 0 26268600 26268863, hotness: undefined, score: 19, children: 2
dusk -1 points 2 days ago

Here is your cucumber:

MGXf80NTN3Up2sO.jpg

People who dislike meta don't promote meta.

path: 0 26268600 26268863 26270284, hotness: undefined, score: -1, children: 1
thingsiplay 8 points 2 days ago

I dislike Meta. But I like their work on ZStandard and use it myself. Best compression algorithm since 7zip. It's extremely fast and can be used in may applications for various use cases. If that is the standard we can expect, then I'm happy what they do on CRAM. We only benefit from this.

path: 0 26268600 26268863 26270284 26271187, hotness: undefined, score: 8, children: 0
thingsiplay 2 points 2 days ago

You mean like ZStandard from Facebook too?

path: 0 26268600 26271147, hotness: undefined, score: 2, children: 0
slacktoid 2 points 2 days ago

Let's hope GPL v2 helps

path: 0 26268600 26268637, hotness: undefined, score: 2, children: 0
db2 -4 points 2 days ago

Nope, never going to use this now. I don't trust Meta to walk a dog, certainly not with a core os component.

path: 0 26269562, hotness: undefined, score: -4, children: 27
Quazatron 25 points 2 days ago

If it is good and open, engineering is engineering. Good engineering came out of Meta before, that all of us use daily, like the zstd compression algorithm.

Save the moral outrage for all the other shady shit Meta imposes on humanity, god knows there is a intercontinental cargo ship load of it to choose from.

path: 0 26269562 26269695, hotness: undefined, score: 25, children: 2
dusk -5 points 2 days ago

If you genuinely realise (and care) that meta is shady, there is no merit in supporting the company.

Moral outrage is something that people with decent morality have. Apathy is something that zombies have.

path: 0 26269562 26269695 26270198, hotness: undefined, score: -5, children: 1
Quazatron 2 points 3 hours ago

If you do not want to support Meta, cancel your WhatsApp, Instagram and Facebook accounts. Stop being their product.

Participation in free/open source software is something that is encouraged from all, even if they are shady corporations like Meta, Google, Nvidia or Microsoft.

path: 0 26269562 26269695 26270198 26292295, hotness: undefined, score: 2, children: 0
ImgurRefugee114 15 points 2 days ago

I got bad news for you if you use the modern web

path: 0 26269562 26269642, hotness: undefined, score: 15, children: 15
db2 -3 points 2 days ago

Name a few things, I'm curious.

path: 0 26269562 26269642 26269653, hotness: undefined, score: -3, children: 14
ImgurRefugee114 23 points 2 days ago

Ever heard of a tiny little thing called React? GraphQL and relay? Presto? Folly? Zstd? Hack? RocksDB? Btrfs?

PyTorch is crazy big in ML/AI and has been for a while now.

And specifically in Linux: https://engineering.fb.com/...

And that's not even mentioning things that aren't just their tech, like open compute and funding foss and the Linux foundations, crap ton of open source projects, testing, bug fixes, and miscellaneous contributions.... Let alone all the tech that tries to compete with their tech; all the alternatives to react et al that are 'next gen'

Like it or not, the facebooks and googles of the world have contributed significantly to things you probably interact with every day.

path: 0 26269562 26269642 26269653 26269799, hotness: undefined, score: 23, children: 5
db2 -15 points 2 days ago

Heard of btrfs, don't use it. Nor the rest.

0 out of 10.

As to the Linux kernel at this point everyone has contributed something. That would be like being mad at air for having been processed by Zuckerbergs human form cooling unit.

path: 0 26269562 26269642 26269653 26269799 26270729, hotness: undefined, score: -15, children: 4
Ludicrous0251 12 points 2 days ago path: 0 26269562 26269642 26269653 26269780, hotness: undefined, score: 12, children: 6
db2 -12 points 2 days ago

0 for 3, is that it?

path: 0 26269562 26269642 26269653 26269780 26270672, hotness: undefined, score: -12, children: 5
tal 6 points 2 days ago path: 0 26269562 26269642 26269653 26269743, hotness: undefined, score: 6, children: 0
brucethemoose 9 points 2 days ago

Meta has funded all sorts of open source infrastructure, for a long time. If you want to avoid their funded contributions… TBH, I wouldn’t even know where to begin.

path: 0 26269562 26269682, hotness: undefined, score: 9, children: 0
thingsiplay 8 points 2 days ago

But why not? What is the fear here? It's not like Meta has any control if you install or enable the feature.

path: 0 26269562 26271206, hotness: undefined, score: 8, children: 6
db2 -2 points 2 days ago

Do you not know what that company does?

path: 0 26269562 26271206 26271662, hotness: undefined, score: -2, children: 5
thingsiplay 8 points 2 days ago

I know the company. But what is the fear about CRAM? What do you think Facebook / Meta will do to harm you, if you use CRAM? I ask this question honestly, as someone who hates Facebook and does not use any of their services, and never visit their pages. But I use ZStandard developed by Facebook. And I do not see any problem in doing so.

path: 0 26269562 26271206 26271662 26271841, hotness: undefined, score: 8, children: 4
db2 -3 points a day ago

If you can audit the code and it's clean and you built it yourself then probably nothing would happen. I don't trust them not to add something to access the memory though and don't have the time to audit code. Theyre not trustworthy enough to give the benefit of the doubt.

path: 0 26269562 26271206 26271662 26271841 26271999, hotness: undefined, score: -3, children: 3
linux_gaming
linux_gaming

@lemmy.world

login for more options
27932
2622
2198

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

No memes/shitposts/low-effort posts, please.

Resources

Help:

Launchers/Game Library Managers:

General:

Discord:

IRC:

Matrix:

Telegram:

go to feed...