Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1281778
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Eric Dumazet <eric.dumazet@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 3/6] net: thunderx: Increase transmit queue length |
| Date | Wed, 02 Dec 2015 14:30:01 +0100 |
| Message-ID | <qBfDP-7IL-5@gated-at.bofh.it> (permalink) |
| References | <qAUpH-2rO-9@gated-at.bofh.it> <qAVc6-30Q-13@gated-at.bofh.it> <qAW8a-3BH-11@gated-at.bofh.it> <qAYWm-5oy-5@gated-at.bofh.it> <qB8sF-31B-9@gated-at.bofh.it> |
| X-Original-To | Sunil Kovvuri <sunil.kovvuri@gmail.com> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; bh=xthzje9bYrrNvM5KAR4Ndci+akb/jS+oKfWFfAHFGrU=; b=LsU8nW93nMv0fo7YwRUE9JICV2sBu++3eoC5SpPb2cyZXQY8buJgM2ypQ9RII2fo6v 2PaGzJY1noSYBkDFsTtHdKH+hjuZ2cFcD/ezN4pEMTMBpqnoN2RVC8K4Rajd4zwiVbAp fhf0YLGtvumkSANqLRQJLiaS+NSV4M4XBinG5+gXquLlzCCcJyrOU4putDH5Y8PRUfOD O8iynrUBSNa60nlNkLEdy0oJHsyHEUcK1daUud4IHat1IOnD3czokpZwqx5rp5JfMouZ yUKbQxJdjFtJXQesO4hthdsm5umcryB1rhW5GiIrTZWCfZART6tKpko7pXJ/JPdSqtQy w5Jg== |
| X-Received | by 10.98.67.9 with SMTP id q9mr4564770pfa.138.1449062734462; Wed, 02 Dec 2015 05:25:34 -0800 (PST) |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailer | Evolution 3.10.4-0ubuntu2 |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 44 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | David Miller <davem@davemloft.net>, Pavel Fedin <p.fedin@samsung.com>, Linux Netdev List <netdev@vger.kernel.org>, LKML <linux-kernel@vger.kernel.org>, LAKML <linux-arm-kernel@lists.infradead.org>, Sunil Goutham <Sunil.Goutham@caviumnetworks.com>, Sunil Goutham <sgoutham@cavium.com> |
| X-Original-Date | Wed, 02 Dec 2015 05:25:33 -0800 |
| X-Original-Message-ID | <1449062733.32764.53.camel@edumazet-glaptop2.roam.corp.google.com> |
| X-Original-References | <01d101d12c46$2de43b40$89acb1c0$@samsung.com> <1448983985.25582.35.camel@edumazet-glaptop2.roam.corp.google.com> <CA+sq2Ce9oH-kCDO8hK_wX+ZZdXyyBuT4V2bt5Ab+2=pEX+BO+w@mail.gmail.com> <20151201.143047.82022857078130793.davem@davemloft.net> <CA+sq2CduMnsh_R9zTRMjWT=F5=9U3si-5nO6-gFvGCO9czkDdA@mail.gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1281778 |
Show key headers only | View raw
On Wed, 2015-12-02 at 11:18 +0530, Sunil Kovvuri wrote: > >The driver should successfully recover from out of memory situations > > and not stop RX/TX completely. > This memory allocation is while interface bringup/initialization and not during > packet I/O. > > >Don't put this off as not "related" to your patch, it is as this > >introduces the behavior for this user, and you should fix it before > >expecting me to apply this patch series. > I would disagree on this, as this patch hasn't introduced any failure here, > if this user has connected any device which asks for a bit large amount > of coherent memory then i am sure he will see the same issue. > And above i have suggested what could be done to not see this issue. This is unacceptable. Maybe you did not complete tests. changelog has no 'Tested:' section. You can not claim this patch was good, especially considering no precise numbers were given. If the performance increase is 4 %, then surely using twice more memory is not worth it. RX/TX ring buffer sizes should be : - Default to reasonable sizes (ie not gigantic memory usage for typical use). For multiqueue devices, one also has to take into account the number of queues: If a 10Gbit NIC has 128 queues, then probably having 8192 slots per queue is too much, if this maps to 512 MB of memory ! - ethtool -G support to let the admin change the conservative settings for the exceptional workloads. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 3/6] net: thunderx: Increase transmit queue length Sunil Goutham <sunil.kovvuri@gmail.com> - 2015-12-01 10:20 +0100
RE: [PATCH 3/6] net: thunderx: Increase transmit queue length Pavel Fedin <p.fedin@samsung.com> - 2015-12-01 15:50 +0100
Re: [PATCH 3/6] net: thunderx: Increase transmit queue length Eric Dumazet <eric.dumazet@gmail.com> - 2015-12-01 16:40 +0100
Re: [PATCH 3/6] net: thunderx: Increase transmit queue length Sunil Kovvuri <sunil.kovvuri@gmail.com> - 2015-12-01 17:40 +0100
Re: [PATCH 3/6] net: thunderx: Increase transmit queue length David Miller <davem@davemloft.net> - 2015-12-01 20:40 +0100
Re: [PATCH 3/6] net: thunderx: Increase transmit queue length Sunil Kovvuri <sunil.kovvuri@gmail.com> - 2015-12-02 06:50 +0100
Re: [PATCH 3/6] net: thunderx: Increase transmit queue length Eric Dumazet <eric.dumazet@gmail.com> - 2015-12-02 14:30 +0100
Re: [PATCH 3/6] net: thunderx: Increase transmit queue length Eric Dumazet <eric.dumazet@gmail.com> - 2015-12-02 18:00 +0100
Re: [PATCH 3/6] net: thunderx: Increase transmit queue length Sunil Kovvuri <sunil.kovvuri@gmail.com> - 2015-12-02 18:00 +0100
Re: [PATCH 3/6] net: thunderx: Increase transmit queue length David Miller <davem@davemloft.net> - 2015-12-02 18:40 +0100
RE: [PATCH 3/6] net: thunderx: Increase transmit queue length Pavel Fedin <p.fedin@samsung.com> - 2015-12-02 10:10 +0100
RE: [PATCH 3/6] net: thunderx: Increase transmit queue length Pavel Fedin <p.fedin@samsung.com> - 2015-12-02 11:40 +0100
RE: [PATCH 3/6] net: thunderx: Increase transmit queue length Pavel Fedin <p.fedin@samsung.com> - 2015-12-02 13:30 +0100
Re: [PATCH 3/6] net: thunderx: Increase transmit queue length Sunil Kovvuri <sunil.kovvuri@gmail.com> - 2015-12-02 14:00 +0100
RE: [PATCH 3/6] net: thunderx: Increase transmit queue length Pavel Fedin <p.fedin@samsung.com> - 2015-12-02 14:30 +0100
RE: [PATCH 3/6] net: thunderx: Increase transmit queue length Pavel Fedin <p.fedin@samsung.com> - 2015-12-02 09:10 +0100
csiph-web