Based on kernel version 2.6.34. Page generated on 2010-05-31 16:02 EST.
1 Queue sysfs files
2 =================
3
4 This text file will detail the queue files that are located in the sysfs tree
5 for each block device. Note that stacked devices typically do not export
6 any settings, since their queue merely functions are a remapping target.
7 These files are the ones found in the /sys/block/xxx/queue/ directory.
8
9 Files denoted with a RO postfix are readonly and the RW postfix means
10 read-write.
11
12 hw_sector_size (RO)
13 -------------------
14 This is the hardware sector size of the device, in bytes.
15
16 max_hw_sectors_kb (RO)
17 ----------------------
18 This is the maximum number of kilobytes supported in a single data transfer.
19
20 max_sectors_kb (RW)
21 -------------------
22 This is the maximum number of kilobytes that the block layer will allow
23 for a filesystem request. Must be smaller than or equal to the maximum
24 size allowed by the hardware.
25
26 nomerges (RW)
27 -------------
28 This enables the user to disable the lookup logic involved with IO
29 merging requests in the block layer. By default (0) all merges are
30 enabled. When set to 1 only simple one-hit merges will be tried. When
31 set to 2 no merge algorithms will be tried (including one-hit or more
32 complex tree/hash lookups).
33
34 nr_requests (RW)
35 ----------------
36 This controls how many requests may be allocated in the block layer for
37 read or write requests. Note that the total allocated number may be twice
38 this amount, since it applies only to reads or writes (not the accumulated
39 sum).
40
41 read_ahead_kb (RW)
42 ------------------
43 Maximum number of kilobytes to read-ahead for filesystems on this block
44 device.
45
46 rq_affinity (RW)
47 ----------------
48 If this option is enabled, the block layer will migrate request completions
49 to the CPU that originally submitted the request. For some workloads
50 this provides a significant reduction in CPU cycles due to caching effects.
51
52 scheduler (RW)
53 --------------
54 When read, this file will display the current and available IO schedulers
55 for this block device. The currently active IO scheduler will be enclosed
56 in [] brackets. Writing an IO scheduler name to this file will switch
57 control of this block device to that new IO scheduler. Note that writing
58 an IO scheduler name to this file will attempt to load that IO scheduler
59 module, if it isn't already present in the system.
60
61
62
63 Jens Axboe <jens.axboe[AT]oracle[DOT]com>, February 2009
分享到:
相关推荐
spin until power button pressed for Linux v2.13.6.
C语言头文件 QUEUE.HC语言头文件 QUEUE.HC语言头文件 QUEUE.HC语言头文件 QUEUE.HC语言头文件 QUEUE.HC语言头文件 QUEUE.HC语言头文件 QUEUE.HC语言头文件 QUEUE.HC语言头文件 QUEUE.HC语言头文件 QUEUE.HC语言...
1. Message Queue的角色 在你的Android程序里,新诞生一个线程,或称执行(Thread)时,并不会自动建立其Message Loop。 Android里并没有Global的Message Queue数据结构,例如,不同APK里的对象不能透过...
Queue-Queue-Queue
Queue与Topic的比较,学习JMS和activemq必须看的资料之一
delphi中关于队列的使用QUEUE,已在delphi7中调试通过。 学习queue的小例子。
前端开源库-promise-queue-plusPromise Queue Plus,基于Promise的队列。支持超时、重试等。
消息队列 Queue与Topic区别
java 自定义Queue队列 java 自定义Queue队列
数据结构Queue的实现在queue.h中, testQ为queue的用法
MessageQueue实战MessageQueue实战MessageQueue实战MessageQueue实战MessageQueue实战MessageQueue实战MessageQueue实战MessageQueue实战MessageQueue实战MessageQueue实战
Android Priority Job Queue
jellyfin官方插件镜像kodi-sync-queue
thinkphp5.0.24+queue 队列信息完整源码
Unity3d 队列 方法 Queue
Queue机制
queue队列是我们常用的类,这里我们将对queue类中常用的6个函数进行讲解,帮助大家学习。
前端开源库-promise-queue承诺队列,基于承诺的队列
Can't locate ThreadQueue.pm
Queue FIFO C 绝对可用的FIFO 代码