From owner-freebsd-questions@FreeBSD.ORG Sun Jun 4 16:21:47 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A54116A7A6 for ; Sun, 4 Jun 2006 16:21:47 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7D4343D45 for ; Sun, 4 Jun 2006 16:21:45 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FmvM5-0000zM-Hf for freebsd-questions@freebsd.org; Sun, 04 Jun 2006 18:21:34 +0200 Received: from r5bp69.chello.upc.cz ([86.49.75.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Jun 2006 18:21:33 +0200 Received: from element by r5bp69.chello.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Jun 2006 18:21:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Pavel Duda Date: Sun, 04 Jun 2006 18:21:09 +0200 Lines: 46 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5bp69.chello.upc.cz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041103 Thunderbird/0.9 Mnenhy/0.6.0.104 X-Accept-Language: en-us, en In-Reply-To: Sender: news Subject: Re: FreeBSD and newer HDD problems ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 16:21:53 -0000 Pavel Duda wrote: > Hello, > I've recently bought new big HDD (WDC RE, 320GB) and it looks like > FreeBSD has some troubles with it when trying to transfer files over > network. > > If I try to perform some "synthetic" test like 'dd if=/dev/zero > of=/wdc320/testfile' then I get some decent speeds about 40MB/s. When I > try to copy some big files from my older disk (IBM 40GB) I still have > write about 25-27MB/s. > > Problem comes when I try to copy something to disk over network (tried > samba, ftp) disk write speed is very low - about 5-6MB/s at max. > When testing this issue I've start 'systat -vmstat 1' and noticed that > my new disk is very busy (60-100%) and speed (MB/s) jumps up and down. > If I write files with 'dd' or transfer them from disk 2 disk then write > speed and disk load is almost constant (about 60%). When transfering > files over network to old HDD then disk load is low (40-50%) and speed > is constant (8-9MB/s). > > To be sure that disk it is not some kind of disk problem I've installed > Debian 3.1r2 with same version of samba and I get 9-11MB/s transfer > speeds (in both directions) !! > > Also it doesn't matter if I use transfer data over gigabit card or > 100mbit card. Results are similar. FreeBSD is in avarage very very slow > (3MB) while Debian works fine (10MB). Because my server is primarily > used for transfer files (Samba + PDC) it is crucial for me to have > highest transfer speeds possible and I'd like to stick with FreeBSD :-/. > > Does someone has any idea what could be wrong or how could I determine > what causes this problem ? > > Thanks for any advice. > Pavel > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > I've forgot to add that system is FreeBSD 6.0 (no custom kernel), P4 1.8GHz, 384MB RAM, Realtek gigabit NIC (8169), Intel EE NIC 10/100mbit.