Re: Tracing memory->memory copies in linux...

Tom May (ftom@netcom.com)
Sat, 13 Apr 1996 21:48:28 -0700


> Does anyone have trace information on what fraction of the time
> linux spends performing memory->memory copies, how big these copies are,
> etc? Or a pointer to what I need to know to get the information myself?

When I was redoing the memcpy to/from fs stuff, I added code to the
inline functions to do some accounting in global variables (size of
transfer, source/dest alignment, etc.), and added an entry to /proc so
I could do "cat /proc/memcpy" or whatever to see the results. I might
be able to dig up the /proc stuff if you're interested. It was pretty
simple. You could get some of the info you're looking for this way.

Tom.