lp:~laurynas-biveinis/percona-server/xtradb-preflush-backoff

Created by Laurynas Biveinis and last modified
Get this branch:
bzr branch lp:~laurynas-biveinis/percona-server/xtradb-preflush-backoff
Only Laurynas Biveinis can upload to this branch. If you are Laurynas Biveinis please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

453. By Laurynas Biveinis on 2013-10-03

Implement query thread waits at the sync preflush point, blueprint
https://blueprints.launchpad.net/percona-server/+spec/xtradb-preflush-backoff.

Whenever a query thread needs to perform a sync preflush to proceed,
two options are now available:
1) as previously, the query thread may issue a flush list batch itself
and wait for it to complete. This is also used whenever the page
cleaner thread is not running.
2) alternatively the query thread may wait until the flush list flush
is performed by the page cleaner thread. The wait is implemented by
maintaining a wait iteration counter, and a random duration sleep of up
to two to power of loop counter value is performed. To prevent
runaway sleeps, the counter is reset every 16 iterations.

The behavior is controlled by a new system variable
innodb_foreground_preflush with two possible values "sync_preflush"
and "exponential_backoff". Add a sys_vars test for this variable.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:percona-server/5.6
This branch contains Public information 
Everyone can see this information.