Summary: | vmtotal() loading is high when memory utilization is high | ||
---|---|---|---|
Product: | Base System | Reporter: | Jia-Shiun Li <jiashiun> |
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | New --- | ||
Severity: | Affects Only Me | CC: | demon |
Priority: | --- | ||
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
Jia-Shiun Li
2015-10-27 02:05:21 UTC
I noticed that if a program calls clock() frequently (clock() in turn calls getrusage()), the system itself responds slow. For example, we run word2vec program (http://word2vec.googlecode.com/svn/trunk/word2vec.c) in 32 threads (on 32-core machine) and during that all other programs (even single-threaded) run an order of magnitude slower compared with the time they use without word2vec. I wonder if the reason in the same. Forgot to mention in my previous comment that removing clock() call from word2vec program fixes that issue. |