News for hackers. Stuff that matters.
Re:Graviton2 and Graviton3 by staticassertion on Saturday December 04, 2021 @08:07PM (#29445857)
> They must be applications with extremely bad design causing super low cache hits.

So basically any program written in a language with pointer types exclusively.

Re:Graviton2 and Graviton3 by throwaway894345 on Saturday December 04, 2021 @09:47PM (#29446313)
I thought I’d heard that Java VMs go to great lengths to maintain cache coherence? I’d be curious to hear from the Lisp folks because I always hear that Lisps can be surprisingly performant.
Re:Graviton2 and Graviton3 by staticassertion on Sunday December 05, 2021 @01:51PM (#29451770)
There are some optimizations in the JVM that will improve cache coherence. Bump allocation helps, inlining and escape analysis help, etc.

In theory the GC can also rearrange memory to 'compact' it. I'm not aware of this optimization in practice.

Re:Graviton2 and Graviton3 by throwaway894345 on Sunday December 05, 2021 @02:30PM (#29452213)
As far as I know, all mainstream Java GCs are compacting; however, I don’t have an idea about the degree this improves cache coherence.
Re:Graviton2 and Graviton3 by mda on Saturday December 04, 2021 @11:22PM (#29446659)
Even then, today's cpus have enormous caches, and not all parts of program is pointers. you cant make a crappy application much faster just because you have faster ram.