Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6BDD111BB for ; Thu, 14 Aug 2014 07:51:32 +0000 (UTC) Received: (qmail 54438 invoked by uid 500); 14 Aug 2014 07:51:32 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 54390 invoked by uid 500); 14 Aug 2014 07:51:32 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 54374 invoked by uid 99); 14 Aug 2014 07:51:31 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Aug 2014 07:51:31 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 889411D9D5E; Thu, 14 Aug 2014 07:51:31 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============8613435051633687506==" MIME-Version: 1.0 Subject: Review Request 24692: CLOUDSTACK-7345 patch to change dd command from 4M to 128k when using NFS From: "Brenn Oosterbaan" To: "daan Hoogland" , "Joris van Lieshout" , "Sanjay Tripathi" Cc: "cloudstack" , "Brenn Oosterbaan" Date: Thu, 14 Aug 2014 07:51:31 -0000 Message-ID: <20140814075131.5174.14515@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Brenn Oosterbaan" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/24692/ X-Sender: "Brenn Oosterbaan" Reply-To: "Brenn Oosterbaan" X-ReviewRequest-Repository: cloudstack-git --===============8613435051633687506== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/24692/ ----------------------------------------------------------- Review request for cloudstack, daan Hoogland, Joris van Lieshout, and Sanjay Tripathi. Bugs: CLOUDSTACK-7345 https://issues.apache.org/jira/browse/CLOUDSTACK-7345 Repository: cloudstack-git Description ------- CLOUDSTACK-7345 patch to change dd command from 4M to 128k when using NFS Diffs ----- scripts/vm/hypervisor/xenserver/vmopsSnapshot 85444dc Diff: https://reviews.apache.org/r/24692/diff/ Testing ------- Starting multiple dd commands with bs=4M on a single hypervisor causes nfs server timed out messages in /var/log/kern.log and causes the dd process to crash. With bs=4M NFS debugging shows 64 seperate 64k reads are done, after which the inode is updated 64 times (access time) and 32 128k writes are done to secondary storage. NFS debugging showed the 'nfs server timed out' messages usually occured during the 64 inode updates (of the same file) from the read process. Running multiple dd commands with bs=128k on a single hypervisor does not cause nfs server timed out messages in /var/log/kern.log. With bs=128k NFS debugging shows 2 seperate 64k reads are done (and indoe updates) and 1 128k write is done. We are running this change in production. The nfs server timed out messages are gone and not a single snapshot process has broken (previosuly this happened every night). Thanks, Brenn Oosterbaan --===============8613435051633687506==--