Re: [ovs-dev] [v2 2/2] ovsdb: Add per transaction commit instruction counter

2015-07-15 Thread Andy Zhou
When dropping perf-counter.c, I missed that It also contained a fix that is necessary for the remaining patches for pass unit tests. I will add it back to the patch set and post v3. Sorry about this. On Tue, Jul 14, 2015 at 5:06 PM, Ben Pfaff wrote: > On Tue, Jul 14, 2015 at 03:57:15PM -0700, B

Re: [ovs-dev] [v2 2/2] ovsdb: Add per transaction commit instruction counter

2015-07-14 Thread Ben Pfaff
On Tue, Jul 14, 2015 at 03:57:15PM -0700, Ben Pfaff wrote: > On Wed, Jul 08, 2015 at 02:17:57PM -0700, Andy Zhou wrote: > > Measure user space only instruction counters for commit each > > transaction. This measurement is mainly useful for > > tuning OVSDB internal implementation, such as how OVSDB

Re: [ovs-dev] [v2 2/2] ovsdb: Add per transaction commit instruction counter

2015-07-14 Thread Ben Pfaff
On Wed, Jul 08, 2015 at 02:17:57PM -0700, Andy Zhou wrote: > Measure user space only instruction counters for commit each > transaction. This measurement is mainly useful for > tuning OVSDB internal implementation, such as how OVSDB scales over > number of client connections. > > A simple usage ex

[ovs-dev] [v2 2/2] ovsdb: Add per transaction commit instruction counter

2015-07-08 Thread Andy Zhou
Measure user space only instruction counters for commit each transaction. This measurement is mainly useful for tuning OVSDB internal implementation, such as how OVSDB scales over number of client connections. A simple usage example: ovs-appctl -t ovsdb-server ovsdb-server/perf-counters-clear ovs