diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2018-06-28 10:42:56 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2018-06-28 17:18:16 +0000 |
commit | 25c1c6e9a2aebd1d5bd96b9b67cf9f7dbaa5bb9e (patch) | |
tree | f37a49760fc57c6f4c997f6ceb8720f0536488c5 /extras | |
parent | 762ed20a50aea81dcc905c511cc836ea2ea3a1c3 (diff) |
extras/group : add database workload profile
Running DB workload patterns with all perf xlators enabled as default has
resulted into some inconsistency issues. Based on the internal testing done by
Elko Kuric (ekuric@redhat.com) there're certain set of perf xlators which need
to be turned off to get these types of workload supported by Gluster.
The proposal is to leverage group profile infrastructure to group together all
those tunables at one place so that users just need to apply the profile to the
volume to use it for the data base workload.
Credits : Elko Kuric (ekuric@redhat.com)
Change-Id: I8a50e915278ad4085b9aaa3f160a33af7c0b0444
fixes: bz#1596020
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'extras')
-rw-r--r-- | extras/Makefile.am | 23 | ||||
-rw-r--r-- | extras/group-db-workload | 8 |
2 files changed, 22 insertions, 9 deletions
diff --git a/extras/Makefile.am b/extras/Makefile.am index e827dde0bd9..a1c657659f3 100644 --- a/extras/Makefile.am +++ b/extras/Makefile.am @@ -16,7 +16,9 @@ SUBDIRS = init.d systemd benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM \ confdir = $(sysconfdir)/glusterfs if WITH_SERVER conf_DATA = glusterfs-logrotate gluster-rsyslog-7.2.conf gluster-rsyslog-5.8.conf \ - logger.conf.example glusterfs-georep-logrotate group-virt.example group-metadata-cache group-gluster-block group-nl-cache + logger.conf.example glusterfs-georep-logrotate group-virt.example \ + group-metadata-cache group-gluster-block group-nl-cache \ + group-db-workload endif voldir = $(sysconfdir)/glusterfs @@ -37,14 +39,15 @@ endif EXTRA_DIST = glusterfs-logrotate gluster-rsyslog-7.2.conf gluster-rsyslog-5.8.conf \ logger.conf.example glusterfs-georep-logrotate group-virt.example \ - group-metadata-cache group-gluster-block group-nl-cache specgen.scm \ - glusterfs-mode.el glusterfs.vim migrate-unify-to-distribute.sh \ - backend-xattr-sanitize.sh backend-cleanup.sh disk_usage_sync.sh \ - clear_xattrs.sh glusterd-sysconfig glusterd.vol \ - post-upgrade-script-for-quota.sh pre-upgrade-script-for-quota.sh \ - command-completion/gluster.bash command-completion/Makefile \ - command-completion/README stop-all-gluster-processes.sh clang-checker.sh \ - mount-shared-storage.sh control-cpu-load.sh control-mem.sh + group-metadata-cache group-gluster-block group-nl-cache \ + group-db-workload specgen.scm glusterfs-mode.el glusterfs.vim \ + migrate-unify-to-distribute.sh backend-xattr-sanitize.sh \ + backend-cleanup.sh disk_usage_sync.sh clear_xattrs.sh \ + glusterd-sysconfig glusterd.vol post-upgrade-script-for-quota.sh \ + pre-upgrade-script-for-quota.sh command-completion/gluster.bash \ + command-completion/Makefile command-completion/README \ + stop-all-gluster-processes.sh clang-checker.sh mount-shared-storage.sh \ + control-cpu-load.sh control-mem.sh if WITH_SERVER install-data-local: @@ -62,4 +65,6 @@ install-data-local: $(DESTDIR)$(GLUSTERD_WORKDIR)/groups/gluster-block $(INSTALL_DATA) $(top_srcdir)/extras/group-nl-cache \ $(DESTDIR)$(GLUSTERD_WORKDIR)/groups/nl-cache + $(INSTALL_DATA) $(top_srcdir)/extras/group-db-workload \ + $(DESTDIR)$(GLUSTERD_WORKDIR)/groups/db-workload endif diff --git a/extras/group-db-workload b/extras/group-db-workload new file mode 100644 index 00000000000..c9caf218268 --- /dev/null +++ b/extras/group-db-workload @@ -0,0 +1,8 @@ +performance.open-behind=off +performance.write-behind=off +performance.stat-prefetch=off +performance.quick-read=off +performance.strict-o-direct=on +performance.read-ahead=off +performance.io-cache=off +performance.readdir-ahead=off |