All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Machulsky, Zorik" <zorik@amazon.com>
To: David Miller <davem@davemloft.net>,
	"Kiyanovski, Arthur" <akiyano@amazon.com>
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>
Subject: Re: [PATCH V1 net 2/2] net: ena: fix too long default tx interrupt moderation interval
Date: Mon, 18 Nov 2019 22:50:50 +0000	[thread overview]
Message-ID: <A4B5B150-86CB-4B92-B3CA-868FE20507EC@amazon.com> (raw)
In-Reply-To: <92294494768e4c41a0755218e51a0138@EX13D22EUA004.ant.amazon.com>

    
         > -----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.
        
     David,
    Just wanted to re-iterate what Arthur has mentioned. We clearly see BW and CPU utilization improvement with introduction of DIM on the Rx side and non-adaptive moderation on the Tx side in our driver. 
    We'd like to deliver this to our customers ASAP. We are usually very cautious with introduction of the new features, therefore we'd like to keep interrupt moderation disabled by default for now. We'd advise our customers awaiting for it to enable it using ethtool. 
    We are going to enable moderation by default after we accumulate more mileage with it and fine tune it further. That's the reason behind having Tx interval =0 for now (Rx moderation is disabled by default as well). Hope it makes sense.    

David,
I'm bumping this up to bring it to your attention.
Thanks.      	       
    
    


      parent reply	other threads:[~2019-11-18 22:50 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
2019-11-13 20:08       ` Machulsky, Zorik
     [not found]         ` <92294494768e4c41a0755218e51a0138@EX13D22EUA004.ant.amazon.com>
2019-11-18 22:50           ` Machulsky, Zorik [this message]

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=A4B5B150-86CB-4B92-B3CA-868FE20507EC@amazon.com \
    --to=zorik@amazon.com \
    --cc=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=shayagr@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.