Solaris 9 版次中並不支援 priority_paging 和 cachefree 可調參數。這些參數已被增強的檔案系統快取架構取代,可執行類似於優先分頁的分頁策略,但永遠都會啟用。在 /etc/system 檔案中嘗試設定這些參數將會產生開機階段的警告,如下所示:
對不起,變數 'priority_paging' 未在 'kernel' 中定義 對不起,變數 'cachefree' 未在 'kernel' 中定義 |
如果您升級至 Solaris 9 版本,或使用 pkgadd 處理 SUNWcsr 套裝軟體,且 /etc/system 檔案包含 priority_paging 或 cachefree 參數,則會產生下列情況:
如果您在 /etc/system 檔案中設定 priority_paging 或cachefree 參數,則會顯示下列訊息:
注意:/etc/system 已被修改,因為它包含 對優先分頁可調 參數的引用。請檢查變更的 檔案。 |
註釋會插入在 /etc/system 檔案中,並且在設定 priority_paging 或 cachefree 的任何一行之前的位置。 例如,若您將 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 |