What does vmlinux module do?

What does vmlinux module do?

I wrote a simple routine that basically traverses a huge array list and touching only one entry per cache block. I basically wanted to stress the L1-Cache. I used remote sampling to evaluate this application on a Linux box.

My module view for different sampled processes (including my application) shows a lot of vmlinux with large memory misses. Does anyone know what this kernel module does?. I want to clarify whether it is connected in anyway to the remote sampling process (because I get it even when I sample the remote machine without any user processes running on it).

Thanks

6 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

the default view after sampling collection is the modules view for ALL processes.
If you want to see module view only for your process, first click process view, then choose your process, and only then click on module view.

does it help?
-Daniel

I understand. But I wanted to know what the vmlinux module does (since it seems to encounter so many misses).

I wanted to know whether it is related to the remote agent module execution on the linux box.

hi,

well there is also non-remote version (native) of VTune on Linux, with command line interface.
Have you tried it? (see more info on this tool in VTune for Linux forum, next to this one)

unfortunately i have no precise answer to your question.

in tuning methodology VTune serves for the reasonable numbers are not actually the number of events (like cache misses) but rater the ratios (please see more info on different ratios in VTune help)

as an interesting experiment you can conduct is to build kernel not stripped and run sampling collection again. then you will probably get the function names along with hotspots. this info migh answer better to your question?

-Daniel

The vmlinux module is the Linux kernel. I am just guessing but your test may create a lot paging activity in addition to stressing the L1 cache.

-- Norbert

Juffa you are correct the vmlinux module is the kernel. If you want to be able to drill down into the kernel, rebuild it w/ the -g option so it has symbols.

Leave a Comment

Please sign in to add a comment. Not a member? Join today