Certainly these are odd results showing that on Windows an extra packet passes through the rate limiter. Do you have any leads on a possible solution? Does timing work somehow different on Windows?
On Sun, Jan 14, 2018 at 05:11:00PM +0000, Alin Serdean wrote: > ofproto-dpif > > 1077. ofproto-dpif.at:1663: testing ofproto-dpif - controller action without > megaflows ... > ./ofproto-dpif.at:1664: ovsdb-tool create conf.db > $abs_top_srcdir/vswitchd/vswitch.ovsschema > ./ofproto-dpif.at:1664: ovsdb-server --detach --no-chdir --pidfile --log-file > --remote=punix:$OVS_RUNDIR/db.sock > stderr: > ./ofproto-dpif.at:1664: sed < stderr ' > /vlog|INFO|opened log file/d > /ovsdb_server|INFO|ovsdb-server (Open vSwitch)/d' > ./ofproto-dpif.at:1664: ovs-vsctl --no-wait init > ./ofproto-dpif.at:1664: ovs-vswitchd --enable-dummy --disable-system > --detach --no-chdir --pidfile --log-file -vvconn -vofproto_dpif -vunixctl > stderr: > ./ofproto-dpif.at:1664: sed < stderr ' > /ovs_numa|INFO|Discovered /d > /vlog|INFO|opened log file/d > /vswitchd|INFO|ovs-vswitchd (Open vSwitch)/d > /reconnect|INFO|/d > /ofproto|INFO|using datapath ID/d > /netdev_linux|INFO|.*device has unknown hardware address family/d > /ofproto|INFO|datapath ID changed to fedcba9876543210/d > /dpdk|INFO|DPDK Disabled - Use other_config:dpdk-init to enable/d > /netdev: Flow API/d > /tc: Using policy/d' > ./ofproto-dpif.at:1664: add_of_br 0 > ovs-vsctl -- add-port br0 p1 -- set Interface p1 type=dummy ofport_request=1 > ./ofproto-dpif.at:1667: ovs-ofctl add-flow br0 in_port=1,action=controller > ./ofproto-dpif.at:1668: ovs-appctl upcall/disable-megaflows > ./ofproto-dpif.at:1673: ovs-ofctl monitor br0 65534 invalid_ttl -P > nxt_packet_in --detach --no-chdir --pidfile 2> ofctl_monitor.log > ./ofproto-dpif.at:1676: ovs-appctl netdev-dummy/receive p1 > 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x1234)' > ./ofproto-dpif.at:1676: ovs-appctl netdev-dummy/receive p1 > 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x1234)' > ./ofproto-dpif.at:1682: ovs-appctl dpctl/dump-flows | sed > 's/.*\(packets:\)/\1/' | sed 's/used:[0-9].[0-9]*s/used:0.001s/' > ./ofproto-dpif.at:1687: cat ofctl_monitor.log > ./ofproto-dpif.at:1694: ovs-appctl revalidator/purge > ./ofproto-dpif.at:1695: ovs-ofctl monitor br0 65534 invalid_ttl -P > nxt_packet_in --detach --no-chdir --pidfile 2> ofctl_monitor.log > ./ofproto-dpif.at:1698: ovs-ofctl -O OpenFlow13 add-meter br0 > 'meter=controller pktps stats bands=type=drop rate=2' > ./ofproto-dpif.at:1701: ovs-appctl time/warp 1000 > stdout: > warped > ./ofproto-dpif.at:1704: ovs-appctl netdev-dummy/receive p1 > 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x4321)' > ./ofproto-dpif.at:1704: ovs-appctl netdev-dummy/receive p1 > 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x4321)' > ./ofproto-dpif.at:1704: ovs-appctl netdev-dummy/receive p1 > 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x4321)' > ./ofproto-dpif.at:1704: ovs-appctl netdev-dummy/receive p1 > 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x4321)' > ./ofproto-dpif.at:1704: ovs-appctl netdev-dummy/receive p1 > 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x4321)' > ./ofproto-dpif.at:1704: ovs-appctl netdev-dummy/receive p1 > 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x4321)' > ./ofproto-dpif.at:1704: ovs-appctl netdev-dummy/receive p1 > 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x4321)' > ./ofproto-dpif.at:1704: ovs-appctl netdev-dummy/receive p1 > 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x4321)' > ./ofproto-dpif.at:1707: ovs-appctl dpctl/dump-flows | sed > 's/.*\(packets:\)/\1/' | sed 's/used:[0-9].[0-9]*s/used:0.001s/' > ./ofproto-dpif.at:1712: ovs-appctl time/warp 1 > stdout: > warped > ./ofproto-dpif.at:1717: cat ofctl_monitor.log > --- - 2018-01-14 19:07:32 +0200 > +++ /c/_2018/january/14/ovs/tests/testsuite.dir/at-groups/1077/stdout > 2018-01-14 19:07:33 +0200 > @@ -2,4 +2,6 @@ > > vlan_tci=0x0000,dl_src=50:54:00:00:00:09,dl_dst=50:54:00:00:00:0a,dl_type=0x4321 > NXT_PACKET_IN (xid=0x0): cookie=0x0 total_len=14 in_port=1 (via action) > data_len=14 (unbuffered) > > vlan_tci=0x0000,dl_src=50:54:00:00:00:09,dl_dst=50:54:00:00:00:0a,dl_type=0x4321 > +NXT_PACKET_IN (xid=0x0): cookie=0x0 total_len=14 in_port=1 (via action) > data_len=14 (unbuffered) > +vlan_tci=0x0000,dl_src=50:54:00:00:00:09,dl_dst=50:54:00:00:00:0a,dl_type=0x4321 > _______________________________________________ > discuss mailing list > disc...@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss