The zfs_arc_max value must be provided as a HEX value. More information here: http://www.thezonemanager.com/2009/03/filesystem-cache-optimization.html
root@game:/mnt/pve/nfs/tools# cat calc_arc.sh
#!/bin/bash
numGigs=$1
decVal=$((${numGigs}*(2**30)));
HEXVAL=`echo "obase=16;ibase=10; ${decVal}" | bc`
echo "0x${HEXVAL}"
root@game:/mnt/pve/nfs/tools# ./calc_arc.sh 8
0x200000000
root@game:~# grep arc_max /etc/modprobe.d/zfs.conf
options zfs zfs_arc_max=0x200000000
root@game:~# cat /proc/spl/kstat/zfs/arcstats | grep c_max
c_max 4 8589934592
root@game:~# arcstat.py 5 5
time read miss miss% dmis dm% pmis pm% mmis mm% arcsz c
23:14:05 0 0 0 0 0 0 0 0 0 19M 8.0G
23:14:10 5.1K 5.0K 98 5.0K 98 0 0 2.7K 97 10M 8.0G
23:14:15 2.8K 2.7K 97 2.7K 97 0 0 1.9K 96 9.2M 8.0G
23:14:20 3.0K 2.9K 98 2.9K 98 0 0 1.9K 97 22M 8.0G
23:14:25 318 306 96 306 96 0 0 269 95 13M 8.0G
root@game:/mnt/pve/nfs/tools# cat calc_arc.sh
#!/bin/bash
numGigs=$1
decVal=$((${numGigs}*(2**30)));
HEXVAL=`echo "obase=16;ibase=10; ${decVal}" | bc`
echo "0x${HEXVAL}"
root@game:/mnt/pve/nfs/tools# ./calc_arc.sh 8
0x200000000
root@game:~# grep arc_max /etc/modprobe.d/zfs.conf
options zfs zfs_arc_max=0x200000000
root@game:~# cat /proc/spl/kstat/zfs/arcstats | grep c_max
c_max 4 8589934592
root@game:~# arcstat.py 5 5
time read miss miss% dmis dm% pmis pm% mmis mm% arcsz c
23:14:05 0 0 0 0 0 0 0 0 0 19M 8.0G
23:14:10 5.1K 5.0K 98 5.0K 98 0 0 2.7K 97 10M 8.0G
23:14:15 2.8K 2.7K 97 2.7K 97 0 0 1.9K 96 9.2M 8.0G
23:14:20 3.0K 2.9K 98 2.9K 98 0 0 1.9K 97 22M 8.0G
23:14:25 318 306 96 306 96 0 0 269 95 13M 8.0G