]> git.ipfire.org Git - thirdparty/gcc.git/commit
Lower sampling rate for autofdo bootstrap
authorak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Jan 2019 03:49:45 +0000 (03:49 +0000)
committerak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Jan 2019 03:49:45 +0000 (03:49 +0000)
commit5ce6daa3b3e129f0c356ef78d7e87108cce80e39
tree5a84998f925df85fafa2ba58caf1cad436971307
parent10c02abb9f1cf60a6637a90c27438837f462fdfd
Lower sampling rate for autofdo bootstrap

autofdo create_gcov uses a lot of memory for large sample files.
Since gcc runs quite long the sample files generated during
the bootstrap are fairly ig.

Currently I can't even build make autoprofiledbootstrap on my system at
home because create_gcov needs more than 12GB and runs out of memory.

This should probably be fixed in create_gcov, but for now
lowering the sampling rate works well enough for me. The bootstrap
run is long enough that it gets good enough data in any case.

gcc/:
2019-01-14  Andi Kleen  <ak@linux.intel.com>

* Makefile.in: Lower autofdo sampling rate by 10x.
* Makefile.tpl: Dito.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267930 138bc75d-0d04-0410-961f-82ee72b054a4
Makefile.in
Makefile.tpl
gcc/ChangeLog