From owner-freebsd-net@freebsd.org Sun Jan 10 08:32:32 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D6C9A69597 for ; Sun, 10 Jan 2016 08:32:32 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: from mail-io0-x242.google.com (mail-io0-x242.google.com [IPv6:2607:f8b0:4001:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E18E129C for ; Sun, 10 Jan 2016 08:32:32 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: by mail-io0-x242.google.com with SMTP id k127so40609896iok.1 for ; Sun, 10 Jan 2016 00:32:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BlWEt7uIapb3BG/BY9ytuhbj3Wis3o5ccDUzmYVbfDQ=; b=JWgBwKXpgyqQkfT+fm27y1uMY3MRIs5plF9jLQOmDcQs8cmd8igELpAXNoBcIBKuOL 4+hRHN/UEGY4HuT9x7TujQl7t+/6nSIIgxnZ03gwECmF3KxdoW16zScu+QHAf2vs/5eZ ILO0jMoXR+J0IalHGQcYe9gK5C/M6ApWIKY0gfM5DhqrxmEWyPlraUchoe915F50F0QA TIH8c2ENCt8IobBK1oQ56++j/JOVcTeih5n2h1Sem64t1fMHGVLJoMUXMY+MjeNQ+n5v oCCMkzVa2aTpv96qpU/lrmbNx0/0lrMhR0+aPh7W6U2JkmDecZLuHy1EHpJNX/39XMgU 9wbA== MIME-Version: 1.0 X-Received: by 10.107.44.199 with SMTP id s190mr98500998ios.24.1452414751603; Sun, 10 Jan 2016 00:32:31 -0800 (PST) Received: by 10.107.166.3 with HTTP; Sun, 10 Jan 2016 00:32:31 -0800 (PST) In-Reply-To: References: Date: Sun, 10 Jan 2016 16:32:31 +0800 Message-ID: Subject: Re: [Differential] [Request, 6 lines] D4825: tcp/lro: Add network driver configurable LRO entry depth From: Sepherosa Ziehau To: "alex.burlyga.ietf alex.burlyga.ietf" Cc: Ravi Pokala , "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2016 08:32:32 -0000 On Sat, Jan 9, 2016 at 1:04 AM, alex.burlyga.ietf alex.burlyga.ietf wrote: > Perhaps Sephe planing to use it as a sysctl? Yeah :) > > Alex. > On Jan 8, 2016 07:59, "Ravi Pokala" wrote: > >> -----Original Message----- >> >> >> >Date: Fri, 8 Jan 2016 02:29:22 +0000 >> >From: "sepherosa_gmail.com (Sepherosa Ziehau)" >> > >> >To: freebsd-net@freebsd.org >> >Subject: [Differential] [Request, 6 lines] D4825: tcp/lro: Add network >> > driver configurable LRO entry depth >> >Message-ID: >> > >> >Content-Type: text/plain; charset="utf-8" >> > >> >sepherosa_gmail.com created this revision. >> >sepherosa_gmail.com added reviewers: network, adrian, delphij, >> decui_microsoft.com, honzhan_microsoft.com, howard0su_gmail.com, glebius. >> >sepherosa_gmail.com added a subscriber: freebsd-net-list. >> >Herald added a reviewer: transport. >> > >> >REVISION SUMMARY >> > When there is only tiny amount of TCP connections and the host is slow, >> e.g. in VM, holding too much TCP segments in an LRO entry will cause RX >> performance degradation. We now allow network drivers to configure how >> deep one LRO entry should be. >> >> Forgive me if I'm missing something obvious, but this patch doesn't >> actually change anything - rather than hard-coding 65535, you're using >> lc->lro_hiwat... which is hard-coded to 65535. >> >> Right? >> >> -Ravi (rpokala@) >> >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- Tomorrow Will Never Die