Skip to content
  • Vladimír Čunát's avatar
    b983c77d
    tests: fine tune integration test for GC · b983c77d
    Vladimír Čunát authored and Petr Špaček's avatar Petr Špaček committed
    TL;DR: tune the test - now it works quite reliably for me,
    though it's perhaps not nice.
    
    With 1 MiB cache it's not easy to avoid overflows, as the defaults are
    meant for much larger sizes.  Normal GC target is to decrease usage
    by 10% when above 80% in 100 records per transaction.  That just won't
    work reliable due to 10% being only 25 pages.
    
    This commit makes the test run GC with more suitable tuning and
    frequently pauses kresd to give GC better chance to catch up.
    b983c77d
    tests: fine tune integration test for GC
    Vladimír Čunát authored and Petr Špaček's avatar Petr Špaček committed
    TL;DR: tune the test - now it works quite reliably for me,
    though it's perhaps not nice.
    
    With 1 MiB cache it's not easy to avoid overflows, as the defaults are
    meant for much larger sizes.  Normal GC target is to decrease usage
    by 10% when above 80% in 100 records per transaction.  That just won't
    work reliable due to 10% being only 25 pages.
    
    This commit makes the test run GC with more suitable tuning and
    frequently pauses kresd to give GC better chance to catch up.
Loading