What is your biggest patch?
I found the more objects I have, the higher the CPU is. This is the CPU when audio is turned off and there are no control messages.
The patch I'm trying to extend is somewhere between 25,000 and 27,000 objects. (using grep obj to count em)
I did notice that it does not matter if they are "real" objects (solid outline) or if they are objects that did not get created (with a dotted outline). This is strange as I imagine that the source of the "baseline" cpu problem could be pointers, but I thought dotted objects, not real objects, should not have any associated pointers, so they should not contribute to the CPU...
I could not get gprof to work with PD, so I'm going to give it another try with oprofile, but it may have to wait until next week.
Oh and I'm running this patch on a AMD64 3200+
.b.
On Tue, 22 Jan 2008, B. Bogart wrote:
The patch I'm trying to extend is somewhere between 25,000 and 27,000 objects. (using grep obj to count em)
Is this really all in the same canvas (patcher) without counting subpatches and abstractions? If it is, then you've hit the linked-list problem for real. If it isn't... well, it might be a different linked-list problem that I haven't noticed so far or that I don't remember about.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
Same Canvas, I'm not crazy!!!
Many canvases.
I'll post to the list if I can get a test patch working that shows this odd baseline CPU problem.
.b.
Mathieu Bouchard wrote:
On Tue, 22 Jan 2008, B. Bogart wrote:
The patch I'm trying to extend is somewhere between 25,000 and 27,000 objects. (using grep obj to count em)
Is this really all in the same canvas (patcher) without counting subpatches and abstractions? If it is, then you've hit the linked-list problem for real. If it isn't... well, it might be a different linked-list problem that I haven't noticed so far or that I don't remember about.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev