【发布时间】:2013-11-28 07:54:36
【问题描述】:
我们正在 Ubuntu 12.04.3 上分析我们的 node.js 应用程序(Node v.0.10.22)。它显示了 libc-2.15.so 占用的巨大 CPU。如何确定发生了什么以及如何减少 libc 的影响?
[Bottom up (heavy) profile]:
Note: percentage shows a share of a particular caller in the total
amount of its parent calls.
Callers occupying less than 2.0% are not shown.
ticks parent name
77875 79.4% /lib/x86_64-linux-gnu/libc-2.15.so
2276 2.9% LazyCompile: *clearBuffer _stream_writable.js:289
2276 100.0% LazyCompile: *onwrite _stream_writable.js:243
2276 100.0% LazyCompile: *WritableState.onwrite _stream_writable.js:96
2276 100.0% LazyCompile: ~<anonymous> fs.js:1675
2276 100.0% LazyCompile: ~wrapper fs.js:508
【问题讨论】:
标签: performance node.js ubuntu ubuntu-12.04