From owner-freebsd-net@FreeBSD.ORG Sun Jul 20 15:56:41 2014 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 60383CBF; Sun, 20 Jul 2014 15:56:41 +0000 (UTC) Received: from hergotha.csail.mit.edu (wollman-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:ccb::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1F8BC2093; Sun, 20 Jul 2014 15:56:40 +0000 (UTC) Received: from hergotha.csail.mit.edu (localhost [127.0.0.1]) by hergotha.csail.mit.edu (8.14.7/8.14.7) with ESMTP id s6KFuctF013782; Sun, 20 Jul 2014 11:56:38 -0400 (EDT) (envelope-from wollman@hergotha.csail.mit.edu) Received: (from wollman@localhost) by hergotha.csail.mit.edu (8.14.7/8.14.4/Submit) id s6KFuchL013781; Sun, 20 Jul 2014 11:56:38 -0400 (EDT) (envelope-from wollman) Date: Sun, 20 Jul 2014 11:56:38 -0400 (EDT) From: Garrett Wollman Message-Id: <201407201556.s6KFuchL013781@hergotha.csail.mit.edu> To: jhb@freebsd.org Subject: Re: NFS client READ performance on -current In-Reply-To: <201407151034.54681.jhb@freebsd.org> References: <2136988575.13956627.1405199640153.JavaMail.root@uoguelph.ca> Organization: none X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (hergotha.csail.mit.edu [127.0.0.1]); Sun, 20 Jul 2014 11:56:38 -0400 (EDT) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on hergotha.csail.mit.edu Cc: net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 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, 20 Jul 2014 15:56:41 -0000 In article <201407151034.54681.jhb@freebsd.org>, jhb@freebsd.org writes: >Hmm, I am surprised by the m_pullup() behavior that it doesn't just >notice that the first mbuf with a cluster has the desired data already >and returns without doing anything. The specification of m_pullup() is that it returns a *writable* mbuf (and thus also that the "length" provided is less than MHLEN). Clusters are read-only. -GAWollman