chrome spends all its time calling close Re: chrome spends all its time calling open
Matthew Macy
mmacy at nextbsd.org
Sun Jul 3 00:24:14 UTC 2016
Subject line was wrong.
---- On Sat, 02 Jul 2016 17:23:18 -0700 Matthew Macy <mmacy at nextbsd.org> wrote ----
>
> 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