public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/98746] New: [11 Regression] memory hog for a lto+pgo build on powerpc64*-linux-gnu
@ 2021-01-19 10:50 doko at debian dot org
  2021-01-19 10:52 ` [Bug target/98746] " doko at debian dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: doko at debian dot org @ 2021-01-19 10:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98746

            Bug ID: 98746
           Summary: [11 Regression] memory hog for a lto+pgo build on
                    powerpc64*-linux-gnu
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at debian dot org
  Target Milestone: ---

seen with the trunk. A native combined profiled & lto build takes a bit more
than 16GB of memory with -j16, and just under 8GB with -j4 and link
serialization set to 1.  I don't see this on other 64bit builds.

marking as a regression, a make -j4 build with 8GB of memory does succeed with
GCC 10.

attaching memory usage reports for ppc64el -j16 and -j4, plus a comparison for
x86_64.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/98746] [11 Regression] memory hog for a lto+pgo build on powerpc64*-linux-gnu
  2021-01-19 10:50 [Bug target/98746] New: [11 Regression] memory hog for a lto+pgo build on powerpc64*-linux-gnu doko at debian dot org
@ 2021-01-19 10:52 ` doko at debian dot org
  2021-01-19 11:17 ` doko at debian dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: doko at debian dot org @ 2021-01-19 10:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98746

--- Comment #1 from Matthias Klose <doko at debian dot org> ---
the reports are too big, please find them at
https://people.debian.org/~doko/tmp/  usage-*

eog isn't able to disaply those, I used gwenview to display the svg files.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/98746] [11 Regression] memory hog for a lto+pgo build on powerpc64*-linux-gnu
  2021-01-19 10:50 [Bug target/98746] New: [11 Regression] memory hog for a lto+pgo build on powerpc64*-linux-gnu doko at debian dot org
  2021-01-19 10:52 ` [Bug target/98746] " doko at debian dot org
@ 2021-01-19 11:17 ` doko at debian dot org
  2021-01-19 15:00 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: doko at debian dot org @ 2021-01-19 11:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98746

--- Comment #2 from Matthias Klose <doko at debian dot org> ---
the -j4 build is configured with

         --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++
         --prefix=/usr/lib/gcc-snapshot
         --with-gcc-major-version-only
         --program-prefix=
         --enable-shared
         --enable-linker-build-id
         --disable-nls
         --enable-bootstrap
         --enable-clocale=gnu
         --enable-libstdcxx-debug
         --enable-libstdcxx-time=yes
         --with-default-libstdcxx-abi=new
         --enable-gnu-unique-object
         --enable-plugin
         --with-system-zlib
         --enable-libphobos-checking=release
         --with-target-system-zlib=auto
         --enable-objc-gc=auto
         --enable-secureplt
         --with-cpu=power8
         --enable-targets=powerpcle-linux
         --disable-multilib
         --enable-multiarch
         --disable-werror
         --with-long-double-128
        
--enable-offload-targets=nvptx-none=/<<PKGBUILDDIR>>/debian/tmp-nvptx/usr/lib/gcc-snapshot
         --without-cuda-driver
         --enable-checking=yes,extra,rtl
         --build=powerpc64le-linux-gnu
         --host=powerpc64le-linux-gnu
         --target=powerpc64le-linux-gnu
         --with-build-config=bootstrap-lto-lean
         --enable-link-serialization=1

and built with

make -j4 profiledbootstrap-lean

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/98746] [11 Regression] memory hog for a lto+pgo build on powerpc64*-linux-gnu
  2021-01-19 10:50 [Bug target/98746] New: [11 Regression] memory hog for a lto+pgo build on powerpc64*-linux-gnu doko at debian dot org
  2021-01-19 10:52 ` [Bug target/98746] " doko at debian dot org
  2021-01-19 11:17 ` doko at debian dot org
@ 2021-01-19 15:00 ` rguenth at gcc dot gnu.org
  2021-02-23 12:33 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-19 15:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98746

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/98746] [11 Regression] memory hog for a lto+pgo build on powerpc64*-linux-gnu
  2021-01-19 10:50 [Bug target/98746] New: [11 Regression] memory hog for a lto+pgo build on powerpc64*-linux-gnu doko at debian dot org
                   ` (2 preceding siblings ...)
  2021-01-19 15:00 ` rguenth at gcc dot gnu.org
@ 2021-02-23 12:33 ` rguenth at gcc dot gnu.org
  2021-02-24  9:01 ` doko at debian dot org
  2021-02-24  9:05 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-02-23 12:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98746

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2021-02-23

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Did the situation improve with the recent memory usage improvements?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/98746] [11 Regression] memory hog for a lto+pgo build on powerpc64*-linux-gnu
  2021-01-19 10:50 [Bug target/98746] New: [11 Regression] memory hog for a lto+pgo build on powerpc64*-linux-gnu doko at debian dot org
                   ` (3 preceding siblings ...)
  2021-02-23 12:33 ` rguenth at gcc dot gnu.org
@ 2021-02-24  9:01 ` doko at debian dot org
  2021-02-24  9:05 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: doko at debian dot org @ 2021-02-24  9:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98746

--- Comment #4 from Matthias Klose <doko at debian dot org> ---
trunk 20210220 with 8441545d4f2afb9e9342e0dac378eafd03f00462 reverted uses less
than 100MB for the compilation.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/98746] [11 Regression] memory hog for a lto+pgo build on powerpc64*-linux-gnu
  2021-01-19 10:50 [Bug target/98746] New: [11 Regression] memory hog for a lto+pgo build on powerpc64*-linux-gnu doko at debian dot org
                   ` (4 preceding siblings ...)
  2021-02-24  9:01 ` doko at debian dot org
@ 2021-02-24  9:05 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-02-24  9:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98746

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|WAITING                     |RESOLVED

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
So fixed.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-02-24  9:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19 10:50 [Bug target/98746] New: [11 Regression] memory hog for a lto+pgo build on powerpc64*-linux-gnu doko at debian dot org
2021-01-19 10:52 ` [Bug target/98746] " doko at debian dot org
2021-01-19 11:17 ` doko at debian dot org
2021-01-19 15:00 ` rguenth at gcc dot gnu.org
2021-02-23 12:33 ` rguenth at gcc dot gnu.org
2021-02-24  9:01 ` doko at debian dot org
2021-02-24  9:05 ` rguenth at gcc dot gnu.org

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).