Hi all,
I am trying to profile a system serving as a VPN gateway (user and
kernel, using OProfile). For some reason, it seems that 40% of the time
is spent in get_offset_pmtmr(). I couldn't find any information on this
function, but since the PM timer is a part of ACPI, I tried disabling
that subsystem on the server (with acpi=off). Now I see that the system
is spending 34% of its time in apm_get_info().
Can someone please enlighten me:
1. What does the PM timer do? Does it substitute HPET, or am I confusing
two unrelated issues?
2. Can the system actually be spending 40% of its time updating this timer?
3. What does apm_get_info() do, and can I also disable APM?
When I run the test, the system is almost entirely saturated (~7% CPU
idle time).
Thanks,
Elad
P.S.,
I have submitted a related question on the OProfile mailing list, but so
far did not get a response.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/