Re: Add parameter to limit LTO streaming parallelism

2019-04-11 Thread Richard Biener
On Thu, 11 Apr 2019, Jan Hubicka wrote: > > On Thu, 11 Apr 2019, Jan Hubicka wrote: > > > > > Hi, > > > the LTO streaming forks for every partition. With the number of > > > partitions incrased to 128 and relatively large memory usage (around > > > 5GB) needed to WPA firefox this causes kernel to

Re: Add parameter to limit LTO streaming parallelism

2019-04-11 Thread Jan Hubicka
> On Thu, 11 Apr 2019, Jan Hubicka wrote: > > > Hi, > > the LTO streaming forks for every partition. With the number of > > partitions incrased to 128 and relatively large memory usage (around > > 5GB) needed to WPA firefox this causes kernel to spend a lot of time > > probably by copying the page

Re: Add parameter to limit LTO streaming parallelism

2019-04-11 Thread Richard Biener
On Thu, 11 Apr 2019, Jan Hubicka wrote: > Hi, > the LTO streaming forks for every partition. With the number of > partitions incrased to 128 and relatively large memory usage (around > 5GB) needed to WPA firefox this causes kernel to spend a lot of time > probably by copying the page tables. > >

Add parameter to limit LTO streaming parallelism

2019-04-11 Thread Jan Hubicka
Hi, the LTO streaming forks for every partition. With the number of partitions incrased to 128 and relatively large memory usage (around 5GB) needed to WPA firefox this causes kernel to spend a lot of time probably by copying the page tables. This patch makes the streamer to for only lto_paralleli