Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2001 17:39:21 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_cache.c src/sys/nfs nfs_node.c
Message-ID:  <200104110039.f3B0dL425541@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2001/04/10 17:39:21 PDT

  Modified files:
    sys/kern             vfs_cache.c 
    sys/nfs              nfs_node.c 
  Log:
  Create debug.hashstat.[raw]nchash and debug.hashstat.[raw]nfsnode to
  enable easy access to the hash chain stats.  The raw prefixed versions
  dump an integer array to userland with the chain lengths.  This cheats
  and calls it an array of 'struct int' rather than 'int' or sysctl -a
  faithfully dumps out the 128K array on an average machine.  The non-raw
  versions return 4 integers: count, number of chains used, maximum chain
  length, and percentage utilization (fixed point, multiplied by 100).
  The raw forms are more useful for analyzing the hash distribution, while
  the other form can be read easily by humans and stats loggers.
  
  Revision  Changes    Path
  1.55      +81 -1     src/sys/kern/vfs_cache.c
  1.46      +80 -1     src/sys/nfs/nfs_node.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104110039.f3B0dL425541>