Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2007 02:35:57 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/compat/opensolaris/kern opensolaris_kmem.c src/sys/compat/opensolaris/sys kmem.h src/sys/contrib/opensolaris/uts/common/fs/zfs arc.c src/sys/contrib/opensolaris/uts/common/fs/zfs/sys zfs_context.h
Message-ID:  <200704100235.l3A2ZvdG041035@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2007-04-10 02:35:57 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/opensolaris/kern opensolaris_kmem.c 
    sys/compat/opensolaris/sys kmem.h 
    sys/contrib/opensolaris/uts/common/fs/zfs arc.c 
    sys/contrib/opensolaris/uts/common/fs/zfs/sys zfs_context.h 
  Log:
  Try to stabilize ZFS with regard to memory consumption:
  - Allow to shrink ARC down to 16MB (instead of 64MB).
  - Set arc_max to 1/2 of kmem_map by default.
  - Start freeing things earlier when low memory situation is detected.
  - Serialize execution of arc_lowmem().
  
  I decided to setup minimum ZFS memory requirements to 512MB of RAM and 256MB of
  kmem_map size. If there is less RAM or kmem_map, a warning will be printed.
  World is cruel, be no better. In other words: modern file system requires
  modern hardware:)
  
  From ZFS administration guide:
  
  "Currently the minimum amount of memory recommended to install a Solaris
   system is 512 Mbytes. However, for good ZFS performance, at least one
   Gbyte or more of memory is recommended."
  
  Revision  Changes    Path
  1.2       +23 -8     src/sys/compat/opensolaris/kern/opensolaris_kmem.c
  1.2       +5 -2      src/sys/compat/opensolaris/sys/kmem.h
  1.6       +35 -14    src/sys/contrib/opensolaris/uts/common/fs/zfs/arc.c
  1.3       +0 -2      src/sys/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_context.h



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