See this guide:
This syntax is provided starting in the Solaris 10 8/07 release and Nevada (build 51) release.
For example, if an application needs 5 GBytes of memory on a system with 36-GBytes of memory, you could set the arc maximum to 30 GBytes, (0x780000000 or 32212254720 bytes). Set the zfs:zfs_arc_max parameter in the /etc/system file:
set zfs:zfs_arc_max = 0x780000000
or
set zfs:zfs_arc_max = 32212254720
ZFS ARC缓存限制指南
本文介绍如何在Solaris 10 8/07及Nevada build51之后的版本中设置ZFS ARC缓存的最大值。例如,在36GB内存的系统上,若应用程序需要使用5GB内存,则可以通过设置/etc/system文件中的zfs:zfs_arc_max参数来限制ARC缓存的大小。

被折叠的 条评论
为什么被折叠?



