From: Maynard J. <may...@us...> - 2013-12-18 21:59:32
|
Thanks, Carl. Patch committed. -Maynard -------- Original Message -------- Subject: [oprofile:bugs] #262 operf kernel throttling detection is broken Date: Wed, 18 Dec 2013 21:01:43 +0000 From: Carl Love <car...@us...> Reply-To: [oprofile:bugs] <26...@bu...> To: [oprofile:bugs] <26...@bu...> I reviewed the patch, applied it and tested it. The patch fixed the issues. Looks good. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ *[bugs:#262] <http://sourceforge.net/p/oprofile/bugs/262/> operf kernel throttling detection is broken* *Status:* open *Created:* Tue Dec 17, 2013 08:25 PM UTC by Maynard Johnson *Last Updated:* Wed Dec 18, 2013 03:31 PM UTC *Owner:* Maynard Johnson With oprofile 0.9.8, the operf command below produces the following output on an Intel Core 2 Duo/RHEL 6.4 system: [maynard@oc3431575272 test-stuff]$ operf -e CPU_CLK_UNHALTED:20000 ./memcpyt 200000000 operf: Profiler started Num iterations passed is 200000000 memcpyt starting with PID 2423 source_address: 7fff689b7003 dest_address: 7fff689b5007 200000000 interations of memcpy(d+7.s+3,65) requires 10.016 seconds * * * * WARNING: Profiling rate was throttled back by the kernel * * * * The number of samples actually recorded is less than expected, but is probably still statistically valid. Decreasing the sampling rate is the best option if you want to avoid throttling. Profiling done. The same operf command using current upstream oprofile produces no throttling message. But by comparing the number of samples with profile runs using a lower sampling rate (i.e., count value >=100000 for CPU_CLK_UNHALTED), I can see that the kernel must be throttling, because we're not collecting enough samples for the given sampling rate. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/oprofile/bugs/262/ To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ |