[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-git
Subject:    [ovs-git] Open vSwitch: datapath: Don't query time for every packet. (master)
From:       dev () openvswitch ! org (dev at openvswitch ! org)
Date:       2010-07-26 21:46:43
Message-ID: E1OdVVT-0004k4-LT () li27-103 ! members ! linode ! com
[Download RAW message or body]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  6bfafa55fbd78fba244bb9e62081781187a45932 (commit)
      from  56cee53bd62d92bf2639e22beba3a867891a7513 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6bfafa55fbd78fba244bb9e62081781187a45932
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=6bfafa55fbd78fba244bb9e62081781187a45932
                
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Don't query time for every packet.
		
Rather than actually query the time every time a packet comes through,
just store the current jiffies and convert it to actual time when
requested.  GRE is the primary beneficiary of this because the traffic
travels through the datapath twice.  This change reduces CPU utilization
3-4% with GRE.


-----------------------------------------------------------------------

Summary of changes:
 datapath/datapath.c |   62 ++++++++++++++++++++++++++++++++++++++------------
 datapath/flow.c     |    2 +-
 datapath/flow.h     |    4 +-
 3 files changed, 50 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
Open vSwitch


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic