This recently came up again. It seems that `+RTS -h -i0` will just turn
every minor collection into a major one:
https://gitlab.haskell.org/ghc/ghc/issues/17387#note_248705
`-i0` seems significantly different from `-i0.001`, say, in that it just
turns minor GCs into major ones and doesn't introduce
https://phabricator.haskell.org/D5428
On Sun, 9 Dec 2018 at 10:12, Sebastian Graf wrote:
> Ah, I was only looking at `+RTS --help`, not the users guide. Silly me.
>
> Am Do., 6. Dez. 2018 um 20:53 Uhr schrieb Simon Marlow >:
>
>> It is documented!
>> https://downloads.haskell.org/~ghc/latest/d
Ah, I was only looking at `+RTS --help`, not the users guide. Silly me.
Am Do., 6. Dez. 2018 um 20:53 Uhr schrieb Simon Marlow :
> It is documented!
> https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/runtime_control.html#rts-flag--F%20%E2%9F%A8factor%E2%9F%A9
>
> On Thu, 6 Dec 2018
It is documented!
https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/runtime_control.html#rts-flag--F%20%E2%9F%A8factor%E2%9F%A9
On Thu, 6 Dec 2018 at 16:21, Sebastian Graf wrote:
> Hey,
>
> thanks, all! Measuring with `-A1M -F1` delivers much more reliable
> residency numbers.
> `-
Hey,
thanks, all! Measuring with `-A1M -F1` delivers much more reliable
residency numbers.
`-F` doesn't seem to be documented. From reading `rts/RtsFlags.c` and
`rts/sm/GC.c` I gather that it's the factor by which to multiply the number
of live bytes by to get the new old gen size?
So effectively,
| Right. A parameter for fixing the nursery size would be easy to implement,
| I think. Just a new flag, then in GC.c:resize_nursery() use the flag as the
| nursery size.
Super! That would be v useful.
| "Max. residency" is really hard to measure (need to do very frequent GCs),
| perhaps a
On Thu, 6 Dec 2018 at 11:15, Ömer Sinan Ağacan wrote:
> Hi,
>
> > I think what we want is a way to trigger GC at very regular intervals,
> after
> > (say) each 10kbytes or 100kbytes or 1Mbyte of allocation. That might
> be
> > expensive, but we’d get reproducible results.
>
> If we could fix
Hi,
> I think what we want is a way to trigger GC at very regular intervals, after
> (say) each 10kbytes or 100kbytes or 1Mbyte of allocation. That might be
> expensive, but we’d get reproducible results.
If we could fix the nursery size to 10kb that'd trigger a GC in every 10kb of
allocation