Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2001 07:08:08 -0800 (PST)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ufs/ufs ufs_dirhash.c
Message-ID:  <200111141508.fAEF88X98138@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2001/11/14 07:08:07 PST

  Modified files:
    sys/ufs/ufs          ufs_dirhash.c 
  Log:
  Oops, when trying the dirhash sequential-access optimisation,
  compare the slot offset against the predicted offset, not a boolean
  flag. This typo effectively disabled the sequential optimisation,
  but was otherwise harmless.
  
  Not surprisingly, fixing this improves performance in the sequential
  access case. I am seeing a 7% speedup on one machine here; using
  dirhash when sequentially looking up directory entries is now about
  5% faster instead of 2% slower than the non-dirhash case.
  
  Submitted by:	KOIE Hidetaka <koie@suri.co.jp>
  MFC after:	1 week
  
  Revision  Changes    Path
  1.7       +1 -1      src/sys/ufs/ufs/ufs_dirhash.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?200111141508.fAEF88X98138>