* [Cluster-devel] [DLM PATCH] DLM: Don't specify WQ_UNBOUND for the ast callback workqueue
[not found] <1951132277.9546523.1476891232291.JavaMail.zimbra@redhat.com>
@ 2016-10-19 15:34 ` Bob Peterson
2016-10-19 16:14 ` David Teigland
0 siblings, 1 reply; 2+ messages in thread
From: Bob Peterson @ 2016-10-19 15:34 UTC (permalink / raw)
To: cluster-devel.redhat.com
Hi,
This patch removes the WQ_UNBOUND flag (which implies WQ_HIGHPRI)
from the DLM's ast work queue, in favor of just WQ_HIGHPRI.
This has been shown to cause a 19 percent performance increase for
simultaneous inode creates on GFS2 with fs_mark.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
---
diff --git a/fs/dlm/ast.c b/fs/dlm/ast.c
index dcea1e3..07fed83 100644
--- a/fs/dlm/ast.c
+++ b/fs/dlm/ast.c
@@ -268,7 +268,7 @@ void dlm_callback_work(struct work_struct *work)
int dlm_callback_start(struct dlm_ls *ls)
{
ls->ls_callback_wq = alloc_workqueue("dlm_callback",
- WQ_UNBOUND | WQ_MEM_RECLAIM, 0);
+ WQ_HIGHPRI | WQ_MEM_RECLAIM, 0);
if (!ls->ls_callback_wq) {
log_print("can't start dlm_callback workqueue");
return -ENOMEM;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Cluster-devel] [DLM PATCH] DLM: Don't specify WQ_UNBOUND for the ast callback workqueue
2016-10-19 15:34 ` [Cluster-devel] [DLM PATCH] DLM: Don't specify WQ_UNBOUND for the ast callback workqueue Bob Peterson
@ 2016-10-19 16:14 ` David Teigland
0 siblings, 0 replies; 2+ messages in thread
From: David Teigland @ 2016-10-19 16:14 UTC (permalink / raw)
To: cluster-devel.redhat.com
On Wed, Oct 19, 2016 at 11:34:54AM -0400, Bob Peterson wrote:
> Hi,
>
> This patch removes the WQ_UNBOUND flag (which implies WQ_HIGHPRI)
> from the DLM's ast work queue, in favor of just WQ_HIGHPRI.
> This has been shown to cause a 19 percent performance increase for
> simultaneous inode creates on GFS2 with fs_mark.
I've pushed this and the other two to the next branch.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-19 16:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1951132277.9546523.1476891232291.JavaMail.zimbra@redhat.com>
2016-10-19 15:34 ` [Cluster-devel] [DLM PATCH] DLM: Don't specify WQ_UNBOUND for the ast callback workqueue Bob Peterson
2016-10-19 16:14 ` David Teigland
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.