Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2009 00:59:48 +0100
From:      "Daan Vreeken [PA4DAN]" <Danovitsch@vitsch.net>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: 3x read to write ratio on dump/restore
Message-ID:  <200901100059.48906.Danovitsch@vitsch.net>
In-Reply-To: <20090109.095027.-1672857892.imp@bsdimp.com>
References:  <20090109.095027.-1672857892.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Warner,

On Friday 09 January 2009 17:50:27 M. Warner Losh wrote:
> I just copied a disk using dump + restore.  I noticed something
> through the whole run of this 500GB operation:
>
>  L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w   %busy Name
>     3    231    231  14754    9.5      0      0    0.0   97.5| da1s1a
>     0     39      0      0    0.0     39   4982   10.0   38.7| da2s1a
>
> The read kBps was 3x the write kBps.  While the dump is going through
> the raw device, and the restore is going through the file system, I
> can't imagine why we'd have such a huge difference that would be utter
> consistent for the whole 15 hour run.
>
> Any ideas what gives?  I observed this with 16MB cache and with 32MB
> cache, fwiw.

I've noticed this too. Last week I upgraded a laptop harddisk and used dump + 
restore to copy files from the original harddisk (attached to the laptop 
using a USB bracket).
During the entire copy process I also saw about a 3x difference.


-- 
Daan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901100059.48906.Danovitsch>