News for hackers. Stuff that matters.
Re:Memory access on the Apple M1 processor by reasonabl_human on Wednesday January 06, 2021 @05:39PM (#25663651)
Mind sharing the micro benchmark you wrote? I’m curious to know how that would work
Re:Memory access on the Apple M1 processor by sliken on Wednesday January 06, 2021 @06:00PM (#25663900)
https://github.com/spikebike/pstream

It's designed to graph latency/bandwidth for 1 to N threads. My 1 thread numbers match Anandtech's. Use -p 0 for full random, which thrashes the TLB or -p 1 to be cache friendly (visit each cacheline once, but within a sliding window of 1 page).

To see the apple results (if you have gnuplot installed): ./lview results/apple-m1