网站大量收购独家精品文档,联系QQ:2885784924

10管理交换空间.ppt

  1. 1、本文档共9页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
10管理交换空间

Choose View, Header and Footer to enter text here Managing Swap Space Version A.01 H3064S Module 15 Slides System Memory What is Swap Space? Types of Swap Space Enabling Swap from the Command Line Examples: 1 swapon /dev/vg01/myswap 2 swapon /dev/dsk/c0t2d0 3 swapon -p 4 -l 4M /myfs2 4 swapon -a Explanations: 1 Swap on a logical volume 2 Swap on a whole disk 3 Swap on a file system 4 Enable all swap entries in /etc/fstab SAM can help! Enabling Swap via /etc/fstab Examples /dev/vg01/myfs1 /dev/vg01/myfs2 /dev/vg01/myswap /dev/dsk/c0t2d0 . Explanations: Swap on a logical volume Swap on a whole disk Swap on a file system Monitoring Swap Space Usage Examples: swapinfo swapinfo -f swapinfo -d swapinfo -tm Explanations: Report usage of all swap areas Only list file system swap areas Only list device swap areas Report values in megabytes, with a total line Guidelines for Selecting Device Swap Areas Two swap areas on different physical disks are better than one single swap area Only one swap partition (logical volume or reserved space) per disk Device swap areas should be of similar size Consider the speed of the disks Guidelines for Selecting File System Swap Areas Avoid using busy file systems such as the root file system Use bdf to check file system space availability Set priorities appropriately Faster devices over slower devices Infrequently-used file systems over busier file systems It is preferable to enable swap on file systems that are located on separate disks or, in the case of LVM, separate physical volumes. ? 1999 Hewlett-Packard Co. H3064S A.01 a66968 Page (4 Kb) HP-UX Available Memory Lockable Memory Physical Memory executable swap Process text data T T D D D D RAM a669119 Primary Swap LVM structure file system swap lvol LVM LVM structure file system swap lvol LVM root disk / file system swap area Whole Disk approach file system swap area Whole Disk” Approach Secondary Swap File System Swap Device Swap a6696

文档评论(0)

qwd513620855 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档