40% slowdown with dynamic /bin/sh
Jonathan Mini
mini at freebsd.org
Mon Dec 1 21:59:36 PST 2003
I have found that the cost of printing the spew often
slows down compiles measurably, especially when spewing
to an xterm running on a local XFree86 process. Even
with syscons, this is noticeable.
I generally tend to run my builds behind the screen
port these days, which helps (screen implements a
virtual display buffer that disconnects screen updates
from the display client and the slave pty). Another
optimization worth noting is running make -q, which
silences a lot of that spam (urban legend has it that
the synchronization in parallel makes to write the build
messages causes noticeable amounts of contention).
On Nov 29, 2003, at 3:22 PM, Garance A Drosihn wrote:
> I also had some benchmarks of doing 'buildworld' over an
> ssh connection vs doing it at the console. Oddly enough,
> the ssh connection was faster in some ways and slower in
> others. I wonder if there is a speed-up by writing to a
> file instead of the console?
--
Jonathan Mini
mini at freebsd.org
http://www.freebsd.org
More information about the freebsd-current
mailing list