From owner-freebsd-arch@FreeBSD.ORG Mon Mar 22 20:42:41 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 018441065676; Mon, 22 Mar 2010 20:42:41 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id B66208FC2B; Mon, 22 Mar 2010 20:42:40 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 7E9D66440; Mon, 22 Mar 2010 20:42:39 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.3/8.14.3) with ESMTP id o2MKgbeS034478; Mon, 22 Mar 2010 20:42:37 GMT (envelope-from phk@critter.freebsd.dk) To: Alexander Sack From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 22 Mar 2010 15:07:56 -0400." <3c0b01821003221207p4e4eecabqb4f448813bf5a8a8@mail.gmail.com> Date: Mon, 22 Mar 2010 20:42:37 +0000 Message-ID: <34477.1269290557@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: scottl@samsco.org, mav@freebsd.org, freebsd-current@freebsd.org, ivoras@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Increasing MAXPHYS X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2010 20:42:41 -0000 In message <3c0b01821003221207p4e4eecabqb4f448813bf5a8a8@mail.gmail.com>, Alexa nder Sack writes: >Am I going crazy or does this sound a lot like Sun/SVR's stream based >network stack? That is a good and pertinent observation. I did investigate a number of optimizations to the g_up/g_down scheme I eventually adopted, but found none that gained anything justifying the complexity they brought. In some cases, the optimizations used more CPU cycles than the straight g_up/g_down path, but obviously, the circumstances are vastly different with CPUs having 10 times higher clock, multiple cores and SSD disks, so a fresh look at this tradeoff is in order. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.