From owner-freebsd-stable@FreeBSD.ORG Sat Oct 2 02:58:47 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08634106564A for ; Sat, 2 Oct 2010 02:58:46 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 569AF8FC12 for ; Sat, 2 Oct 2010 02:58:45 +0000 (UTC) Received: by wwb17 with SMTP id 17so4846335wwb.31 for ; Fri, 01 Oct 2010 19:58:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=BppFsgJFemV+PdKx6XgHtVK2PQVePkDmXWzKd6ySCYg=; b=oNQf4sYR6JrK6OxCwBjV+sNm+OCMMeI+0Uk/wH96ct0us34wQEdVDC6lfh1ZhyC/2R SFV1agR1X4QkUNBU2B0qqHw4YuzdJ1AnpRWMj9LXiOL14l9kU0we8xXYwKNBfCucAArd hiUBcVI8ofdHt/SJYTJYJPHkWCWP2moZYl4Bk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LRBy0pMJL6cep05z5B4d309gqDa/mjXZQsSMrqvQCJ0LLJ5cWUL9mLMJxCmTUOCZj4 fHDxbHJ3sKn7KjHkaZV0uUamgmz8JO3BqaVvvB6FBQihs6RZ76dsH0iAel1u4FXbivEH 2PAhNoR8aLkLF3W66tGCxbNPUPJarKecHuzvA= MIME-Version: 1.0 Received: by 10.216.23.206 with SMTP id v56mr2798831wev.67.1285986684347; Fri, 01 Oct 2010 19:31:24 -0700 (PDT) Received: by 10.216.133.133 with HTTP; Fri, 1 Oct 2010 19:31:24 -0700 (PDT) In-Reply-To: References: <45cfd27021fb93f9b0877a1596089776.squirrel@nyi.unixathome.org> <4C511EF8-591C-4BB9-B7AA-30D5C3DDC0FF@langille.org> <4CA68BBD.6060601@langille.org> Date: Fri, 1 Oct 2010 21:31:24 -0500 Message-ID: From: Brandon Gooch To: Artem Belevich Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable , Dan Langille Subject: Re: zfs send/receive: is this slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 02:58:47 -0000 On Fri, Oct 1, 2010 at 8:43 PM, Artem Belevich wrote: >> As soon as I opened this email I knew what it would say. >> >> >> # time zfs send storage/bacula@transfer | mbuffer | zfs receive >> storage/compressed/bacula-mbuffer >> in @ =A0197 MB/s, out @ =A0205 MB/s, 1749 MB total, buffer =A0 0% full > ... >> Big difference. =A0:) > > I'm glad it helped. > > Does anyone know why sending/receiving stuff via loopback is so much > slower compared to pipe? This may shed some light on that topic: http://lists.freebsd.org/pipermail/freebsd-current/2010-September/019877.ht= ml