forked from facebook/mysql-5.6
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stabilizing test innodb.innodb-buffer-pool-resize for Valgrind build
Summary: Occasionally this test fails with Valgrind build (only). Buffer pool resizing contains large amount of heavy memory operations, this makes the test runs very slowly with Valgrind build, during which buffer pages get I/O fixed or buffer fixed for longer time, especially in this test the buffer pool is small and the data is relatively large, which introduces higher chance that resizing operation fails to find enough collectable memory in time. This diff increases both the original buffer size and the resize target to make it easier to collect buffer pool blocks for Valgrind build. Same changes also are applied to test innodb.innodb-buffer-pool-resize-compressed since these two tests share the same testing code. Test Plan: MTR Reviewers: tianx Reviewed By: tianx Subscribers: webscalesql-eng Differential Revision: https://reviews.facebook.net/D54345
- Loading branch information
Showing
5 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
mysql-test/suite/innodb/t/innodb-buffer-pool-resize-compressed-master.opt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
--innodb-buffer-pool-size=16M | ||
--innodb-buffer-pool-size=64M | ||
--innodb-buffer-pool-chunk-size=2M | ||
--innodb-buffer-pool-resizing-timeout=60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
--innodb-buffer-pool-size=16M | ||
--innodb-buffer-pool-size=64M | ||
--innodb-buffer-pool-chunk-size=2M | ||
--innodb-buffer-pool-resizing-timeout=60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters