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
本文介绍了如何在Solaris 10 8/07及后续版本中通过设置zfs:zfs_arc_max参数来限制ZFS的ARC缓存大小。例如,在一个拥有36GB内存的系统上为特定应用程序预留5GB内存时,可以通过此参数将ARC缓存的最大值设置为30GB。
7938

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



