免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3247 | 回复: 0
打印 上一主题 下一主题

打开服务器的cache [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-01-09 11:16 |只看该作者 |倒序浏览
    服务器空间以及idle都正常,读写命中率也正常,但是服务器处理程序还是慢。可以看看你的服务器的cache是否打开。

format -e
Searching for disks...done
AVAILABLE DISK SELECTIONS:
       0. c1t10d0
          /sbus@7,0/SUNW,fas@3,8800000/sd@a,0
       1. c1t11d0
          /sbus@7,0/SUNW,fas@3,8800000/sd@b,0
Specify disk (enter its number): 1
selecting c1t11d0
[disk formatted]
Warning: Current Disk has mounted partitions.
FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        scsi       - independent SCSI mode selects
        cache      - enable, disable or query SCSI disk cache
        volname    - set 8-character volume name
        !     - execute , then return
        quit
format> cache
CACHE MENU:
        write_cache - display or modify write cache settings
        read_cache  - display or modify read cache settings
        !      - execute , then return
        quit
cache> write_cache
WRITE_CACHE MENU:
        display     - display current setting of write cache
        enable      - enable write cache
        disable     - disable write cache
        !      - execute , then return
        quit
write_cache> display
Write Cache is disabled
write_cache> enable
write_cache> display
Write Cache is enabled
write_cache>
修改完成后重启服务器,看是否快了呢?

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/26329/showart_2144312.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP