public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "vz-gcc at zeitlins dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/43601] Enormous increase in DLL object files size in 4.5
Date: Sat, 03 Apr 2010 17:16:00 -0000	[thread overview]
Message-ID: <20100403171551.6829.qmail@sourceware.org> (raw)
In-Reply-To: <bug-43601-12203@http.gcc.gnu.org/bugzilla/>



------- Comment #9 from vz-gcc at zeitlins dot org  2010-04-03 17:15 -------
Just to bring some more hard numbers into this discussion, I've installed both
4.4 and 4.5 (in addition to 3.4.5 which I'll use as a kind of baseline) on my
own machine (4/8 physical/logical CPUs, 8GB of RAM, Windows 7 64 bits). The
results of building the (main) part of wxWidgets with default configure
options excluding some third party libraries (jpeg/tiff/regex):

- With 3.4.5 (mingw-vista special r3):

% time make -sj8 wxcore
make -sj8 wxcore  30.29s user 51.71s system 46% cpu 2:55.61 total
% du -sh lib
24M lib
% du -sSh .
29M .

- With 4.4.0 (GCC):

% time make -sj8 wxcore
make -sj8 wxcore  24.50s user 43.66s system 46% cpu 2:27.97 total
% du -sh lib
29M lib
% du -sSh .
90M .

- With 4.5.0 20100311 (experimental) (GCC):

% time make -sj8 wxcore
make -sj8 wxcore  33.25s user 57.26s system 6% cpu 23:26.19 total
% du -sh lib
80M lib
% du -sSh .
554M .

- Summary of the sizes of the DLL:

% du -h */lib/wxmsw291u_core_gcc_custom.dll
9.2M    wx-mswudll-gcc3.4/lib/wxmsw291u_core_gcc_custom.dll
12M     wx-mswudll-gcc4.4/lib/wxmsw291u_core_gcc_custom.dll
47M     wx-mswudll-gcc4.5/lib/wxmsw291u_core_gcc_custom.dll


The numbers are quite clear and this is without debug information! Notice the
drastic reduction in the CPU usage for 4.5: most of the time is clearly spent
writing the files (and it's an Intel G2 SSD, things would probably be even
worse with a slower disk) and not compiling at all. And while the increase in
the size of the object files (they are mostly what makes for "du -sSh" output)
is less than what was reported before, the size of the DLLs themselves
increased as well (the previous tester couldn't report this as he didn't even
manage to link them, of course).

And while the compilation time change alone (10 times slower!) makes 4.5
unusable IMO, the change in library sizes is pretty horrible too (almost 4
times larger).

I don't know who should handle it but I don't understand how can anybody not
see that it is a real problem.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43601


  parent reply	other threads:[~2010-04-03 17:16 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-31 12:31 [Bug c++/43601] New: " vz-gcc at zeitlins dot org
2010-03-31 21:48 ` [Bug c++/43601] " pinskia at gcc dot gnu dot org
2010-03-31 22:05 ` vz-gcc at zeitlins dot org
2010-03-31 22:11 ` pinskia at gcc dot gnu dot org
2010-03-31 22:12 ` pinskia at gcc dot gnu dot org
2010-03-31 22:25 ` vz-gcc at zeitlins dot org
2010-03-31 22:32 ` pinskia at gcc dot gnu dot org
2010-03-31 22:36 ` vz-gcc at zeitlins dot org
2010-04-02 11:37 ` bangerth at gmail dot com
2010-04-03 17:16 ` vz-gcc at zeitlins dot org [this message]
2010-04-03 17:25 ` pinskia at gcc dot gnu dot org
2010-04-03 17:46 ` vz-gcc at zeitlins dot org
2010-04-03 18:17 ` vz-gcc at zeitlins dot org
2010-04-04  8:21 ` dannysmith at users dot sourceforge dot net
2010-04-23  0:05 ` tdragon at tdragon dot net
2010-05-03 11:12 ` loaden at gmail dot com
2010-05-15  6:01 ` a14331990 at hotmail dot com
2010-05-15  9:29 ` a14331990 at hotmail dot com
2010-05-15  9:31 ` a14331990 at hotmail dot com
2010-05-15 11:53 ` stahta01 at students dot ipfw dot edu
2010-05-15 13:25 ` a14331990 at hotmail dot com
2010-09-22 10:07 ` vanboxem dot ruben at gmail dot com
2010-09-23  3:56 ` davek at gcc dot gnu dot org
2010-09-23  4:08 ` davek at gcc dot gnu dot org
     [not found] <bug-43601-4@http.gcc.gnu.org/bugzilla/>
2010-09-24 20:33 ` silver24k at gmail dot com
2010-09-25  6:31 ` cestrauss at gmail dot com
2010-09-26  7:49 ` cestrauss at gmail dot com
2010-09-27  9:41 ` vz-gcc at zeitlins dot org
2010-09-28 11:55 ` LpSolit at netscape dot net
2010-09-28 12:13 ` vz-gcc at zeitlins dot org
2010-09-28 12:23 ` cestrauss at gmail dot com
2010-10-14 12:19 ` loaden at gmail dot com
2010-10-14 15:10 ` pinskia at gcc dot gnu.org
2010-10-14 15:25 ` vz-gcc at zeitlins dot org
2010-10-14 15:38 ` davek at gcc dot gnu.org
2010-10-14 15:44 ` vz-gcc at zeitlins dot org
2010-10-14 15:45 ` vz-gcc at zeitlins dot org
2010-10-14 15:46 ` vz-gcc at zeitlins dot org
2010-10-14 15:48 ` vz-gcc at zeitlins dot org
2010-10-14 15:51 ` davek at gcc dot gnu.org
2010-10-14 16:01 ` vz-gcc at zeitlins dot org
2010-10-14 16:02 ` vz-gcc at zeitlins dot org
2010-10-14 16:06 ` vz-gcc at zeitlins dot org
2010-10-14 16:12 ` vz-gcc at zeitlins dot org
2010-10-14 17:09 ` vz-gcc at zeitlins dot org
2010-10-14 17:13 ` pinskia at gcc dot gnu.org
2010-10-14 17:30 ` vz-gcc at zeitlins dot org
2011-01-09 17:31 ` davek at gcc dot gnu.org
2011-01-09 17:45 ` davek at gcc dot gnu.org
2011-01-10  0:21 ` loaden at gmail dot com
2011-01-21  5:52 ` davek at gcc dot gnu.org
2011-01-26  4:46 ` davek at gcc dot gnu.org
2011-03-16  6:26 ` xunxun1982 at gmail dot com
2011-03-16  7:33 ` xunxun1982 at gmail dot com
2011-04-06  6:35 ` dongsheng.song at gmail dot com
2011-04-07 15:15 ` davek at gcc dot gnu.org
2011-04-07 15:54 ` dongsheng.song at gmail dot com
2011-04-10  4:36 ` dongsheng.song at gmail dot com
2011-04-17 11:09 ` xunxun1982 at gmail dot com
2011-04-18  3:52 ` dongsheng.song at gmail dot com
2011-04-21  0:42 ` davek at gcc dot gnu.org
2011-04-21  1:29 ` xunxun1982 at gmail dot com
2011-04-21 14:07 ` vz-gcc at zeitlins dot org
2011-06-08 14:28 ` xunxun1982 at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100403171551.6829.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).