From owner-freebsd-current@FreeBSD.ORG Mon Apr 16 22:46:53 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B48F16A402 for ; Mon, 16 Apr 2007 22:46:53 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id D50B013C458 for ; Mon, 16 Apr 2007 22:46:52 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so11930ugh for ; Mon, 16 Apr 2007 15:46:51 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dpEeCe8peQp44BDg7dusWrFacvs1Tbo3LbEFZPV7DVDh7JsCHxyggQ2bagwaiDyEW7f7X/YFNAffQEnpKJg6ynxva5S52y5AnlpAROATh2mmen7nUMiWZJfbz8QtVN1ulBv3TGLlDCOmL89mNumbZZCCVUxGkS2kXo2MFP++hwM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=r6APVuZdDryZ8BNnvrEw4FeqPOpTYe20qBzfYs32FREr+UzCcy/YulFvRXmeemFREoZWHwfcF5d8ZdEmQDVRgI9n8CnLG3j4K4nJXg8eywdxZQ4dVGsAizFMBoEVEP4fIty+EeBUVaLfmKP3Bvr1aKlFGbCZjnQmOTqwJ4tlZRw= Received: by 10.78.158.11 with SMTP id g11mr1189572hue.1176763611422; Mon, 16 Apr 2007 15:46:51 -0700 (PDT) Received: by 10.78.188.9 with HTTP; Mon, 16 Apr 2007 15:46:51 -0700 (PDT) Message-ID: <70e8236f0704161546h4d6f5c1y6c7402bc779e548@mail.gmail.com> Date: Mon, 16 Apr 2007 23:46:51 +0100 From: "Joao Barros" To: "Joerg t" In-Reply-To: <804570.45403.qm@web63712.mail.re1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <804570.45403.qm@web63712.mail.re1.yahoo.com> Cc: Thomas Sparrevohn , freebsd-current@freebsd.org Subject: Re: Some comments on ZFS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 22:46:53 -0000 On 4/16/07, Joerg t wrote: > > My system shows significant worse performance with ZFS - I suspect that this > > is because the devices are part of a ATAPI-RAID 0 already > > > but here is the story - A > > > UFS + Softupdates - > > > make -j 4 buildworld - app. 24 Min (Debugging kernel) > > > ZFS same command but with usr/obj on ZFS > > > make -j 4 buildworld - app. 1h12m > > > The weird thing is that one sees some fantastic peak transfer numbers e.g. > > up to 112MB/s - Compression is off > > I'm also seeing a very odd behavior regarding memory consumption, > with src and obj under zfs (different filesystems, same pool, compression off) the system begin to wire all memory and swap tops 1GB. Maybe there's something trashing memory on zfs ? > > this is a 1GB pentium 4 HT enabled box. > building a debug enabled kernel to help figure things out. > UFS with SoftUpdates on a ad0 ATA/ATAPI revision 6 20GB make buildkernel : 23.5 mins ZFS with compresson=gzip on 4x 320GB SATA RAIDZ make buildkernel: 27.5 mins systat -vm output after making the kernel on the ZFS volume: Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 21884 2928 91768 4968 818472 count All 189320 4484 2230492 8592 pages This is on: FreeBSD 7.0-CURRENT #5: Tue Apr 10 00:06:35 WEST 2007 root@xeon.bsdtech.org:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. acpi_alloc_wakeup_handler: can't alloc wake memory ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3073.65-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Features2=0x4400 Logical CPUs per core: 2 real memory = 1072562176 (1022 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 With HTT enabled -- Joao Barros