`
tomhibolu
  • 浏览: 1391046 次
文章分类
社区版块
存档分类
最新评论

有关系统性能优化技巧 - Windows磁盘性能优化技巧

 
阅读更多

磁盘I/O性能优化

Tune Disk Performance

Windows磁盘性能优化技巧:

下面的文字从微软的技术资料库中而来:

Some disk tuning suggestions from the article - "if your disk system is too slow, consider the following alternative steps:
- Rule out a memory shortage. When memory is scarce, the Virtual Memory Manager writes more pages to disk, resulting in increased disk activity. Because low memory is a common cause of bottlenecks, make sure that this is not the source of the problem before adding hardware. Also, make sure to set the paging file to an appropriate size as described in "Evaluating Memory and Cache Usage" in this book.
- Defragment the disk using Disk Defragmenter. For information about using Disk Defragmenter, see Windows 2003/2008 Help.
- Use Diskpar.exe on the Windows 2003/2008 Resource Kit companion CD to reduce performance loss due to misaligned disk tracks and sectors.
- Use striped volumes to process I/O requests concurrently over multiple disks. The type you use depends on your data-integrity requirements. Implement striped volumes for fast reading and writing and improved storage capacity. When striped volumes are used, disk utilization per disk need to fall due to distribution of work across the volumes and overall throughput need to increase. When using striped volumes, make sure to use the optimal size of stripe for your workload. The stripe size needs to be a multiple of the size of the average request. If you find that there is no increased throughput when scaling to additional disks in a striped volume, you might be experiencing a bottleneck due to contention between disks for the disk adapter. You might need to add an adapter to better distribute the load.
- Place multiple drives on separate I/O buses, particularly if a disk has an I/O-intensive workload.
- Distribute workload among multiple drives. For example, for database applications, you might want to put transaction logs on a separate spindle from data. Notice that writing to a log file is a sequential operation and tends to be more efficient than the random operations typical of accessing data in a database. If you are unsure of a suitable distribution for network applications, track users and the files they work with in order to plan an efficient distribution by means of the auditing capability of the NTFS file system. This tells you which disks are getting the most usage and helps you determine whether you need to redistribute workloads. For more information about auditing, see Windows 2003/2008 Professional Help.
- Limit your use of file compression or encryption. These features can add some overhead and you need to use them sparingly if not required by your enterprise and if performance is critical.
- When obtaining disk systems, use the most intelligent and efficient components available for your disk system, including controller, I/O bus, cabling, and the disk. Upgrade to faster-speed or wider-bandwidth components as necessary. These measures generally decrease transfer time and improve throughput. Use intelligent drivers that support interrupt moderation or interrupt avoidance to alleviate the interrupt activity for the processor due to disk I/O. Some graphs can be used for the disk monitoring page for clarity.

用中文解释叙述如下:

1. 规避内存短缺问题,因为当操作系统的内存不够之时,必将引发虚拟内存(pagefile)的大量操作,从而导致系统的整体性能大幅下降;

2. 磁盘碎片整理,当磁盘的碎片大量存在时,因为搜索寻址的时间大幅延长从而导致整体的性能大幅下降,适当的时候进行碎片整理是非常有必要的;

3. 使用磁盘的条带卷来并行在多个磁盘之间进行I/O并行化处理,从而大幅提升磁盘的I/O性能;

4. 在不同的I/O总线上放置多个磁盘来提升并行速度;

5. 将磁盘的读写负载分散到多个磁盘上;

6. 在应用系统上限制使用文件压缩以及加密功能,避免过多增加磁盘的随机读写操作;

7. 升级你的磁盘控制器、I/O总线、数据线以及磁盘的数据读写速度,从而大幅提高磁盘I/O性能;

推荐一个整体性能优化专题网站:http://www.performancewiki.com/, 里面有各种各样的优化主题,涵盖应用、数据库、操作系统等等。

分享到:
评论

相关推荐

    如何优化Linux服务器硬盘性能实用技巧

    清理磁盘 在Windows系统中,磁盘碎片是一个常见的问题,如果不注意,系统性能可能被侵蚀。Linux使用第二扩展文件系统(ext2),它以一种完全不同的方式处理文件存储。...下面是优化Linux系统硬盘性能的一

    深入解析Windows操作系统中文.part2.rar

    无论你是开发人员还是系统管理员,你都可以在本书中找到一些关键的、有关体系结构方面的知识,通过这些知识你可以更好地做系统设计、调试,以及性能优化。 全书内容丰富、信息全面,主要包括的Windows操作系统深度...

    Windows内部原理(十一):存储和文件系统

    通过对底层原理的揭示,使您更进一步的理解Windows上各类程序的工作方式和如何进行错误诊断及性能优化。 本次课程的内容编排得到了国内知名技术作家,《Windows Internals》一书的中文译者,潘爱民先生的大力支持,...

    集群好书《高性能Linux服务器构建实战》 试读章节下载

    1.6 Nginx性能优化技巧 1.6.1 编译安装过程优化 1.6.2 利用TCMalloc优化Nginx的性能 1.6.3 Nginx内核参数优化 1.7 实战Nginx与PHP(FastCGI)的安装、配置与优化 1.7.1 什么是 FastCGI 1.7.2 Nginx+...

    WINDOWS 内部原理 (八)

    通过对底层原理的揭示,使您更进一步的理解Windows上各类程序的工作方式和如何进行错误诊断及性能优化。 本次课程的内容编排得到了国内知名技术作家,《Windows Internals》一书的中文译者,潘爱民先生的大力支持,...

    由0晋升200%系统高手

    5.2 磁盘子系统性能优化 5.2.1 磁盘缓存的优化 5.2.2 磁盘碎片整理 5.2.3 优化虚拟内存设置 5.3 注册表优化设置 5.4 Windows XP瘦身有术 5.4.1 删除不必要的Windows组件 5.4.2 取消休眠功能 5.4.3 ...

    嵌入式系统/ARM技术中的关于优化Linux系统硬盘的七个实用技巧

    在Windows系统中,磁盘碎片是一个常见的问题,如果不注意,系统性能可能被侵蚀。Linux使用第二扩展文件系统 (ext2),它以一种完全不同的方式处理文件存储。Linux没有Windows系统中发现的那种问题,这使得许多人认为...

    windows 内部原理(一)

    通过对底层原理的揭示,使您更进一步的理解Windows上各类程序的工作方式和如何进行错误诊断及性能优化。 本次课程的内容编排得到了国内知名技术作家,《Windows Internals》一书的中文译者,潘爱民先生的大力支持,...

    WINDOWS 内部原理(九)

    通过对底层原理的揭示,使您更进一步的理解Windows上各类程序的工作方式和如何进行错误诊断及性能优化。 本次课程的内容编排得到了国内知名技术作家,《Windows Internals》一书的中文译者,潘爱民先生的大力支持,...

    WINDOWS 内部原理(四)

    通过对底层原理的揭示,使您更进一步的理解Windows上各类程序的工作方式和如何进行错误诊断及性能优化。 本次课程的内容编排得到了国内知名技术作家,《Windows Internals》一书的中文译者,潘爱民先生的大力支持,...

    WINDOWS 内部原理 (三)

    通过对底层原理的揭示,使您更进一步的理解Windows上各类程序的工作方式和如何进行错误诊断及性能优化。 本次课程的内容编排得到了国内知名技术作家,《Windows Internals》一书的中文译者,潘爱民先生的大力支持,...

    WINDOWS 内部原理(五)

    通过对底层原理的揭示,使您更进一步的理解Windows上各类程序的工作方式和如何进行错误诊断及性能优化。 本次课程的内容编排得到了国内知名技术作家,《Windows Internals》一书的中文译者,潘爱民先生的大力支持,...

    WINDOWS 内部原理(十)驱动和硬件的管理

    通过对底层原理的揭示,使您更进一步的理解Windows上各类程序的工作方式和如何进行错误诊断及性能优化。 本次课程的内容编排得到了国内知名技术作家,《Windows Internals》一书的中文译者,潘爱民先生的大力支持,...

    计算机网络

    计算机结构及工作原理、各种零配件的...CPU、内存、硬盘等分配、软硬件系统的优化设置,整机性能评测、计算机病毒的原理及防治、常见软硬件故障的原因,现象及解决、正确分辨市场假货、水货,软硬件产品的销售技巧。

    电脑精华文章.rar

    第一部分:计算机结构及工作原理、各种零...CPU、内存、硬盘等分配、软硬件系统的优化设置,整机性能评测、计算机病毒的原理及防治、常见软硬件故障的原因,现象及解决、正确分辨市场假货 、水货,软硬件产品的销售技巧

    delphi 开发经验技巧宝典源码

    1.5 其他相关应用技巧 11 0017 安装合适的Delphi版本 11 0018 熟练掌握Delphi中的菜单项 12 0019 构成Delphi项目的主要文件 12 0020 如何在程序中调用帮助文件 12 第2章 语言基础 17 2.1 基础语言 18 ...

    delphi 开发经验技巧宝典源码06

    1.5 其他相关应用技巧 11 0017 安装合适的Delphi版本 11 0018 熟练掌握Delphi中的菜单项 12 0019 构成Delphi项目的主要文件 12 0020 如何在程序中调用帮助文件 12 第2章 语言基础 17 2.1 基础语言 18 ...

    计算机内存管理工具 RAM Saver Professional 20.3 中文多语免费版.zip

    使用这些优化技巧将帮助您喜爱的应用程序和游戏更快,更高效地运行 – 即使在旧计算机上也是如此。 “RAM Saver Pro”程序由两个基本部分组成:系统托盘 – 模块和控制面板。 计算机内存管理工具 RAM Saver ...

    C#编程经验技巧宝典

    C#编程经验技巧宝典源代码,目录如下: 第1章 开发环境 1 <br>1.1 Visual Studio开发环境安装与配置 2 <br>0001 安装Visual Studio 2005开发环境须知 2 <br>0002 配置合适的Visual Studio 2005...

Global site tag (gtag.js) - Google Analytics