summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-12-16 20:01:41 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2020-12-16 20:01:41 +0200
commitaf1335c2d6c3f3d656e4227bc0c925c5f7051d7e (patch)
tree18d433aa21ebaa74b9e4eb61554533c25a5532d8
parent07e4b6b2766df4a4774b2887ce4e593069c60178 (diff)
downloadmariadb-git-af1335c2d6c3f3d656e4227bc0c925c5f7051d7e.tar.gz
Speed up mariabackup.xb_compressed_encrypted
With system mutexes, contention can be very expensive. Let us configure innodb_encryption_threads=1 to minimize contention. The actual work is being done in buf_flush_page_cleaner thread anyway.
-rw-r--r--mysql-test/suite/mariabackup/xb_compressed_encrypted.opt2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/suite/mariabackup/xb_compressed_encrypted.opt b/mysql-test/suite/mariabackup/xb_compressed_encrypted.opt
index 8baef973470..27b406346b3 100644
--- a/mysql-test/suite/mariabackup/xb_compressed_encrypted.opt
+++ b/mysql-test/suite/mariabackup/xb_compressed_encrypted.opt
@@ -1,5 +1,5 @@
--innodb-encryption-rotate-key-age=2
---innodb-encryption-threads=4
+--innodb-encryption-threads=1
--innodb-tablespaces-encryption
--plugin-load-add=$FILE_KEY_MANAGEMENT_SO
--loose-file-key-management