<div class="gmail_quote">On Sat, Jan 30, 2010 at 5:16 PM, Waldek Hebisch <span dir="ltr"><<a href="mailto:hebisch@math.uni.wroc.pl">hebisch@math.uni.wroc.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Here is what oprofile tells me on my machine (this is not</div>
the newest ECL, if register change is commited I can retest<br>
with newest version):<br></blockquote><div><br></div><div>Thanks for providing new evidence. I did not know about oprofile -- seems to do a similar job as OS X's Shark, which is good.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Top symbols:<br>
<br>
8276 45.3479 5423 57.2530 libgc.so.1.0.3 ecl GC_mark_from<br></blockquote><div><br></div><div>This is what I do not understand and what I also see in the Mac. GC_mark_from is taking too much time. I have the feeling that the garbage collector is too eager in marking, looking at regions of memory that have not really changed between garbage collections and misidentifying too many pointers. Part of this may be due to ECL's mark routine. Maybe this can be improved by using dedicated mark routines, as gcj does.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
3149 17.2548 738 7.7914 libgmp.so.3.4.2 ecl __gmpn_add_n<br>
1699 9.3096 349 3.6845 <a href="http://libc-2.8.so" target="_blank">libc-2.8.so</a> ecl memcpy<br>
1130 6.1918 688 7.2635 libgc.so.1.0.3 ecl GC_header_cache_miss<br>
1046 5.7315 932 9.8395 libgmp.so.3.4.2 ecl __gmpn_mul_1<br>
<br>
Gc part looks bad. But 10% in memcpy is not negligibe compared to 25%<br>
in libgmp.so.3.4.2.<br></blockquote><div><br></div><div>That would be mostly absent in the latest version.</div><div><br></div><div>Juanjo</div></div><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br>
<a href="http://juanjose.garciaripoll.googlepages.com">http://juanjose.garciaripoll.googlepages.com</a><br>