随笔分类 -  linux内核

摘要:目录(?)[-] Linux系统对IO端口和IO内存的管理 一、I/O端口 二、IO内存 三、IO端口和IO内存的区分及联系 四、外设IO端口物理地址的编址方式 统一编址 独立编址 优缺点 五、Linux下访问IO端口 I/O映射方式 内存映射方式 六、Linux下访问IO内存 六、ioremap和 阅读全文
posted @ 2016-05-02 17:33 zengkefu 阅读(8984) 评论(0) 推荐(0) 编辑
摘要:Linux内核地址映射模型x86 CPU采用了段页式地址映射模型。进程代码中的地址为逻辑地址,经过段页式地址映射后,才真正访问物理内存。 段页式机制如下图。 Linux内核地址空间划分 通常32位Linux内核地址空间划分0~3G为用户空间,3~4G为内核空间。注意这里是32位内核地址空间划分,64 阅读全文
posted @ 2016-05-02 17:29 zengkefu 阅读(164) 评论(0) 推荐(0) 编辑
摘要:在Linux上做网络应用的性能优化时,一般都会对TCP相关的内核参数进行调节,特别是和缓冲、队列有关的参数。网上搜到的文章会告诉你需要修改哪些参数,但我们经常是知其然而不知其所以然,每次照抄过来后,可能很快就忘记或混淆了它们的含义。本文尝试总结TCP队列缓冲相关的内核参数,从协议栈的角度梳理它们,希 阅读全文
posted @ 2016-05-02 16:54 zengkefu 阅读(436) 评论(0) 推荐(0) 编辑
摘要:https://www.suse.com/documentation/sles11/book_sle_tuning/data/part_tuning_kernel.html http://blog.csdn.net/maimang1001/article/details/34941471 https 阅读全文
posted @ 2016-05-02 16:44 zengkefu 阅读(3300) 评论(0) 推荐(0) 编辑
摘要:1、vanbreaker的专栏 2、LinuxKernel Exploration 3、DroidPhone的专栏 4、Linux内核研究以及学习文档和ARM学习以及研究的开放文档 【力荐】 5、Linux内核之旅 6、时钟管理系统和中断子系统 7. http://www.cnblogs.com/b 阅读全文
posted @ 2016-05-02 16:27 zengkefu 阅读(184) 评论(0) 推荐(0) 编辑
摘要:http://www.jinbuguo.com/storage/ssd_intro.html 阅读全文
posted @ 2016-01-02 15:15 zengkefu 阅读(190) 评论(0) 推荐(0) 编辑
摘要:http://my.oschina.net/fgq611/blog/113249 http://my.oschina.net/fgq611/blog/112929 阅读全文
posted @ 2016-01-02 14:10 zengkefu 阅读(139) 评论(0) 推荐(0) 编辑
摘要:http://dirlt.com/linux.html 阅读全文
posted @ 2016-01-02 11:13 zengkefu 阅读(180) 评论(0) 推荐(0) 编辑
摘要:http://blog.163.com/digoal@126/blog/static/163877040201571511020418http://dirlt.com/ 阅读全文
posted @ 2016-01-02 11:03 zengkefu 阅读(541) 评论(0) 推荐(0) 编辑
摘要:IO 延迟:存储设备的IO延迟 Queue Depth:磁盘控制器所发出的批量指令的最大条数 IOPS:磁盘设备每秒的IO 三者之间的关系:IOPS=(Queue Depth)/(IO latency) 队列深度描述的是硬盘能够同时激活的最大IO值,队列深度越大,实际性能也会越高。 Queue De 阅读全文
posted @ 2016-01-02 10:49 zengkefu 阅读(1560) 评论(0) 推荐(0) 编辑
摘要:http://laokaddk.blog.51cto.com/368606/699563 阅读全文
posted @ 2016-01-02 10:34 zengkefu 阅读(338) 评论(0) 推荐(0) 编辑
摘要:http://www.penglixun.com/tech/system/linux_cache_discovery.htmlhttp://my.oschina.net/HardySimpson/blog/134163http://blog.sina.com.cn/s/blog_6237dcca01... 阅读全文
posted @ 2016-01-02 10:17 zengkefu 阅读(267) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/renxs/p/3683189.html 阅读全文
posted @ 2016-01-02 10:00 zengkefu 阅读(144) 评论(0) 推荐(0) 编辑
摘要:http://blog.chinaunix.net/uid-26000296-id-4065871.html 阅读全文
posted @ 2016-01-02 09:59 zengkefu 阅读(345) 评论(0) 推荐(0) 编辑
摘要:http://www.tinylab.org/source-code-analysis-how-best-to-draw-a-function-call/ 阅读全文
posted @ 2015-12-05 12:29 zengkefu 阅读(226) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/maochengtao/article/details/23598433 阅读全文
posted @ 2015-12-05 12:19 zengkefu 阅读(335) 评论(0) 推荐(0) 编辑
摘要:http://blog.yufeng.info/archives/tag/blktrace 阅读全文
posted @ 2015-11-07 10:41 zengkefu 阅读(172) 评论(0) 推荐(0) 编辑
摘要:http://www.ibm.com/developerworks/cn/linux/l-cn-perf1/ http://blog.chinaunix.net/uid-24774106-id-4096470.html http://blog.chinaunix.net/uid-7585066-id 阅读全文
posted @ 2015-11-06 22:37 zengkefu 阅读(655) 评论(0) 推荐(0) 编辑
摘要:http://blog.chinaunix.net/uid-10540984-id-3854969.htmlhttp://blog.csdn.net/zhangskd/article/details/37902159[root@localhost ~]# perf record -e cpu-clo... 阅读全文
posted @ 2015-11-06 22:06 zengkefu 阅读(281) 评论(0) 推荐(0) 编辑
摘要:[root@localhost ~]# cat test1.cvoid longa(){int i,j;for(i = 0; i < 1000000; i++)j=i; //am I silly or crazy? I feel boring and desperate.}void foo2(){i... 阅读全文
posted @ 2015-11-06 21:40 zengkefu 阅读(252) 评论(0) 推荐(0) 编辑