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).

  • in the equivalent of task manager (task monitor?) there isn't some that will tell you how much bandwidth a process has consumed? – soandos Aug 6 '12 at 11:33

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.