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

LP:725596 - Aria engine does not start with --maria-pagecache-buffer-size=128K --maria-block-size={16K,32K}

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Fix Version/s: None
    • Component/s: None

      Description

      The Aria engine does not start with --maria-pagecache-buffer-size=128K --maria-block-size=

      {16K,32K}

      . This prevents this particular combination of values (low page cache, large pages) to be tested.

      To repeat:

      MTR_VERSION=1 perl mysql-test-run.pl -mysqld=maria-pagecache-buffer-size=128K --start-and-exit 1st --mysqld=-maria-block-size=16K

      the error log says:

      110226 18:38:40 [ERROR] mysqld: Not enough memory to allocate 8 pagecache pages
      110226 18:38:40 [ERROR] Plugin 'MARIA' init function returned error.
      110226 18:38:40 [ERROR] Plugin 'MARIA' registration as a STORAGE ENGINE failed.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            philipstoev Philip Stoev added a comment -

            Re: Aria engine does not start with --maria-pagecache-buffer-size=128K --maria-block-size=

            {16K,32K}

            16K pages work with 256K cache
            32K pages work with 512K cache

            However, testing with 128K cache would produce a higher number of cache misses and disk I/O.

            Show
            philipstoev Philip Stoev added a comment - Re: Aria engine does not start with --maria-pagecache-buffer-size=128K --maria-block-size= {16K,32K} 16K pages work with 256K cache 32K pages work with 512K cache However, testing with 128K cache would produce a higher number of cache misses and disk I/O.
            Hide
            monty Michael Widenius added a comment -

            Re: Aria engine does not start with --maria-pagecache-buffer-size=128K --maria-block-size=

            {16K,32K}

            This is as expected. Aria needs at least 8 full blocks to work reliable. The reason that 128K is not enough is that some part of the page cache memory goes to managing the blocks.

            Fix: use --aria-block-size=16K --aria-pagecache-buffer-size=140K

            Show
            monty Michael Widenius added a comment - Re: Aria engine does not start with --maria-pagecache-buffer-size=128K --maria-block-size= {16K,32K} This is as expected. Aria needs at least 8 full blocks to work reliable. The reason that 128K is not enough is that some part of the page cache memory goes to managing the blocks. Fix: use --aria-block-size=16K --aria-pagecache-buffer-size=140K
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 725596

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 725596

              People

              • Assignee:
                monty Michael Widenius
                Reporter:
                philipstoev Philip Stoev
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: