How to measure memory bandwidth usage

2

I am trying to determine how close to being bandwidth-limited a code I have written is, so I was wondering whether there are any tools out there to determine memory bandwidth usage? The code I have is a command-line *nix code, and if possible I'd like to measure the bandwidth usage on Mac (but Linux is ok too).

astrofrog

Posted 2012-08-06T11:30:13.707

Reputation: 1 257

in the equivalent of task manager (task monitor?) there isn't some that will tell you how much bandwidth a process has consumed? – soandos – 2012-08-06T11:33:36.533

Answers

1

You can use cachegrind. Memory bandwidth is essentially the same as misses in the lowest-level cache.

David Schwartz

Posted 2012-08-06T11:30:13.707

Reputation: 58 310