From owner-freebsd-questions@FreeBSD.ORG Mon Feb 25 16:24:16 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A36D216A403 for ; Mon, 25 Feb 2008 16:24:16 +0000 (UTC) (envelope-from nenad@venturis.hu) Received: from venturis.hu (venturis.hu [195.56.77.129]) by mx1.freebsd.org (Postfix) with ESMTP id 664D913C442 for ; Mon, 25 Feb 2008 16:24:16 +0000 (UTC) (envelope-from nenad@venturis.hu) Received: from localhost (localhost [127.0.0.1]) by venturis.hu (Postfix) with ESMTP id 7B95B15ECC7 for ; Mon, 25 Feb 2008 16:59:36 +0100 (CET) Received: by venturis.hu (Postfix, from userid 80) id 761D315EC92; Mon, 25 Feb 2008 16:59:35 +0100 (CET) Received: from hide.snt.hu (hide.snt.hu [195.56.143.221]) by venturis.hu (Horde MIME library) with HTTP; Mon, 25 Feb 2008 16:59:35 +0100 Message-ID: <20080225165935.ko4deb28u8wkkkwk@venturis.hu> Date: Mon, 25 Feb 2008 16:59:35 +0100 From: Nenad Mihajlovic To: FreeBSD Questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.2) X-Virus-Scanned: by AMaViS perl-11 Cc: Subject: FreeBSD SAMBA file server performance - strange behaviour 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: Mon, 25 Feb 2008 16:24:16 -0000 Hi all, Recently I have received the reuest from the colleague to create the =20 homebrewn NAS for his small office, so I started checking the possible =20 options, and having good, long and stable relationship with FreeBSD =20 I've settled again for it. Machine is not something special, Pentium D with 1G RAM and single =20 SATA150 disk, 3Com 1G server card in the PCI slot, connected to the =20 desktop though 1Gbps unmanaged switch. If needed I'll provide the full config and setup information. After installing the bare FreeBSD 7.0RC3 and Samba 3.x.xx - whichewer =20 was included in the packages - I wanted to have the job done quickly, =20 the machine appeared on the network and everyone seemed to be happy =20 and live happily everafter. Until dear friend of mine started using the machine to do the actual =20 work - basic editing of the wedding videos. When trying to upload the single file to file server, he was getting =20 the varying speed of 5-13 MBps, from his machine to file server - =20 which is unacceptably low for any kind of transfer speed. Interestingly enough, when he tried to copy _TWO_ files to file =20 server, the transfer speed vould jump to the 25-27 MB/sec and keep =20 permanent, without much fluctuation. After I tried to copy the files from one directory to another, iostat =20 has shown me the speed in excess of 29 MB/sec while copying the files =20 between two directories on the same server, so the disk access should =20 not be the problem. On the other hand, i experienced that when i try PING on the File =20 server's IP address from the fileserver, i get performance increase in =20 the transfer speed - the bigger the traffic i generate, the better the =20 results, which max out at 25-27 MB/sec with flood ping. Has anyone else experienced any similar behaviour? Regards, Nenad