Hacker News new | past | comments | ask | show | jobs | submit | corvettez0606's comments login

Apple did a lot right with this change to make memory fast. I can see AMD and Intel adopting a similar strategy and putting something like 16 GB of dram on chip. Need more than that? Then add “L2 dram” on an external dimm. 16 GB will cover most people’s use cases and with the ability to add L2 dram the high memory usage cases are covered too. (I remember when you could buy cards with L2 cache on them back in the day. 486 I think had them. This is just taking it to the next level.)


Not an Apple innovation.

Intel already launched a processor with 16GB on-package MCDRAM in 2016 (Knight's Landing Xeon Phi). You can even buy an Intel Xeon with 64GB HBM2 today. Nvidia likewise has been packaging HBM with their server GPUs.

Embedded DRAM (eDRAM) been used for long time in the mobile and console space. e.g. IBM's POWER7 (e.g. Nintendo Gamecube) and Intel Haswell products. However, using a logic process node to make DRAM cells is wasteful. Packaging technologies have advanced sufficiently that you now regularly see regular DRAM dies (LPDDR, HBM) being put on-package.

But all of that is packaging and manufacturing technologies. We're still taking to DRAM over a memory bus like we're still living in the '80s. The true innovation I'm looking out for is for a company to stick its neck out and use a different communication standard to talk with the DRAM modules. Something like the CLX.mem standard, which is used in the server space to talk to memory expansion modules.


"16GB will cover most people's use cases" may be true, but DIMMs will also cover most people's performance needs.

The amount of people that need memory speeds and latencies beyond what SO-DIMM and CAMM can handle, but only need 16GB of RAM is absolutely tiny.


And when it ceases to be sufficient, just discard it and purchase a replacement. How convenient.


Maybe for ultrabooks and similar but I'm not overly thrilled about the idea.

Is there a good overview of how much of a benefit the onchip ram is?


All modem CPUs have L1, L2, and L3 caches. Commonly available consumer chips go up to 144MB already.


Parent is not speaking about cache (L1/L2/L3/...), but about main memory (RAM) of which 16GB would be permanently integrated into the CPU - this would be L1 RAM and of the rest, L2 RAM which would be outside of CPU.


I’m not exactly sure why they mentioned it, but in their defense—it is all fundamentally volatile storage, just used differently. Memory of course has a special magical meaning to operating systems, but hypothetically it might make sense to mark L3 cache as memory, and maybe… treat DRAM as swap? Hypothetically!


"L3 cache" is a cache of what then? (SWAP stores only parts of memory, not all...)


It wouldn’t be a cache anymore in that case. The hardware thing is named after the typical job we have for it, but if we want to play with the idea of changing how things are used the names might not line up perfectly anymore.

It’s all volatile storage with different uses.


Where is LoRD?


With these kind of changes I always wonder if they make the product more secure or less secure.


It's why I'm thankful it's both open source and highly scrutinized by the community, both volunteers, independent security researchers, and big companies like Google that deploy billions of instances of Linux (servers, google cloud, android, chromeOS, etc).


The backdoored elliptical curves were vetted too…


And we know about it. The backdoor methods have been generalized and now researchers can check for that too.

For example bitcoin's elliptic curve secp256k1 was choosen because its constants were chosen in a predictable way and that reduces the possibility of a backdoor.


I've not been in the loop, what was this?


Compromised approved (subsequently retracted) elliptic curve random number generator [1]

Potentially-compromised elliptic curves used for Diffie-Hellman-Merkle key agreement and digital signatures [2][3][4]

[1] https://en.wikipedia.org/wiki/Dual_EC_DRBG

[2] https://safecurves.cr.yp.to/rigid.html

[3] https://www.hyperelliptic.org/tanja/vortraege/20130531.pdf

[4] https://blog.cr.yp.to/20140323-ecdsa.html


Dual EC DRBG is the known backdoored curve. You have the links to the high level story in a sibling comment.

I would also like to add, however, that the possibility of a backdoor was patented by Scott Vanstone I think, and raised in NIST standardization process (and I suspect standardized under pressure from the NSA more than anything). Other negative facts that were raised include the fact that it sucks badly, i.e. compared to just about any other RNG, it performs very poorly. So the process isn't as bad as it looks.

DualEC was a backdoor, but not a very good one. People noticed the possibility and it sucks compared to literally anything else. The only people who used it appear to be customers of RSA Inc.

I would also like to add that Elliptic (not Elliptical, these are not the equations of ellipses) Curves, even the NIST ones, are not known to be backdoored and there's no evidence they contain any weaknesses at present. There are plenty of non-American cryptographers who are unlikely to keep any analysis a secret if they found such evidence, and I would say quite a few American ones who would also publish.




As Jason mentions, the most important contribution here is to make the code more readable and improve documentation.

But there are also some fairly unambiguous improvements - switching from SHA1 to BLAKE2 for extracting the random bytes for example.


Yes, I think there's some points we can generalize for all software there:

- Readability counts. If you can't read the code, who could test or improve it?

- Documentation needs to be cared for near the code, only then you have a chance it's not outdated

- It's possible to improve correctness and efficiency at the same time (if your code is understandable)

- Use the literature available

- Code once holding high standards will need to be checked constantly too so it doesn't rot.


With this and Wireguard Jason is hitting it out of the park. I wonder what's next.


In this case, more.


Sorry. I didn't know that rule when I posted the link. Thanks for correcting me.


Eieio


Yes. Me.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: