From: DT <to...@in...> - 2007-07-13 10:03:44
|
Thanks for your help Maynard. I think that, in order to profile IPSec, I need "opcontrol --vm-lnux=3D/b= oot/vmlinux..." However, when I do it on my computer I get the following error message: sudo opcontrol --vmlinux=3D/boot/vmlinux-2.6.20-15-generic The specified file /boot/vmlinux-2.6.20-15-generic does not seem to be va= lid Make sure you are using the non-compressed image file (e.g. vmlinux not v= mlinuz) ... and I'sure vmlinux is the right one (i.e., I gunzipped it from the vm= linuz fle...) Any idea? Thanks Dario DT wrote: > Hi All! > > I need to measure the CPU consumption due to the usage of IPSec. > If I got everything correct, OProfile is the right tool. > However I still have some problems. > > Assuming I don't want to profile the kernel (i.e., sudo opcontrol --no-= vmlinux), \ > what is the meaning of "no-vmlinux" in the list given by opreport? For= example, in \ > the following dump, did the kernel use 24.3621% of the CPU? Is the term= "samples" \ > equivalente to the CPU clocks? The summary report does show the number of samples taken in the kernel. But when you generate a report with symbols info, the kernel samples are not included. One sample is equivalent to n events, where n is the count value you specify for the event you want to monitor. In your case: 1 sample =3D 100000 clocks processor is not halted But I thought IPSec stuff was in the kernel . . . not sure where, though.= Regards, -Maynard > > CPU: PIII, speed 601.38 MHz (estimated) > Counted CPU_CLK_UNHALTED events (clocks processor is not halted) with a= unit mask \ > of 0x00 (No unit mask) count 100000 CPU_CLK_UNHALT...| > samples| %| > ------------------ > 30849 35.9902 libc-2.5.so > 30337 35.3929 sipp > 20882 24.3621 no-vmlinux > 1727 2.0148 libstdc++.so.6.0.8 > 838 0.9777 modprobe > 425 0.4958 oprofiled > > Any help is appreciated. > Thanks > Dario=0A=0A=0A------------------------------------------------------=0A= Leggi GRATIS le tue mail con il telefonino i-mode=99 di Wind=0Ahttp://i-m= ode.wind.it/=0A |