Documentation目录下的as-iosched.txt文档翻译

简介: Anticipatory IO scheduler预期IO调度程序-------------------------Nick Piggin    13 Sep 2003Attention! Database s...
Anticipatory IO scheduler
预期IO调度程序
-------------------------
Nick Piggin <piggin@cyberone.com.au>    13 Sep 2003




Attention! Database servers, especially those using "TCQ" disks should
investigate performance with the 'deadline' IO scheduler. Any system with high
disk performance requirements should do so, in fact.
注意!数据库服务器,特别是那些使用“TCQ”磁盘应该研究一下使用'deadline'IO调度程序
的性能。事实上,任何使用高性能磁盘的系统都应该考虑到这些。


If you see unusual performance characteristics of your disk systems, or you
see big performance regressions versus the deadline scheduler, please email
me. Database users don't bother unless you're willing to test a lot of patches
from me ;) its a known issue.
如果你看到你的磁盘系统中有不寻常的性能特征或者是你看到一个高性能的回归分析和使用了
期限调度的话,请一定要给我发邮件。数据库使用者不必困扰,除非你想要在我这里测试大量
的补丁。


Selecting IO schedulers
选择IO调度程序
-----------------------
To choose IO schedulers at boot time, use the argument 'elevator=deadline'.
'noop' and 'as' (the default) are also available. IO schedulers are assigned
globally at boot time only presently.
为了能够在启动期间选择IO调度程序,请使用参数'elevator=deadline'.'noop'和'as'也是
可以的。目前,IO调度程序只能够在启动期间被全局分配。


Tuning the anticipatory IO scheduler
调谐预期调度
------------------------------------
When using 'as', the anticipatory IO scheduler there are 5 parameters under
/sys/block/*/iosched/. All are units of milliseconds.
当使用'as'的时候,预期调度程序在目录/sys/block/*/iosched下由5个参数,这5个参数都是以
毫秒为单位的。


The parameters are:
这五个参数分别是:


* read_expire
    Controls how long until a request becomes "expired". It also controls the
    interval between which expired requests are served, so set to 50, a request
    might take anywhere < 100ms to be serviced _if_ it is the next on the
    expired list. Obviously it won't make the disk go faster. The result
    basically equates to the timeslice a single reader gets in the presence of
    other IO. 100*((seek time / read_expire) + 1) is very roughly the %
    streaming read efficiency your disk should get with multiple readers.
控制一个请求到什么时候是过期的。同时他也控制哪一个过期的请求能够被服务的时间间隔,
    所以被设置乘50.在过期列表上的下一个请求可能被带到任何地方在小于100毫秒的时候被
    服务。很明显,他不会使磁盘变得更快。这个结果基本上等同于在其他IO的中一个单独的
读程序获取的一个时间片。
    
* read_batch_expire
    Controls how much time a batch of reads is given before pending writes are
    served. Higher value is more efficient. This might be set below read_expire
    if writes are to be given higher priority than reads, but reads are to be
    as efficient as possible when there are no writes. Generally though, it
    should be some multiple of read_expire.
    控制在一些等待的写程序被服务之前一批读程序会被给于多少时间。高数值是更加由效率的。
    如果写操作相比于读操作被给于更高的优先级的话,这个值可能被设置的逼read_expire要低。
   
* write_expire, and
* write_batch_expire are equivalent to the above, for writes.
* write_expire, 和
* write_batch_expire是为写程序设置的,与上述相同。


* antic_expire
    Controls the maximum amount of time we can anticipate a good read before
    giving up. Many other factors may cause anticipation to be stopped early,
    or some processes will not be "anticipated" at all. Should be a bit higher
    for big seek time devices though not a linear correspondence - most
    processes have only a few ms thinktime.
控制在放弃之前我们能够预期一个好的读程序做大时间。任何其他因素都会导致预期提前
终止,或者是一些进程根本不会被预期。即使不是一个线性对应的,对一个高寻找时间的
设备也应该被设定的稍高一些。大多数进行仅仅有几毫秒的思考时间。
目录
相关文章
|
IDE Linux 开发工具
Linux内核 Documentation下的00-INDEX文档翻译
This is a brief list of all the files in ./linux/Documentation and what they contain.
1081 0
|
Linux
linux内核Documentation/arm下的00-INDEX文档翻译
//文档位置 Documentation/arm/00-INDEX //该文件是对该目录下的文件的所讲述内容的整体的介绍 00-INDEX- this file  这个文件 Booting- requirements f...
640 0
|
Linux 内存技术 算法
Documentation下ARM中的Booting文档翻译
//文件位置: Documentation/arm/Booting Booting ARM Linux 启动ARM Linux================= Author: Russell King Date  : 18 May 2002 The following documentation is relevant to 2.4.18-rmk6 and beyond. 下列文档与2.4.18-rmk6和更高版本的内核有关。
876 0
|
Linux 芯片
linux内核文档翻译 位置:Documentation/arm/Setup
//位置:Documentation/arm/Setup Kernel initialisation parameters on ARM Linux 在ARM平台上的内核初始化参数 ------------------...
974 0
|
Linux
linux内核文档翻译 位置:Documentation/arm/README
版权声明:您好,转载请留下本人博客的地址,谢谢 https://blog.csdn.net/hongbochen1223/article/details/37655681 位置...
892 0
|
1月前
|
数据可视化 安全 API
Qt 6.1 中的模块变更(从官网文档翻译)
Qt 6.1 中的模块变更(从官网文档翻译)
6 0
|
1月前
|
传感器 API Android开发
Qt 6.2 中的模块变更(从官网文档翻译)
Qt 6.2 中的模块变更(从官网文档翻译)
16 0
|
存储 SQL 分布式数据库
Drill官网文档翻译六:存储插件的注册
我们可以通过存储插件连接到本地文件系统,Hive,HBase,或是其他的数据源。在Drill的web界面的存储插件配置tab,你可以查看修改这些插件的配置。如果不支持HTTPS(默认就没有),你可以访问HTTP://{IP}:8047/storage 来查看和配置存储插件。可以用IP,也可以用ho.
3226 0