News for hackers. Stuff that matters.
Re:Some of the error messages produced by Apple's MPW C comp... by smoldesu on Sunday August 27, 2023 @03:50PM (#37285999)
I don't think that feature is exclusive to Apple Silicon, or Macs.
Re:Some of the error messages produced by Apple's MPW C comp... by LoganDark on Sunday August 27, 2023 @03:56PM (#37286053)
It's a joke (clearly not a very good one) based on my experience that when Apple first offered only 8GB of RAM on the first ASi Macs, everyone's response was that Apple Silicon can simply store more data in the same amount of memory or something. Back when I used macOS on Intel, 16GB was relatively comfortable, but I can't imagine that switching to ARM would magically halve memory requirements.

(Yes, the Intel Mac had memory compression as well. And my Windows 11 PC also has memory compression, but only if you also enable swap because Microsoft says "fuck you".)

Re:Some of the error messages produced by Apple's MPW C comp... by astrange on Sunday August 27, 2023 @10:55PM (#37289165)
The AS memory compression is better as it's hardware accelerated.

IIRC Windows doesn't like to overcommit memory and its allocation calls will actually fail instead, but I don't remember the details.

Re:Some of the error messages produced by Apple's MPW C comp... by LoganDark on Monday August 28, 2023 @12:09AM (#37289649)
I think ASi Macs also use swap by default now, because the SSDs are so fast that it's actually a tenable solution to memory pressure. My Intel Mac never had any swap.

> IIRC Windows doesn't like to overcommit memory and its allocation calls will actually fail instead

Yeah... one of the reasons why I dislike it.

Re:Some of the error messages produced by Apple's MPW C comp... by Kwpolska on Monday August 28, 2023 @04:13AM (#37291221)
Intel Macs have swap too. You can check it in Activity Monitor: https://support.apple.com/en-gb/guide/activity-monitor/actmn...
Re:Some of the error messages produced by Apple's MPW C comp... by smoldesu on Monday August 28, 2023 @11:44AM (#37295913)
zswap supports pretty much any cryptographic accelerator. Accelerating memory compression isn't really a new or particularly "better" innovation.
Re:Some of the error messages produced by Apple's MPW C comp... by astrange on Monday August 28, 2023 @02:42PM (#37298666)
Not cryptographic acceleration, compression acceleration. Anyway, they ain't got one, so it doesn't matter if it's supported.