|
From: Christoph B. <bar...@or...> - 2006-09-04 09:21:42
|
Hi, what is the expected runtime degradation by using callgrind with cache simulation? Currently I see that starting callgrind with --instr-atstart=no causes a degradation by a factor of 10 (32 hours instead of 3). Using the real instrumentation seems to cause another factor of 8. Altogether I see a slowdown factor of 80 in the part of the programm I want to profile. Are the values reasonable or is there something wrong here? Christoph |
|
From: Nicholas N. <nj...@cs...> - 2006-09-04 10:07:04
|
On Mon, 4 Sep 2006, Christoph Bartoschek wrote: > what is the expected runtime degradation by using callgrind with cache > simulation? > > Currently I see that starting callgrind with --instr-atstart=no causes a > degradation by a factor of 10 (32 hours instead of 3). Using the real > instrumentation seems to cause another factor of 8. Altogether I see a > slowdown factor of 80 in the part of the programm I want to profile. > > Are the values reasonable or is there something wrong here? They seem reasonable. Cachegrind gets slowdowns anywhere from 20--100 times, and I think Callgrind is doing more than Cachegrind does. Nick |
|
From: Josef W. <Jos...@gm...> - 2006-09-07 00:40:14
|
On Monday 04 September 2006 11:21, Christoph Bartoschek wrote: > Currently I see that starting callgrind with --instr-atstart=no causes a > degradation by a factor of 10 (32 hours instead of 3). Callgrind in "No-instrumentation-mode" should have the same slowdown as "valgrind --tool=none ...". > Using the real > instrumentation seems to cause another factor of 8. Altogether I see a > slowdown factor of 80 in the part of the programm I want to profile. > > Are the values reasonable Yes. If you only are interested in the call graph and call counts, you could run without the cache simulation, which should make the profiled parts twice as fast as full simulation. Josef > or is there something wrong here? > > Christoph > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > |