Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-102

mysql-test-run runs too slow and/or consumes too much disk space and memory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.20
    • Fix Version/s: 5.5.20
    • Component/s: None
    • Labels:

      Description

      mysql-test-run consumes much more resources in 5.5 compared to 5.3.

      In 5.3 I was able to run the entire test suite (with --mem --parallel=10) in around 6 minutes on a machine with 8GB of memory. 3 min for a release build.

      In 5.5 it takes much longer. And worse, we see failures on hosts due to consuming too much resource. Eg. the DGCov builder in buildbot ran out of memory just using --mem --parallel=2, with 3GB of memory available.

      It still needs to be quantified more precisely what the problems are. Possibilities include

      • Writing too large files in mysql-test/var/, overflowing memory
      • safemalloc overhead
      • unit tests being included in mtr (f.ex. some of the aria unit tests consume huge amount of resources)
      • something else entirely

        Attachments

          Activity

            People

            Assignee:
            sanja Oleksandr Byelkin
            Reporter:
            knielsen Kristian Nielsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: