Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/nfs Pull up revision 1.24 (requested by fvdl):



details:   https://anonhg.NetBSD.org/src/rev/4007def55656
branches:  netbsd-1-5
changeset: 490337:4007def55656
user:      he <he%NetBSD.org@localhost>
date:      Thu Dec 14 23:36:59 2000 +0000

description:
Pull up revision 1.24 (requested by fvdl):
  Improve NFS performance, possibly with as much as 100% in
  throughput.  Please note: this implies a kernel interface change,
  VOP_FSYNC gains two arguments.

diffstat:

 sys/nfs/nfs.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r cfc69a6b93a0 -r 4007def55656 sys/nfs/nfs.h
--- a/sys/nfs/nfs.h     Thu Dec 14 23:36:57 2000 +0000
+++ b/sys/nfs/nfs.h     Thu Dec 14 23:36:59 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs.h,v 1.22 2000/06/09 00:00:17 fvdl Exp $    */
+/*     $NetBSD: nfs.h,v 1.22.2.1 2000/12/14 23:36:59 he Exp $  */
 /*
  * Copyright (c) 1989, 1993, 1995
  *     The Regents of the University of California.  All rights reserved.
@@ -61,10 +61,10 @@
 #ifndef NFS_MAXATTRTIMO
 #define        NFS_MAXATTRTIMO 60
 #endif
-#define        NFS_WSIZE       8192            /* Def. write data size <= 8192 */
-#define        NFS_RSIZE       8192            /* Def. read data size <= 8192 */
+#define        NFS_WSIZE       32768           /* Def. write data size */
+#define        NFS_RSIZE       32768           /* Def. read data size */
 #define NFS_READDIRSIZE        8192            /* Def. readdir size */
-#define        NFS_DEFRAHEAD   1               /* Def. read ahead # blocks */
+#define        NFS_DEFRAHEAD   2               /* Def. read ahead # blocks */
 #define        NFS_MAXRAHEAD   4               /* Max. read ahead # blocks */
 #define        NFS_MAXUIDHASH  64              /* Max. # of hashed uid entries/mp */
 #define        NFS_MAXASYNCDAEMON      20      /* Max. number async_daemons runable */



Home | Main Index | Thread Index | Old Index