From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 11:30:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B1011065689 for ; Sun, 28 Sep 2008 11:30:06 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 0D4ED8FC14 for ; Sun, 28 Sep 2008 11:30:04 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m8SBTvT9096043; Sun, 28 Sep 2008 13:29:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m8SBTve2096040; Sun, 28 Sep 2008 13:29:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 28 Sep 2008 13:29:57 +0200 (CEST) From: Wojciech Puchar To: Danny Do In-Reply-To: <00d101c92154$691f53c0$3b5dfb40$@com> Message-ID: <20080928132823.Q96036@wojtek.tensor.gdynia.pl> References: <00d101c92154$691f53c0$3b5dfb40$@com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Hard disk bottle neck. 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, 28 Sep 2008 11:30:06 -0000 > Server Info: > FreeBSD 6.2 > Apache 2.2.9 > > DELL PowerEdge 1850 > 2GB RAM (only 184MB is active) so what's up with other 1.8GB? > 6x300MB SCSI 10K RPM RAID5 300MB disks at 10K? there was such? > Gigabit Ethernet Connection > > My server can output NO MORE than 60Mbps (read only). you mean Mbps or MBps > > The bottle neck is the hard disk. If I use ONE connection to download file > from my server, the speed can go up to about 400Mbps. > > If I let visitors download using multiple connections, the server cannot > output more than 60Mbps. > > My service is similar to rapidshare/megaupload, I am wondering how they > configure their servers? > patch /usr/src/sys/sys/param.h #ifndef DFLTPHYS #define DFLTPHYS (1024 * 1024) /* default max raw I/O transfer size */ #endif #ifndef MAXPHYS #define MAXPHYS (1024 * 1024) /* max raw I/O transfer size */ #endif #ifndef MAXDUMPPGS