All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kiyanovski, Arthur" <akiyano@amazon.com>
To: David Miller <davem@davemloft.net>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"Woodhouse, David" <dwmw@amazon.co.uk>,
	"Machulsky, Zorik" <zorik@amazon.com>,
	"Matushevsky, Alexander" <matua@amazon.com>,
	"Bshara, Saeed" <saeedb@amazon.com>,
	"Wilson, Matt" <msw@amazon.com>,
	"Liguori, Anthony" <aliguori@amazon.com>,
	"Bshara, Nafea" <nafea@amazon.com>,
	"Tzalik, Guy" <gtzalik@amazon.com>,
	"Belgazal, Netanel" <netanel@amazon.com>,
	"Saidi, Ali" <alisaidi@amazon.com>,
	"Herrenschmidt, Benjamin" <benh@amazon.com>,
	"Dagan, Noam" <ndagan@amazon.com>,
	"Agroskin, Shay" <shayagr@amazon.com>,
	"Jubran, Samih" <sameehj@amazon.com>
Subject: RE: [PATCH V1 net 2/2] net: ena: fix too long default tx interrupt moderation interval
Date: Wed, 6 Nov 2019 19:13:06 +0000	[thread overview]
Message-ID: <081dc70c42bb4c638f8d2fcb669941cd@EX13D22EUA004.ant.amazon.com> (raw)
In-Reply-To: <20191104.111852.941272299166797826.davem@davemloft.net>



> -----Original Message-----
> From: David Miller <davem@davemloft.net>
> Sent: Monday, November 4, 2019 9:19 PM
> To: Kiyanovski, Arthur <akiyano@amazon.com>
> Cc: netdev@vger.kernel.org; Woodhouse, David <dwmw@amazon.co.uk>;
> Machulsky, Zorik <zorik@amazon.com>; Matushevsky, Alexander
> <matua@amazon.com>; Bshara, Saeed <saeedb@amazon.com>; Wilson,
> Matt <msw@amazon.com>; Liguori, Anthony <aliguori@amazon.com>;
> Bshara, Nafea <nafea@amazon.com>; Tzalik, Guy <gtzalik@amazon.com>;
> Belgazal, Netanel <netanel@amazon.com>; Saidi, Ali
> <alisaidi@amazon.com>; Herrenschmidt, Benjamin <benh@amazon.com>;
> Dagan, Noam <ndagan@amazon.com>; Agroskin, Shay
> <shayagr@amazon.com>
> Subject: Re: [PATCH V1 net 2/2] net: ena: fix too long default tx interrupt
> moderation interval
> 
> From: <akiyano@amazon.com>
> Date: Mon, 4 Nov 2019 13:58:48 +0200
> 
> > From: Arthur Kiyanovski <akiyano@amazon.com>
> >
> > Current default non-adaptive tx interrupt moderation interval is 196 us.
> > This commit sets it to 0, which is much more sensible as a default value.
> > It can be modified using ethtool -C.
> >
> > Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
> 
> I do not agree that turning TX interrupt moderation off completely is a more
> sensible default value.
> 
> Maybe a much smaller value, but turning off the coalescing delay completely
> is a bit much.

David,
Up until now, the ENA device did not support interrupt moderation, so effectively the default tx interrupt moderation interval was 0.
You are probably right that 0 is not an optimal value.
However until we research and find such an optimal value, in order to avoid a degradation in default performance, we want the default value in the new driver to be (effectively) the same as in the old driver.


  reply	other threads:[~2019-11-06 19:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-04 11:58 [PATCH V1 net 0/2] fixes of interrupt moderation bugs akiyano
2019-11-04 11:58 ` [PATCH V1 net 1/2] net: ena: fix issues in setting interrupt moderation params in ethtool akiyano
2019-11-04 11:58 ` [PATCH V1 net 2/2] net: ena: fix too long default tx interrupt moderation interval akiyano
2019-11-04 19:18   ` David Miller
2019-11-06 19:13     ` Kiyanovski, Arthur [this message]
2019-11-13 20:08       ` Machulsky, Zorik
     [not found]         ` <92294494768e4c41a0755218e51a0138@EX13D22EUA004.ant.amazon.com>
2019-11-18 22:50           ` Machulsky, Zorik

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=081dc70c42bb4c638f8d2fcb669941cd@EX13D22EUA004.ant.amazon.com \
    --to=akiyano@amazon.com \
    --cc=aliguori@amazon.com \
    --cc=alisaidi@amazon.com \
    --cc=benh@amazon.com \
    --cc=davem@davemloft.net \
    --cc=dwmw@amazon.co.uk \
    --cc=gtzalik@amazon.com \
    --cc=matua@amazon.com \
    --cc=msw@amazon.com \
    --cc=nafea@amazon.com \
    --cc=ndagan@amazon.com \
    --cc=netanel@amazon.com \
    --cc=netdev@vger.kernel.org \
    --cc=saeedb@amazon.com \
    --cc=sameehj@amazon.com \
    --cc=shayagr@amazon.com \
    --cc=zorik@amazon.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.