<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 05/16/2017 11:13 PM, mabi wrote:<br>
</div>
<blockquote
cite="mid:GWtMTu5XONwcs2-nyC8IUUl2Su4qfWPNhg9qZ8Mqa_vNWR3N6XNaGZCGCCDQFQy3uxLKYPQmvtC778RbG7iYEfp3nKicGboSdpFaVIbqlAc=@protonmail.ch"
type="cite">
<div>Today I even saw up to 400k context switches for around 30
minutes on my two nodes replica... Does anyone else have so high
context switches on their GlusterFS nodes?<br>
</div>
<div><br>
</div>
<div>I am wondering what is "normal" and if I should be worried...<br>
</div>
<div><br>
</div>
<div class="protonmail_signature_block
protonmail_signature_block-empty">
<div class="protonmail_signature_block-user
protonmail_signature_block-empty">
<div><br>
</div>
</div>
<div class="protonmail_signature_block-proton
protonmail_signature_block-empty"><br>
</div>
</div>
<div><br>
</div>
<blockquote type="cite" class="protonmail_quote">
<div>-------- Original Message --------<br>
</div>
<div>Subject: 120k context switches on GlsuterFS nodes<br>
</div>
<div>Local Time: May 11, 2017 9:18 PM<br>
</div>
<div>UTC Time: May 11, 2017 7:18 PM<br>
</div>
<div>From: <a class="moz-txt-link-abbreviated" href="mailto:mabi@protonmail.ch">mabi@protonmail.ch</a><br>
</div>
<div>To: Gluster Users <a class="moz-txt-link-rfc2396E" href="mailto:gluster-users@gluster.org"><gluster-users@gluster.org></a><br>
</div>
<div><br>
</div>
<div>Hi,<br>
</div>
<div><br>
</div>
<div>Today I noticed that for around 50 minutes my two GlusterFS
3.8.11 nodes had a very high amount of context switches,
around 120k. Usually the average is more around 1k-2k. So I
checked what was happening and there where just more users
accessing (downloading) their files at the same time. These
are directories with typical cloud files, which means files of
any sizes ranging from a few kB to MB and a lot of course.<br>
</div>
<div><br>
</div>
<div>Now I never saw such a high number in context switches in
my entire life so I wanted to ask if this is normal or to be
expected? I do not find any signs of errors or warnings in any
log files.<br>
</div>
<div><br>
</div>
</blockquote>
</blockquote>
<div class="protonmail_signature_block
protonmail_signature_block-empty">
<div class="protonmail_signature_block-user
protonmail_signature_block-empty">
<div><br>
</div>
</div>
</div>
What context switch are you referring to (syscalls context-switch on
the bricks?) ? How did you measure this?<br>
-Ravi<br>
<blockquote
cite="mid:GWtMTu5XONwcs2-nyC8IUUl2Su4qfWPNhg9qZ8Mqa_vNWR3N6XNaGZCGCCDQFQy3uxLKYPQmvtC778RbG7iYEfp3nKicGboSdpFaVIbqlAc=@protonmail.ch"
type="cite">
<blockquote type="cite" class="protonmail_quote">
<div>My volume is a replicated volume on two nodes with ZFS as
filesystem behind and the volume is mounted using FUSE on the
client (the cloud server). On that cloud server the glusterfs
process was using quite a lot of system CPU but that server
(VM) only has 2 vCPUs so maybe I should increase the number of
vCPUs...<br>
</div>
<div><br>
</div>
<div>Any ideas or recommendations?<br>
</div>
<div><br>
</div>
<div class="protonmail_signature_block
protonmail_signature_block-empty">
<div class="protonmail_signature_block-user
protonmail_signature_block-empty">
<div><br>
</div>
</div>
<div class="protonmail_signature_block-proton
protonmail_signature_block-empty"><br>
</div>
</div>
<div>Regards,<br>
</div>
<div>M.<br>
</div>
</blockquote>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://lists.gluster.org/mailman/listinfo/gluster-users">http://lists.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<p><br>
</p>
</body>
</html>