文章分类 -  Performance Tuning

Articles about performance Tuning
poll机制分析
摘要:原作者:韦东山int poll(struct pollfd *fds, nfds_t nfds, int timeout) 的时候可以通过把timeout设置成0的方式避免线程睡眠(busy wait),从而避免线程上下文切换造成的latency。不过这种方式会导致CPU使用率到达100%。所以如果... 阅读全文

posted @ 2015-07-25 16:35 CasperWu 阅读(252) 评论(0) 推荐(0)

使用 Linux 大页面内存 (hugepages) 提高内存访问性能
摘要:原文链接:http://linux.cloudibee.com/2007/09/linux-hugepages/http://linuxgazette.net/155/krishnakumar.html配置Linux系统大内存Hugepages is a mechanism that allows ... 阅读全文

posted @ 2015-07-16 12:15 CasperWu 阅读(1916) 评论(0) 推荐(0)

导航