xfs
[Top] [All Lists]

TAKE - improve xfs metadata hashing

To: linux-xfs@xxxxxxxxxxx
Subject: TAKE - improve xfs metadata hashing
From: Steve Lord <lord@xxxxxxx>
Date: Fri, 14 Feb 2003 16:25:20 -0600
Sender: linux-xfs-bounce@xxxxxxxxxxx
Under heavy load, there are not enough hash buckets to deal with
the number of metadata buffers. Use the same techniques as the
regular linux buffer cache here.

use more hash buckets for holding xfs metadata, and use the same
hash algorithm as the regular buffer cache.


Date:  Fri Feb 14 14:23:40 PST 2003
Workarea:  jen.americas.sgi.com:/src/lord/xfs-linux.2.4

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs


Modid:  2.4.x-xfs:slinx:139864a
linux/fs/xfs/linux/xfs_super.c - 1.238
        - initialize xfs_physmem before pagebuf

linux/fs/xfs/pagebuf/page_buf.c - 1.94
        - base the number of hash buckets for xfs metadata on the amount of
          memory in the system, and use the same hash algorithm as the 
          regular buffer cache.



<Prev in Thread] Current Thread [Next in Thread>