sgen is getting ready for production
Last week I was running some tests together with Mark Probst on our test cluster using Plastic SCM and the new sgen garbage collector.The load test consists on the following:
So, we run 85 clients on 85 different machines against one single Plastic SCM server running MySql on Linux and using Mono + sgen.
The results are: sgen, right now is only 15% slower than Boehm.
As you can see time gets better when you increase nursery size, but what's extremely better is overall memory usage: first VM peak mem is much lower and at the end of the test we checked how RES mem is also much, much lower. During the test memory consumption is also lower and you can see how sgen frees virtual memory (something you'll never see with Boehm, and ends up being a big problem).
version (85 concurrent clients) | time (sec) | Peak VM(Gb) | RES and GC (final) |
boehm gc | 494 | 2.4 | 600 |
MONO_GC_PARAMS=nursery-size=4m | 1007 | 0.7 | 200 |
MONO_GC_PARAMS=nursery-size=16m | 640 | 0.8 | 200 |
MONO_GC_PARAMS=nursery-size=32m | 589 | 0.9 | 200 |
MONO_GC_PARAMS=nursery-size=256m | 568 | 1.1 | 200 |
9 comentarios: