From owner-cvs-all Mon Dec 13 9:34:48 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id EE31B15212; Mon, 13 Dec 1999 09:34:45 -0800 (PST) (envelope-from dillon@FreeBSD.org) Received: (from dillon@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA02524; Mon, 13 Dec 1999 09:34:45 -0800 (PST) (envelope-from dillon@FreeBSD.org) Message-Id: <199912131734.JAA02524@freefall.freebsd.org> From: Matt Dillon Date: Mon, 13 Dec 1999 09:34:45 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfs nfs_serv.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dillon 1999/12/13 09:34:45 PST Modified files: sys/nfs nfs_serv.c Log: Add a readahead heuristic to the NFS server side code. While the server cannot unilaterally pass data to a client it can reduce the physical disk transaction overhead by reading larger blocks. This results in better pipelining of requests/responses over the network and an almost 100% increase in cpu efficiency on the server. On a 100BaseTX network NFS read performance increases from 8.5 MBytes/sec to 10 MB/sec (maxed out), and cpu efficiency increases from 72% idle to 80% idle on the server. Reviewed by: Alfred Perlstein Revision Changes Path 1.90 +78 -2 src/sys/nfs/nfs_serv.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message