发布时间:2012-05-08 14:31:26
【摘要】: 本文详解了内核中面向对象的list结构的原理,以及如何以list为内嵌对象来构造自己的链表结构,如何从内嵌list对象获得自定义的对象指针;探讨了各种宏或者函数的详细使用方法及怎样以通用list结构来操作自定义对象。【关键字】:双向循环链表,list,list_entry,typeof,containerof,list_for_each,.........【阅读全文】
发布时间:2012-05-08 14:25:42
static struct elevator_type iosched_cfq = {.ops = {.elevator_merge_fn = cfq_merge,.elevator_merged_fn =cfq_merged_request,.elevator_merge_req_fn =cfq_merged_requests,.elevator_allow_merge_fn =cfq_allow_merge,.elevator_bio_merged_fn =cfq_bio_merged,.elevator_dispatch_fn =cfq_dispatch_requests.........【阅读全文】
发布时间:2012-05-08 14:18:04
cfq_queue的属性中,包括workload priority:IDLE, BE, RT,包括workload type:ASYNC, SYNC_NOIDLE, SYNC。同时cfq_queue虽然基于CFQ调度器,但其内部的算法还是基于dead-line的cfq_group包含了多个红黑树service tree,对应不同workload priority, workload type一些工具性质的函数:cfq_find.........【阅读全文】
发布时间:2012-05-08 14:11:11
CFQ调度器是四种IO Scheduler中最复杂的一个,redhat有个文档可以做为入门的文档先了解下 red-hat-enterprise-linux-5-io-tuning-guide.pdfThe cfq scheduler maintains a maximum of 64 internal request queues; each process running on the system is assigned to any of these queues. Each time a process subm.........【阅读全文】