[MDEV-3780] LP:725596 - Aria engine does not start with --maria-pagecache-buffer-size=128K --maria-block-size={16K,32K} Created: 2011-02-26  Updated: 2012-10-04  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Philip Stoev (Inactive) Assignee: Michael Widenius
Resolution: Won't Fix Votes: 0
Labels: Launchpad, MariaDB_5.1

Attachments: XML File LPexportBug725596.xml    

 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.



 Comments   
Comment by Philip Stoev (Inactive) [ 2011-02-26 ]

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.

Comment by Michael Widenius [ 2011-06-29 ]

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

Comment by Rasmus Johansson (Inactive) [ 2011-06-29 ]

Launchpad bug id: 725596

Generated at Thu Feb 08 06:51:09 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.