Solaris 9 9/05 HW 发行说明

优先级分页和相关内核可调参数 (priority_paging/cachefree)

Solaris 9 发行版不支持 priority_pagingcachefree 可调参数。这些参数已被增强的文件系统缓存体系结构所代替,这种体系结构实现与优先级分页类似的分页策略,但总是处于启用状态。试图在 /etc/system 文件中设置这些参数时,将导致引导时警告,如下所示:


sorry, variable 'priority_paging' is not defined in the 'kernel'
sorry, variable 'cachefree' is not defined in the 'kernel'

如果您升级到 Solaris 9 发行版或者通过运行 pkgadd 命令添加了 SUNWcsr 软件包,并且您的 /etc/system 文件包括 priority_pagingcachefree 参数,则将发生以下情况:

  1. 如果在/etc/system 文件中设置了 priority_pagingcachefree 参数,将显示以下信息:


    注: 由于 /etc/system 包含对优先级分页可调参数的引用,
    因此它已被修改。请检查修改后的文件。
  2. /etc/system 文件中任何设置了 priority_pagingcachefree 参数的行前均被插入注释。例如,如果 priority_paging 设置为 1,该行将被以下行取代:


    * NOTE: As of Solaris 9, priority paging is unnecessary and 
    * has been removed. Since references to priority paging-related tunables 
    * will now result in boot-time warnings, the assignment below has been 
    * commented out. For more details, see the Solaris 9 Release Notes, or 
    * the "Solaris Tunable Parameters Reference Manual".
    
    * set priority_paging=1