From: Ian Jackson Subject: Re: [PATCH OSSTEST] Allow longer timeout when creating backing file for a raw disk. Date: Fri, 15 Jan 2016 16:42:22 +0000 Message-ID: <22169.8558.760540.46492@mariner.uk.xensource.com> References: <1452860638-1845-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1452860638-1845-1-git-send-email-ian.campbell@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[PATCH OSSTEST] Allow longer timeout when creating backing file for a raw disk."): > I noticed this dd timiung out when recommissioning the 3 cubietrucks > (picasso, metzinger, gleizes) but looking at the log shows this has > been happening on braque too. > > The current code assumes 65MB/s arriving at a timeout of 153s for the > 10G file. On arndale-* the logs indicate that it is achieving 95MB/s > and taking 105-107s which results in a warning but not a failure: > > execution took 105 seconds [**>153.846153846154/2**] > > In experiments on a local cubietruck I observed it achieving a much > lower throughput of 40MB/s, which seems to be consistent with what > others are seeing: > https://groups.google.com/forum/#!category-topic/cubieboard/troubleshooting/7R4HlCDNCTU > > Therefore calculate the timeout assuming a throughput of 20MB/s, in > practice for a 10GB file this will result in a 500s timeout. Acked-by: Ian Jackson