随笔分类 -  linux内核

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页
摘要:http://liwei.life/2016/04/07/linux%E7%9A%84%E8%BF%9B%E7%A8%8B%E4%BC%98%E5%85%88%E7%BA%A7/ 阅读全文
posted @ 2016-06-14 12:50 zengkefu 阅读(343) 评论(0) 推荐(0) 编辑
摘要:http://www.ibm.com/developerworks/cn/linux/l-linux-scheduler-simulator/ LinSched LinSched 是驻留在用户空间中的 Linux 调度器模拟器。它隔离 Linux 调度器子系统并围绕它构建足够的内核环境, 从而可以在 阅读全文
posted @ 2016-06-14 12:35 zengkefu 阅读(366) 评论(0) 推荐(0) 编辑
摘要:cpu 缓存:getconf -a LEVEL1_ICACHE_SIZE 32768 LEVEL1_ICACHE_ASSOC 8 LEVEL1_ICACHE_LINESIZE 64 LEVEL1_DCACHE_SIZE 32768 LEVEL1_DCACHE_ASSOC 8 LEVEL1_DCACHE_LINESIZE 64 LEVEL2_CACHE_SIZE 262144 LEVEL2_CAC... 阅读全文
posted @ 2016-06-13 07:31 zengkefu 阅读(386) 评论(0) 推荐(0) 编辑
摘要:linux下会看到早期的syslog服务,但后续就看到只使用rsyslog服务了 rsyslog 相当于 syslog的升级版,rsyslog可以将日志写到文件中 客户端程序编写: 阅读全文
posted @ 2016-06-12 18:05 zengkefu 阅读(501) 评论(0) 推荐(0) 编辑
摘要:kernel.msgmnb //单个消息队列最大字节数 Specifies the maximum number of bytes in a single message queue, default = 16384 kernel.msgmni //系统范围内消息队列上限 Specifies the 阅读全文
posted @ 2016-06-12 16:02 zengkefu 阅读(846) 评论(0) 推荐(0) 编辑
摘要:RHCA-RH442-Linux系统性能调优 阅读全文
posted @ 2016-06-12 14:05 zengkefu 阅读(788) 评论(0) 推荐(0) 编辑
摘要:https://access.redhat.com/documentation/zh-CN/Red_Hat_Enterprise_Linux/6/html/Performance_Tuning_Guide/index.html 阅读全文
posted @ 2016-06-12 13:45 zengkefu 阅读(362) 评论(0) 推荐(0) 编辑
摘要:https://www.kernel.org/doc/Documentation/ 阅读全文
posted @ 2016-06-12 11:05 zengkefu 阅读(536) 评论(0) 推荐(0) 编辑
摘要:http://www.lenky.info/archives/category/nix%E6%8A%80%E6%9C%AF/%E5%86%85%E6%A0%B8%E6%8A%80%E6%9C%AF 阅读全文
posted @ 2016-06-12 09:45 zengkefu 阅读(213) 评论(0) 推荐(0) 编辑
摘要:kswapd0、kjournald、pdflush、kblocked、migration进程含义 kswapd0、kjournald、pdflush、kblocked、migration进程含义 kswapd0、kjournald、pdflush、kblocked、migration进程含义 1.k 阅读全文
posted @ 2016-06-12 09:38 zengkefu 阅读(1677) 评论(0) 推荐(0) 编辑
摘要:注意:在清空缓存之前使用sync命令同步数据到磁盘 vvm.lowmem_reserve_ratio For some specialised workloads on highmem machines it is dangerous for the kernel to allow process 阅读全文
posted @ 2016-06-11 22:53 zengkefu 阅读(970) 评论(0) 推荐(0) 编辑
摘要:NUMA CPU affinity:CPU绑定 (不会交错访问内存,性能提高) numa: numactl numad numdemo numastat numastat:numa_miss 出现大量值出现,使用绑定 CPU调度域概念:可以把进程绑定到CPU上 Group processors in 阅读全文
posted @ 2016-06-11 20:25 zengkefu 阅读(889) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/wudongxu/article/details/8574753 参数位置: /proc/sys/kernel/ 编绎内核时参数 [root@monitor boot]# pwd/boot[root@monitor boot]# vi config-2.6. 阅读全文
posted @ 2016-06-11 15:36 zengkefu 阅读(319) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/wudongxu/article/category/791519 PAE:物理地址扩展:32bit+4=64G 32位操作系统:1G内核+3G用户 缓存:比原始存储设快,但小,因为贵,程序运行局部性 缓存置换算法:LRU MRU 程序运行局部性:空间局部性, 阅读全文
posted @ 2016-06-10 22:29 zengkefu 阅读(634) 评论(0) 推荐(0) 编辑
摘要:Mapping virtual addresses(x86) 1.由于线性地址非常广,逐一查找非常慢,才用三级页表,索引查找 2.TLB:Transfer lookaside buffer(存储地址映射关系) 1.cpu >tlb (大页bigpage:提高TLB 命中,也可以提高分配效益) 2.c 阅读全文
posted @ 2016-06-10 17:35 zengkefu 阅读(448) 评论(0) 推荐(0) 编辑
摘要:curl 127.0.0.1 | | | \--ngx_epoll_process_events | | | | \--ngx_time_update | | | | | \--ngx_gmtime | | | |... 阅读全文
posted @ 2016-06-09 12:44 zengkefu 阅读(1569) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/jianqiangchen/article/details/29175285 http://blog.csdn.net/jianqiangchen/article/details/29201415 http://blog.csdn.net/allenlinr 阅读全文
posted @ 2016-06-09 12:20 zengkefu 阅读(696) 评论(0) 推荐(0) 编辑
摘要:http://www.ttlsa.com/tools/use-strace-to-track-multiple-processes/ strace是Linux环境下的一款程序调试工具,用来监察一个应用程序所使用的系统调用及它所接收的系统信息。追踪程序运行时的整个生命周期,输出每一个系统调用的名字,参 阅读全文
posted @ 2016-06-09 10:12 zengkefu 阅读(3562) 评论(0) 推荐(0) 编辑
摘要:https://github.com/elcritch/etrace 窗口1: 监控窗口,执行监控程序,显示监控结果 [root@monitor example]# pwd /root/etrace-master/example [root@monitor example]# ll total 28 -rwxr-xr-x 1 root root 16687 Jun 9 08:49 cru... 阅读全文
posted @ 2016-06-09 09:12 zengkefu 阅读(1813) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/oujunli/article/details/8138172 http://blog.csdn.net/oujunli/article/details/50575115 http://blog.csdn.net/oujunli/article/detail 阅读全文
posted @ 2016-06-09 08:37 zengkefu 阅读(209) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页