Re: speed increase due to -j16 as opposed to default -B (mod -1/37)
by scot bontrager (18.104.22.168) on Fri Jun 22 00:40:04 2007 (GMT)
> > How much of a speed increase is this? Are we talking like a double in compile speed because you can multithread?
> The difference is substantial -- on Intel Core 2 Duo E4300, the time it takes to build OpenBSD's kernel with -B is 4:45, but with -j16 it's only 2:36, i.e. just under 3 minutes, and almost a two-fold decrease in elapsed time. See the link under my name above for some simple benchmarking that I've performed.
time make -B
289.080u 59.050s 5:43.48 101.3% 0+0k 208+2226io 416pf+0w
time make -j4
291.050u 66.180s 3:27.57 172.1% 0+0k 1632+5575io 7112pf+0w
amd64 2x 1.6ghz
[ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]
Add Story |
Copyright © 2004-2008
All rights reserved.
Articles and comments are copyright their respective authors,
submission implies license to publish on this web site.
Contents of the archive prior to April 2nd 2004 as well as images
and HTML templates were copied from the fabulous original
Jim's kind permission.
Some icons from slashdot.org
used with permission from Kathleen.
This journal runs as CGI with
on OpenBSD, the
source code is
Search engine is ht://Dig.
undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]