From owner-freebsd-performance@FreeBSD.ORG Sun Jun 5 06:38:50 2005 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 161EC16A41C for ; Sun, 5 Jun 2005 06:38:50 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2C9443D1F for ; Sun, 5 Jun 2005 06:38:49 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from glenn-mobile.antimatter.net (cpe-66-27-86-22.san.res.rr.com [66.27.86.22]) (authenticated bits=0) by cobalt.antimatter.net (8.13.4/8.13.4) with ESMTP id j556clDj027090 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO); Sat, 4 Jun 2005 23:38:48 -0700 Message-Id: <6.1.0.6.2.20050604230636.01bf68c0@cobalt.antimatter.net> X-Sender: glenn@cobalt.antimatter.net X-Mailer: QUALCOMM Windows Eudora Version 6.1.0.6 Date: Sat, 04 Jun 2005 23:37:30 -0700 To: freebsd-performance@freebsd.org From: Glenn Dawson Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Mailman-Approved-At: Sun, 05 Jun 2005 12:15:32 +0000 Subject: vn(4) performance on 4.11 versus md(4) on 5.4 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2005 06:38:50 -0000 I have a number of systems running 4.11 that have file backed virtual disks, each of which contains a jail. I need to start using 5.4 for new servers. The catch is, file backed virtual disks using md(4) seem to be much slower than similar virtual disks on 4.11 using vn(4). vn(4) on 4.11 is about 2.24 times faster than the equivalent setup using md(4) on 5.4. I've posted the results of some tests that I ran at http://www.antimatter.net/md-versus-vn.txt Is this decrease in performance known? Is there something I can do in order to come close to the performance that 4.11 has? I've tried changing some of the parameters of the filesystem on the virtual disk, but the performance didn't change. I can supply more info than what the link above has, if needed. If I should post this to another list please let me know. (I started here in order to avoid cross posting. -Glenn From owner-freebsd-performance@FreeBSD.ORG Fri Jun 10 15:09:16 2005 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D16F416A41C for ; Fri, 10 Jun 2005 15:09:16 +0000 (GMT) (envelope-from scuba@centroin.com.br) Received: from gorgo.centroin.com.br (gorgo.centroin.com.br [200.225.63.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 421F243D1F for ; Fri, 10 Jun 2005 15:09:15 +0000 (GMT) (envelope-from scuba@centroin.com.br) Received: from hypselo.centroin.com.br (hypselo.centroin.com.br [200.225.63.1]) by gorgo.centroin.com.br (8.12.10/8.12.9) with ESMTP id j5AF9Awq010204; Fri, 10 Jun 2005 12:09:11 -0300 (EST) Date: Fri, 10 Jun 2005 12:09:10 -0300 (EST) From: Sender: To: Glenn Dawson In-Reply-To: <6.1.0.6.2.20050604230636.01bf68c0@cobalt.antimatter.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: freebsd-performance@freebsd.org Subject: Re: vn(4) performance on 4.11 versus md(4) on 5.4 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2005 15:09:16 -0000 Hi Glenn, =09Have already fixed that problem? =09Your tests were on the same hardware? =09I=B4ve tested two of my boxes one with, FBSD 4.9 and another with the latest cvs 5.4. =09They=B4re not the same hardware but the performance with md drive was MUCH faster with 5.4. =09TEsted with 'dd': =094.9: dd if=3D/dev/zero of=3DTESTE count=3D1000 bs=3D64k 1000+0 records in 1000+0 records out 65536000 bytes transferred in 1.005721 secs (65163195 bytes/sec) =095.4: dd if=3D/dev/zero of=3DTESTE count=3D1000 bs=3D64k 1000+0 records in 1000+0 records out 65536000 bytes transferred in 0.241217 secs (271688824 bytes/sec) - Marcelo Souza On Sat, 4 Jun 2005, Glenn Dawson wrote: | | | |I have a number of systems running 4.11 that have file backed virtual |disks, each of which contains a jail. I need to start using 5.4 for new |servers. The catch is, file backed virtual disks using md(4) seem to be |much slower than similar virtual disks on 4.11 using vn(4). vn(4) on 4.11 |is about 2.24 times faster than the equivalent setup using md(4) on 5.4. | |I've posted the results of some tests that I ran at |http://www.antimatter.net/md-versus-vn.txt | |Is this decrease in performance known? Is there something I can do in |order to come close to the performance that 4.11 has? I've tried changing |some of the parameters of the filesystem on the virtual disk, but the |performance didn't change. | |I can supply more info than what the link above has, if needed. |If I should post this to another list please let me know. (I started here |in order to avoid cross posting. | |-Glenn | |_______________________________________________ |freebsd-performance@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-performance |To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.= org" | - Marcelo