![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux 性能调试
渴饮刀头血
逆风不怂,顺风不浪,不负我心,不负我生。
展开
-
ubuntu 18.04 perf 新安装遇到问题解决
目标:新建Ubuntu 虚拟机(18.04),安装perf 命令调试,安装出现报错,问题解决总结如下,希望对大家有所帮助。1.perf 安装提示WARNING: perf not found for kernel 5.4.0-42 You may need to install the following packages for this specific kernel: linux-tools-5.4.0-42-generic linux-cloud-tools-5.4...原创 2020-08-30 22:58:21 · 7838 阅读 · 1 评论 -
Linux 性能调试 之 drop_caches
Linux free 命令中buffer和cache 都是页缓存(page cache),可以手动清理清理,降低内存消耗。清理前free命令查看guobin@guobin-VirtualBox:~/work$ free -m total used free shared buff/cache availableMem: 1496 923 106 ...原创 2020-08-28 22:52:57 · 3072 阅读 · 1 评论