<?xml version="1.0" encoding="utf-8"?>
<launchpad-bug id="725596">
  <date_last_updated>2011-06-29 07:12:37.410156+00:00</date_last_updated>
  <api_links>
    <bug_api_link>https://api.launchpad.net/1.0/bugs/725596</bug_api_link>
    <bug_owner_link>https://api.launchpad.net/1.0/~pstoev-askmonty</bug_owner_link>
    <milestone_link>https://api.launchpad.net/1.0/maria/+milestone/5.1</milestone_link>
    <linked_branches_collection_link>https://api.launchpad.net/1.0/bugs/725596/linked_branches</linked_branches_collection_link>
    <activity_link>https://api.launchpad.net/1.0/bugs/725596/activity</activity_link>
  </api_links>
  <bug_web_link>https://bugs.launchpad.net/bugs/725596</bug_web_link>
  <owner>Philip Stoev</owner>
  <assignee>Michael Widenius</assignee>
  <milestone_title>Maria 5.1</milestone_title>
  <duplicate_link></duplicate_link>
  <duplicate_bug_id></duplicate_bug_id>
  <title>Aria engine does not start with --maria-pagecache-buffer-size=128K --maria-block-size={16K,32K}</title>
  <status>Won't Fix</status>
  <importance>Wishlist</importance>
  <created>2011-02-26 15:41:36.285975+00:00</created>
  <description>
<![CDATA[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.]]>  </description>
  <activities>
    <activity datechanged="2011-02-26T15:41:36.285975+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[]]>      </newvalue>
      <whatchanged>bug</whatchanged>
      <person>Philip Stoev</person>
      <message>added bug</message>
    </activity>
    <activity datechanged="2011-02-26T15:42:04.124063+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[5.1]]>      </newvalue>
      <whatchanged>maria: milestone</whatchanged>
      <person>Philip Stoev</person>
      <message></message>
    </activity>
    <activity datechanged="2011-02-26T15:42:09.638940+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[Michael Widenius (monty)]]>      </newvalue>
      <whatchanged>maria: assignee</whatchanged>
      <person>Philip Stoev</person>
      <message></message>
    </activity>
    <activity datechanged="2011-06-29T07:12:33.483297+00:00">
      <oldvalue>
<![CDATA[Undecided]]>      </oldvalue>
      <newvalue>
<![CDATA[Wishlist]]>      </newvalue>
      <whatchanged>maria: importance</whatchanged>
      <person>Michael Widenius</person>
      <message></message>
    </activity>
    <activity datechanged="2011-06-29T07:12:36.747594+00:00">
      <oldvalue>
<![CDATA[New]]>      </oldvalue>
      <newvalue>
<![CDATA[Won't Fix]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Michael Widenius</person>
      <message></message>
    </activity>
  </activities>
  <comments>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/725596/comments/1" datecreated="2011-02-26T15:44:07.235086+00:00">
      <person>Philip Stoev</person>
      <subject>
<![CDATA[Re: Aria engine does not start with --maria-pagecache-buffer-size=128K --maria-block-size={16K,32K}]]>      </subject>
      <content>
<![CDATA[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.]]>      </content>
    </comment>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/725596/comments/2" datecreated="2011-06-29T07:12:18.242043+00:00">
      <person>Michael Widenius</person>
      <subject>
<![CDATA[Re: Aria engine does not start with --maria-pagecache-buffer-size=128K --maria-block-size={16K,32K}]]>      </subject>
      <content>
<![CDATA[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
]]>      </content>
    </comment>
  </comments>
</launchpad-bug>
