On Wednesday 17 April 2013 17:38:40 Fabio M. Di Nitto wrote: > > The patch is better. > > Did you verify the performance impact of switching from static to malloc? > > there is a test/cpgbench you can use. Actually cpgbench doesn't show the overhead, as it uses CS_DISPATCH_BLOCKING. After changing the following in cpgbench.c: - cpg_dispatch (handle, CS_DISPATCH_BLOCKING); + while(1) cpg_dispatch (handle, CS_DISPATCH_ONE); I'm getting mixed results (worse for 64 bytes, better but unstable for 8k and 40k). I'll investigate further and let you know. Regards, -- Jose Orlando Pereira
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss