As Ethan suggested, I add an optimization with this V2 patch. I use stub in monitor_run() to eliminate the need to resize ofpbuf in bfd_put_packet() and cfm_compose_packet().
>From perf result, the improvement is very small. It is possible that the big cpu consumption of "libc-2.15.so" is caused by other library function.
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev