From owner-freebsd-performance@FreeBSD.ORG Fri Mar 5 20:23:40 2004 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E38D716A4CE; Fri, 5 Mar 2004 20:23:39 -0800 (PST) Received: from adsl-63-198-35-122.dsl.snfc21.pacbell.net (adsl-63-198-35-122.dsl.snfc21.pacbell.net [63.198.35.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9926643D2D; Fri, 5 Mar 2004 20:23:39 -0800 (PST) (envelope-from j_guojun@lbl.gov) Received: from lbl.gov (localhost.pacbell.net [127.0.0.1]) ESMTP id i264OiCJ000465; Fri, 5 Mar 2004 20:24:47 -0800 (PST) (envelope-from j_guojun@lbl.gov) Sender: jin@adsl-63-198-35-122.dsl.snfc21.pacbell.net Message-ID: <4049528C.AA691FAF@lbl.gov> Date: Fri, 05 Mar 2004 20:24:44 -0800 From: "Jin Guojun [NCS]" X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.9-RELEASE i386) X-Accept-Language: zh, zh-CN, en-US, en MIME-Version: 1.0 To: Julian Elischer References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: bugs@freebsd.org cc: performance@freebsd.org cc: net@freebsd.org Subject: Re: sender side Sbuf/Mbuf patch for 5.2.x is ready X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2004 04:23:40 -0000 The Network LION (aka LION, Net-Lion) is a totally different network architecture that we proposed to replace TCP/IP. It has compatibility to TCP/IP for current stage. Backward compatibility is important to it can be deployed without forcing every one do at the same time, which is impossible to do. The goal is to move L3 on board, and leave L4 in system, so we can use PC to drive NICs as fast as possible. LION has been tested cross some Internet paths, and will be tested over emulation lab. Over emulation network (10 Gb/s), we can manipulate different network situations in order to verify Lion will fit in future network without causing network collapse. I hope that Lion will be soon ready for generic test, that is why I put all TCP/LION API code in FBSD-5/netlion directory, which is not part of the standard TCP patch for fixing SockBuf and Mbuf issues (someone was confused by this -- It is not in FBSD-4/ directory). This is for people who may be interested in using Lion. People may take look the code in advance to understand what these patches do because Lion will be provide as a kernel loadable module till it is matured. This means Lion is BSD only at this moment. In LION architecture, all lost packets will be reported to sender via some mechanism. In TCP backward compatible code (called TCP Lion -- not Network Lion), a better SACK will be implemented. Also notice that TCP Lion can be sender modification only. That is, remote site may run Linux/Solaris/Any TCP. Lion architecture must accommodate such case and be robust. -Jin Julian Elischer wrote: > The patch for reducing time traversing queues is good.. > I have some questions.. > > It look sas if you have alos included some parts of files and patches > that are for other netLION changes.. what is the status of the other > changes.. In particular, the comments mention SACK. Are you developing a > robist SACK implimentation for FreeBSD? > > On Fri, 5 Mar 2004, Jin Guojun [DSD] wrote: > > > The sender side patch for fixing Sbuf/Mbuf can be found at: > > > > http://dsd.lbl.gov/~jin/network/lion/patches/smbuf.patch.tbz > > > > Patch is for both 4.x and 5.2.x. To apply patch: > > > > bzip2 -d < smbuf.patch.tbz | tar -xf - > > cd net-lion > > ./restore-src backup # backup files will be modified to ???.org > > # patch will also backup them to > > ???.orig > > # so this is not necessary unless you > > need to modify them further > > > > ./netlion.kp # apply patches > > > > For more information about this patch, please refer to: > > > > http://dsd.lbl.gov/~jin/network/lion/content.html > > and > > http://dsd.lbl.gov/~jin/network/lion/content.html#FreeBSD_Patches > > > > Hopefully, we can make this into 5.3-RELEASE. > > Please test and verify it. > > > > Patches are in net-lion/FBSD-$R/mbuf.sb directory. > > > > -- > > ------------ Jin Guojun ----------- v --- j_guojun@lbl.gov --- > > Distributed Systems Department http://www.itg.lbl.gov/~jin > > M/S 50B-2239 Ph#:(510) 486-7531 Fax: 486-6363 > > Lawrence Berkeley National Laboratory, Berkeley, CA 94720