From: David Miller <davem@davemloft.net>
To: Raghuram.Kothakota@oracle.com
Cc: sowmini.varadhan@oracle.com, netdev@vger.kernel.org,
david.stevens@oracle.com
Subject: Re: sunvnet and ->xmit_more
Date: Tue, 07 Oct 2014 16:46:49 -0400 (EDT) [thread overview]
Message-ID: <20141007.164649.587971614591244924.davem@davemloft.net> (raw)
In-Reply-To: <9BB04EDE-1842-4DB0-93BE-5186B2D187AB@oracle.com>
From: Raghuram Kothakota <Raghuram.Kothakota@oracle.com>
Date: Tue, 7 Oct 2014 13:38:07 -0700
> In case of sunvnet, consumer starting as soon as possible would help
> as the consumer is slower as it copies the data to local buffers. The recent
> change by DLS avoids the copy in the Tx side, so the producer could be
> faster than the receiver. If the trigger is sent after n packets, then consumer
> will really start after n packets in the ring and it may have lost that much time
> to pickup the packets.
I agree for the first few TX queue entires, or even just the first, but after
that it always pays to defer and decrease the number of hcalls, locks, etc.
Play with it, you'll see.
next prev parent reply other threads:[~2014-10-07 20:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-07 19:18 sunvnet and ->xmit_more David Miller
2014-10-07 19:29 ` Sowmini Varadhan
2014-10-07 19:38 ` David Miller
2014-10-07 20:38 ` Raghuram Kothakota
2014-10-07 20:46 ` David Miller [this message]
2014-10-07 20:51 ` Sowmini Varadhan
[not found] ` <CACP96tSqmPzwYQKbAfVFc2YmyEOdyRtxeoCSuczx1EZTrF0JMA@mail.gmail.com>
2014-10-08 23:51 ` Sowmini Varadhan
2014-10-07 20:22 ` David L Stevens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141007.164649.587971614591244924.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Raghuram.Kothakota@oracle.com \
--cc=david.stevens@oracle.com \
--cc=netdev@vger.kernel.org \
--cc=sowmini.varadhan@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).