From owner-freebsd-current@FreeBSD.ORG Tue Oct 19 16:02:29 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73D1C16A4CE for ; Tue, 19 Oct 2004 16:02:29 +0000 (GMT) Received: from tierra2.ng.fadesa.es (tierra2.ng.fadesa.es [195.55.55.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D32F43D4C for ; Tue, 19 Oct 2004 16:02:28 +0000 (GMT) (envelope-from fandino@ng.fadesa.es) Received: from [195.55.55.163] ([195.55.55.163]) (authenticated bits=0) by tierra2.ng.fadesa.es (8.12.10/8.12.10) with ESMTP id i9JG2Oi3002114 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 19 Oct 2004 18:02:26 +0200 Message-ID: <41753A8F.4040809@ng.fadesa.es> Date: Tue, 19 Oct 2004 18:02:23 +0200 From: fandino User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: gl, en, es MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20041015190638.C5A0E5D04@ptavv.es.net> <41715E7F.7060509@ng.fadesa.es> <20041018100045.f8koww0skcco0woo@www.sweetdreamsracing.biz> <4173D66F.6010200@DeepCore.dk> <4173F2E9.7010407@ng.fadesa.es> <417406E3.9010706@DeepCore.dk> <4174FD04.8040000@ng.fadesa.es> <20041019104525.ikgw8kcw8sw480os@www.sweetdreamsracing.biz> In-Reply-To: <20041019104525.ikgw8kcw8sw480os@www.sweetdreamsracing.biz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: user fandino from 195.55.55.163 X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75c on tierra2 X-Virus-Status: Clean Subject: Re: FreeBSD 5.3b7and poor ata performance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fandino@ng.fadesa.es List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 16:02:29 -0000 Kenneth Culver wrote: >> # dd if=/dev/stripe/test of=/dev/null bs=1024k count=1024 >> 1073741824 bytes transferred in 30.072215 secs (35705445 bytes/sec) >> >> simply it doesn't makes any sense. With two disk I'd must have >> approx. 26K+26K=52 M/sec and with four 26K+26K+26K+26K=104 M/sec >> >> Other systems like OpenBSD had a good throughput 55000K/sec by disk > ar0: 228880MB [29178/255/63] status: READY subdisks: > disk0 READY on ad4 at ata2-master > disk1 READY on ad6 at ata3-master > > I get the following performance with dd: > > dd if=/dev/ad4 of=/dev/null bs=1m count=200 > 209715200 bytes transferred in 3.538456 secs (59267433 bytes/sec) > > dd if=/dev/ad6 of=/dev/null bs=1m count=200 > 209715200 bytes transferred in 3.551439 secs (59050767 bytes/sec) > > dd if=/dev/ar0 of=/dev/null bs=1m count=200 > 209715200 bytes transferred in 1.837508 secs (114130226 bytes/sec) > > This is with a custom kernel with all debugging options off. I haven't seen a > mail from you yet that says whether you turned off debugging options in the > kernel or not, and if you haven't turned off debugging options, I'd strongly > suggest doing so. with my custom and stripped kernel (I attach it below) I don't see any difference. # dd if=/dev/ad4 of=/dev/null bs=1024k count=1024 1024+0 records in 1024+0 records out 1073741824 bytes transferred in 30.606110 secs (35082597 bytes/sec) # grep '^[^#]' /usr/src/sys/i386/conf/GENERIC cpu I686_CPU ident GENERIC options SCHED_4BSD # 4BSD scheduler options INET # InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. device isa device pci device fdc device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support device sc device agp # support several AGP chipsets device npx device pmtimer device sio # 8250, 16[45]50 based serial ports device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device device miibus # MII bus support device re # RealTek 8139C+/8169/8169S/8110S device rl # RealTek 8129/8139 device loop # Network loopback device mem # Memory and kernel memory devices device io # I/O device device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) device bpf # Berkeley packet filter