From owner-freebsd-net@FreeBSD.ORG Mon Dec 3 10:20:47 2007 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4D8716A417 for ; Mon, 3 Dec 2007 10:20:47 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by mx1.freebsd.org (Postfix) with ESMTP id 24B0313C4D5 for ; Mon, 3 Dec 2007 10:20:46 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so5403304waf for ; Mon, 03 Dec 2007 02:20:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=5GJl+cb3kA+lU7FeXIysUJz0+8QypLkIySG7Ba4m8Zg=; b=SiYFwExgqmz0vqG8TO4DShhTOtJwKu0edn48Kh3zGqui4TnlGrqX0t/wtn5b9rbgIWOJPJR659rFJfQmEtUcCr/Xupg/nqXnWYz0JmWdBcfORC1iTxIUvtL2NZ0dCACCWGqoHt0tkv7zgUdiqqQNsi1W3hBvhnbpGR/3LZItHeE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=bpOERAZnM+YwS6yQ1YaJAriSkg98QGcQmoeShnyMilzO6w1GazRMvSZtw/36uT13BHftllJ5jUewcj3ZkSiB/3hzBvQwVJXrfQZQ1+MrrSNs588e/K4axg0Sv3WhKYzcMB50wmdDU+qAqqXrahUMa2WFWOLzD0QzUFKgHnza2L0= Received: by 10.114.124.1 with SMTP id w1mr1536868wac.1196677245841; Mon, 03 Dec 2007 02:20:45 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id v37sm194845wah.2007.12.03.02.20.42 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Dec 2007 02:20:44 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id lB3AJ6RR032841 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Dec 2007 19:19:06 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id lB3AJ5Xp032840; Mon, 3 Dec 2007 19:19:05 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 3 Dec 2007 19:19:05 +0900 From: Pyun YongHyeon To: Alan Cox Message-ID: <20071203101905.GG23527@cdnetworks.co.kr> References: <4751CC5B.3080402@cs.rice.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4751CC5B.3080402@cs.rice.edu> User-Agent: Mutt/1.4.2.1i Cc: net@freebsd.org Subject: Re: physically contiguous jumbo frames X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2007 10:20:47 -0000 On Sat, Dec 01, 2007 at 03:04:27PM -0600, Alan Cox wrote: > The reimplementation of contigmalloc(9) in HEAD and RELENG_7 makes the > allocation of physically contiguous jumbo frames a real possibility. If > you're using jumbo frames, please test the attached patch. Andrew > Gallatin has already tested this patch with mxge and asked that I bump > __FreeBSD_version. > > Thanks, > Alan > This is great news. I've tried to modify nfe(4) to use UMA backed jumbo frame instead of local allocator and it showed very good results. After 7.0 goes out I'll fix msk(4)/nfe(4) and ti(4). It seems that lge(4) also uses local allocator but I don't have that hardware so lge(4) wouldn't be fixed. Here is patch for nfe(4) that takes advantage of UMA backed jumbo frame. http://people.freebsd.org/~yongari/nfe/nfe.jumbo.patch Thanks so much! -- Regards, Pyun YongHyeon