I have looked at the tuning guide, and I am still pretty confused. I guess you have to know a lot about FreeBSD internals to be able to know how much kmem, arc, etc to configure? I am pretty good with FreeBSD, but this is totally confusing to me.
For instance, consider the following: "The following script will summarize kernel memory utilization and assist in tuning arc_max and VDEV cache size." I run the script, but what is it supposed to be telling me about how to configure /boot/loader.conf?
I have 2GB of RAM
uname -a
memory monitor script ouput
cpu:
kernel conf:
/boot/loader.conf
I have 3 750GB drives configured in a ZRAID.
I have tried many different combinations in the /boot/loader.conf file.
Whenever my system does anything on more than few files on my zfs, the system just reboots. For instance, the daily cron check setiud causes the machine to reboot. So, this is not stable at all.
Am I missing something? Is this machine not good enough for ZFS? Is there a way to calculate how to configure /boot/loader.conf?
For instance, consider the following: "The following script will summarize kernel memory utilization and assist in tuning arc_max and VDEV cache size." I run the script, but what is it supposed to be telling me about how to configure /boot/loader.conf?
I have 2GB of RAM
uname -a
Code:
[dave@tank ~]$ uname -a
FreeBSD tank.xxx.xxx 8.0-RELEASE FreeBSD 8.0-RELEASE #1: Fri Nov 27 13:26:50 PST 2009 root@tank.xxx.xxx:/usr/obj/usr/src/sys/TANKZFS i386
memory monitor script ouput
Code:
[dave@tank ~]$ zmem.sh
TEXT=13189088, 12.5781 MB
DATA=47984640, 45.7617 MB
TOTAL=61173728, 58.3398 MB
cpu:
Code:
AMD Athlon(tm) XP 2800+ (2083.11-MHz 686-class CPU)
kernel conf:
Code:
#
# TANKZFS -- Kernel conf file for Tank with ZFS Tuning by DT on 20091113
#
include GENERIC
ident TANKZFS
options KVA_PAGES=512
/boot/loader.conf
Code:
vm.kmem_size="1024M"
vm.kmem_size_max="1024M"
vfs.zfs.arc_max="320M"
vfs.zfs.vdev.cache.size="5M"
vfs.zfs.prefetch_disable=1
I have 3 750GB drives configured in a ZRAID.
I have tried many different combinations in the /boot/loader.conf file.
Whenever my system does anything on more than few files on my zfs, the system just reboots. For instance, the daily cron check setiud causes the machine to reboot. So, this is not stable at all.
Am I missing something? Is this machine not good enough for ZFS? Is there a way to calculate how to configure /boot/loader.conf?