磁盘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/, 里面有各种各样的优化主题,涵盖应用、数据库、操作系统等等。
分享到:
相关推荐
### 性能优化的核心概念与实践 #### 一、性能的基本定义及重要性 性能是衡量软件质量的关键指标之一,特别是在大数据、云计算等高负载环境下,软件性能的好坏直接影响用户体验和业务发展。软件性能通常指的是软件...
在Windows 7操作系统中,有一些优化技巧可以帮助提升系统的性能和用户体验。这些技巧涵盖了磁盘碎片整理、浏览器优化、任务栏修复、快捷键增强等多个方面。下面是对这些技巧的详细解释: 1. **加速磁盘碎片整理**:...
这篇文档主要针对Windows 7的优化技巧,旨在帮助用户提升系统性能和开机速度,确保系统稳定运行。 一、开机加速与系统原理 1. **系统开机原理**: - Windows 7启动过程涉及多个阶段,包括BIOS自检、引导加载器...
优化Linux服务器硬盘性能是提升系统效率的关键步骤,特别是在高负载和多用户环境下。以下是一些实用的优化策略: 首先,清理磁盘是提高硬盘性能的基础。在Linux系统中,尽管碎片化不像Windows系统那样频繁,但它...
Windows操作系统是全球最广泛使用的个人计算机操作系统之一,其性能优化对于提升用户体验至关重要。然而,许多用户在优化过程中可能走进误区,误删或调整系统关键设置,导致适得其反的效果。以下是一些针对Windows...
本文将重点介绍针对Windows Server 2008至2012版本的一些简单实用且易于操作的系统优化技巧。 #### 二、关闭关机事件追踪服务(ShutdownEventTracker) 1. **禁用方法**:首先,通过“开始”菜单中的“运行”命令...
总结起来,Oracle公司提供的MySQL 5.6性能优化知识包含硬件、存储引擎、操作系统版本等多个方面的调优技巧,通过这些优化,可以最大化MySQL数据库的性能潜力,提高数据库操作的效率和可靠性。当然,这些知识点需要...
根据提供的部分页面内容来看,文档主要围绕IIS6.0的性能调优展开,包括但不限于性能调试工具的介绍、服务器性能调优策略、应用程序集性能优化方法等内容。此外,文档还涉及了具体的日程安排,这可能是培训课程或研讨...
《Windows 7下固态硬盘优化技巧》 固态硬盘(SSD)因其高速度和低延迟成为现代计算机系统的首选存储设备。然而,Windows 7操作系统在设计时并未完全考虑到SSD的特点,因此,需要一些特定的优化策略来充分发挥其性能...
9. IPv6的优化:文档可能提到了与IPv6相关的优化技巧,关闭或优化IPv6有时可以解决某些网络问题,并可能对性能产生积极影响。 10. 注销账户的快速打开:提到了“netplwiz”命令,这是一个快速访问用户账户设置的...
为了解决这些问题,提高Windows系统的性能和效率,这里将介绍五个实用的系统优化技巧。 1. **清理磁盘空间** - **磁盘清理工具**:Windows自带的磁盘清理工具可以帮助用户找到并删除不必要的文件,如临时文件、...
### Windows 7优化技巧详解 随着技术的进步与更新换代,Windows 7 作为一个曾经非常流行的操作系统,依然被很多用户所使用。然而,对于一些配置较低或刚刚满足Windows 7最低要求的计算机来说,进行适当的系统优化是...
### Windows操作系统小技巧集锦 在日常使用Windows操作系统的过程中,我们常常会遇到各种问题或希望提升操作效率。本文将从给定的文件标题、描述、标签以及部分内容中提炼出一系列实用的小技巧,帮助用户更好地掌握...
**6、系统性能优化** - 可以通过修改注册表中的某些键值来进一步优化系统性能。比如: - 设置系统启动模式为“FastDetect”,以提高系统启动速度。 - 调整 IDE 设备传输模式为 DMA 模式,以提高数据传输速度。 -...
本文将详细介绍一系列针对Windows 10系统的优化技巧,这些方法同样适用于Windows 8.1系统,旨在帮助用户提升电脑性能、美化界面,并确保系统的安全性。 #### 性能类 ##### 清理磁盘 对于存储空间较小的用户来说,...
本篇文章将详细讲解Windows操作系统的安装过程,系统配置的要点,以及如何进行性能优化,同时也会提及Ghost系统镜像的制作和双系统的启动配置。 一、Windows操作系统安装 Windows操作系统的安装通常分为两种方式:...
### Windows XP优化技巧详解 #### 一、优化启动设置 Windows XP虽然已经是一款较为老旧的操作系统,但在当时,它的启动速度对于用户体验来说至关重要。优化启动设置可以显著提升系统的启动速度和稳定性。 - **...
《Windows Server 2008性能监视及优化》章节详细阐述了如何监控和优化Windows Server 2008的性能,以确保系统高效稳定运行。本章内容涵盖多个关键工具和功能,包括性能监视器、可靠性监视器、数据收集器集、事件查看...
Windows优化大师是一款广受欢迎的系统优化工具,专为Windows操作系统设计,旨在提升系统性能、优化启动项、清理垃圾文件以及进行系统维护。这款软件集多种功能于一体,是个人用户和企业用户进行系统管理的重要辅助...