From owner-cvs-all@FreeBSD.ORG Tue Sep 6 17:50:28 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1266A16A41F; Tue, 6 Sep 2005 17:50:28 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from haven.freebsd.dk (haven.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id A771843D46; Tue, 6 Sep 2005 17:50:27 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (unknown [192.168.48.2]) by haven.freebsd.dk (Postfix) with ESMTP id 5BF60BC66; Tue, 6 Sep 2005 17:50:22 +0000 (UTC) To: Scott Long From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 06 Sep 2005 11:16:43 MDT." <431DCEFB.9030005@samsco.org> Date: Tue, 06 Sep 2005 19:50:21 +0200 Message-ID: <66057.1126029021@phk.freebsd.dk> Sender: phk@phk.freebsd.dk Cc: src-committers@FreeBSD.org, Luigi Rizzo , Nate Lawson , cvs-all@FreeBSD.org, Gleb Smirnoff , Robert Watson , cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_poll.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2005 17:50:28 -0000 In message <431DCEFB.9030005@samsco.org>, Scott Long writes: >> For the case of storage, you actually have a better model since all >> transactions are initiated from the host (as opposed to packet >> arrivals). This gives an easy metric for a dynamic polling threshold -- >> if you have a deep queue of outstanding requests and one completes, you >> should poll a little more than normal. > >Except for target mode. It could be argued that target mode is really networking rather than storage :-) -- 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.