• Marc Alff's avatar
    Bug#56528 Increased server footprint with MTR · 92c6d9fc
    Marc Alff authored
    With recent changes in the performance schema default sizing parameters,
    the memory used by a mysqld binary increased accordingly.
    
    This negatively affects the MTR test suite,
    because running several tests in parallel now consumes more ressources.
    
    The fix is to leave the default production values unchanged,
    and to configure the MTR environment to limit memory
    used when running tests in the test suite, which is ok
    because only a few objects are typically used within a test script.
    
    This fix:
    - changed the default configuration in MTR to use less memory
    - adjusted the performance schema tests accordingly
    
    Note that 1,000 mutex instances was too short and caused test failures
    in the past in team trees, so the default used is now 10,000 in MTR.
    
    The amount of memory used by the performance schema itself
    can be observed with the statement SHOW ENGINE PERFORMANCE_SCHEMA STATUS
    92c6d9fc
start_server_no_file_inst.result 2.75 KB