chrome spends all its time calling open
Matthew Macy
mmacy at nextbsd.org
Sun Jul 3 00:23:20 UTC 2016
While looking at other issues I tried running truss on chrome at startup and I discovered a certain rather dysfunctional behavior:
lanecrash# grep "close(" chrome.log | wc
1317903 7905445 68502169
planecrash# wc chrome.log
1466068 8798135 78854285 chrome.log
It repeatedly calls close on 1 up to ~128000. System calls aren't expensive per se, but if almost 95% of your system calls are close you're doing something quite wrong.
-M
More information about the freebsd-chromium
mailing list