lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 13 Nov 2019 20:08:20 +0000
From:   "Machulsky, Zorik" <zorik@...zon.com>
To:     "Kiyanovski, Arthur" <akiyano@...zon.com>,
        David Miller <davem@...emloft.net>
CC:     "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "Woodhouse, David" <dwmw@...zon.co.uk>,
        "Matushevsky, Alexander" <matua@...zon.com>,
        "Bshara, Saeed" <saeedb@...zon.com>,
        "Wilson, Matt" <msw@...zon.com>,
        "Liguori, Anthony" <aliguori@...zon.com>,
        "Bshara, Nafea" <nafea@...zon.com>,
        "Tzalik, Guy" <gtzalik@...zon.com>,
        "Belgazal, Netanel" <netanel@...zon.com>,
        "Saidi, Ali" <alisaidi@...zon.com>,
        "Herrenschmidt, Benjamin" <benh@...zon.com>,
        "Dagan, Noam" <ndagan@...zon.com>,
        "Agroskin, Shay" <shayagr@...zon.com>,
        "Jubran, Samih" <sameehj@...zon.com>
Subject: Re: [PATCH V1 net 2/2] net: ena: fix too long default tx interrupt
 moderation interval



     > -----Original Message-----
    > From: David Miller <davem@...emloft.net>
    > Sent: Monday, November 4, 2019 9:19 PM
    > To: Kiyanovski, Arthur <akiyano@...zon.com>
    > Cc: netdev@...r.kernel.org; Woodhouse, David <dwmw@...zon.co.uk>;
    > Machulsky, Zorik <zorik@...zon.com>; Matushevsky, Alexander
    > <matua@...zon.com>; Bshara, Saeed <saeedb@...zon.com>; Wilson,
    > Matt <msw@...zon.com>; Liguori, Anthony <aliguori@...zon.com>;
    > Bshara, Nafea <nafea@...zon.com>; Tzalik, Guy <gtzalik@...zon.com>;
    > Belgazal, Netanel <netanel@...zon.com>; Saidi, Ali
    > <alisaidi@...zon.com>; Herrenschmidt, Benjamin <benh@...zon.com>;
    > Dagan, Noam <ndagan@...zon.com>; Agroskin, Shay
    > <shayagr@...zon.com>
    > Subject: Re: [PATCH V1 net 2/2] net: ena: fix too long default tx interrupt
    > moderation interval
    > 
    > From: <akiyano@...zon.com>
    > Date: Mon, 4 Nov 2019 13:58:48 +0200
    > 
    > > From: Arthur Kiyanovski <akiyano@...zon.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@...zon.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.    
  	       

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ