February 11

On Monday, 10 February 2025 at 12:17:42 UTC, FeepingCreature wrote:

>

NEW GC NEW GC NEW GC! I tried it on an internal service that's been known as a bit of a memory hog.

Not as fast as the current one right now as far as I can see. A memory heavy test workload seems about 2x slower.

But tbh I'll take that because:

Stock LDC based service after a memory hungry operation: 2952MB res
SDC/Symmetry GC after the same operation: 907MB res

That's genuinely amazing to me. Very excited for how this thing will run with a bit more opt.

Correction: after more testing this seems to be almost entirely due to use of --link-defaultlib-shared. The new GC seems about as fast as the old one given the same flags.

February 18

On Tuesday, 11 February 2025 at 16:30:57 UTC, FeepingCreature wrote:

>

On Monday, 10 February 2025 at 12:17:42 UTC, FeepingCreature wrote:

>

NEW GC NEW GC NEW GC! I tried it on an internal service that's been known as a bit of a memory hog.

Not as fast as the current one right now as far as I can see. A memory heavy test workload seems about 2x slower.

But tbh I'll take that because:

Stock LDC based service after a memory hungry operation: 2952MB res
SDC/Symmetry GC after the same operation: 907MB res

That's genuinely amazing to me. Very excited for how this thing will run with a bit more opt.

Correction: after more testing this seems to be almost entirely due to use of --link-defaultlib-shared. The new GC seems about as fast as the old one given the same flags.

On Tuesday, 11 February 2025 at 16:30:57 UTC, FeepingCreature wrote:

>

On Monday, 10 February 2025 at 12:17:42 UTC, FeepingCreature wrote:

>

NEW GC NEW GC NEW GC! I tried it on an internal service that's been known as a bit of a memory hog.

Not as fast as the current one right now as far as I can see. A memory heavy test workload seems about 2x slower.

But tbh I'll take that because:

Stock LDC based service after a memory hungry operation: 2952MB res
SDC/Symmetry GC after the same operation: 907MB res

That's genuinely amazing to me. Very excited for how this thing will run with a bit more opt.

Correction: after more testing this seems to be almost entirely due to use of --link-defaultlib-shared. The new GC seems about as fast as the old one given the same flags.

That's fantastic news!

Have you tried the parallel mark? You should be able to by nto passing --DRT-gcopt=parallel:0. That being said, there are a few pitfalls remainign with that one, so we recomand not using it in prod at this stage. Nevertheless, having feedback about it would be nice, and if it works for you, it works for you.

Note that the problems you can experience with that won't be memory corruption and alike, but incompatibilities with libraries that start their own threads, this kind of things.

February 26

On Tuesday, 18 February 2025 at 16:40:11 UTC, deadalnix wrote:

>

On Tuesday, 11 February 2025 at 16:30:57 UTC, FeepingCreature wrote:

>

Correction: after more testing this seems to be almost entirely due to use of --link-defaultlib-shared. The new GC seems about as fast as the old one given the same flags.

That's fantastic news!

Have you tried the parallel mark? You should be able to by nto passing --DRT-gcopt=parallel:0. That being said, there are a few pitfalls remainign with that one, so we recomand not using it in prod at this stage. Nevertheless, having feedback about it would be nice, and if it works for you, it works for you.

Note that the problems you can experience with that won't be memory corruption and alike, but incompatibilities with libraries that start their own threads, this kind of things.

I was never passing that in the first place, so. But okay, I actually benched instead of vibing and here's some numbers: we have an internal testcase that's very heavily GC loaded, a program that jumps up from 0 to 3GB during startup as it reads two gigs of xml. And if I switch from 2.108 stock to NewGC with parallel, the time taken to read and decode that big blob of xml goes from 48 seconds to 14 seconds.

So, you know, not too shabby.

(GIV GC PLS, I want it--!)

1 2
Next ›   Last »