From owner-freebsd-stable@FreeBSD.ORG Mon May 19 10:42:13 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2006106566B for ; Mon, 19 May 2008 10:42:13 +0000 (UTC) (envelope-from daniel@skytek.it) Received: from mail.skytek.it (mail.skytek.it [217.194.176.18]) by mx1.freebsd.org (Postfix) with ESMTP id 2BE3D8FC38 for ; Mon, 19 May 2008 10:42:12 +0000 (UTC) (envelope-from daniel@skytek.it) Received: from [192.168.30.100] ([192.168.30.100]) by mail.skytek.it (Skytek Mail Server v.11.47-p9) with ASMTP id ZPJ48412; Mon, 19 May 2008 12:42:12 +0200 Message-ID: <48315984.9020808@skytek.it> Date: Mon, 19 May 2008 12:42:12 +0200 From: Daniel Ponticello User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Shunsuke SHINOMIYA References: <20080519130031.8978.A2D40D1E@fornext.org> <48314227.3080101@skytek.it> <20080519181606.897C.A2D40D1E@fornext.org> <4831570E.8050202@skytek.it> In-Reply-To: <4831570E.8050202@skytek.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Disk access/MPT under ESX3.5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 10:42:14 -0000 Oh, btw, this make improvements only on 7.0-Release and Stable using ULE scheduler. - Using 4BSD Scheduler will improve disk access speed but no cpu usage. - On FreeBSD 6.2 and 6.3 this make no difference on cpu usage/speed (about 60mb/sec maximum using 100% cpu). Thanks, Daniel Daniel Ponticello ha scritto: > > Much better: > > endevor# camcontrol negotiate 0:0 -W 16 -O 127 -R 40.000 > Current Parameters: > (pass0:mpt0:0:0:0): sync parameter: 8 > (pass0:mpt0:0:0:0): frequency: 160.000MHz > (pass0:mpt0:0:0:0): offset: 127 > (pass0:mpt0:0:0:0): bus width: 16 bits > (pass0:mpt0:0:0:0): disconnection is enabled > (pass0:mpt0:0:0:0): tagged queueing is enabled > endevor# camcontrol inquiry da0 > pass0: Fixed Direct Access SCSI-2 device > pass0: 80.000MB/s transfers (40.000MHz, offset 127, 16bit), Command > Queueing Enabled > endevor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 > 1000+0 records in > 1000+0 records out > 1048576000 bytes transferred in 20.364577 secs (51490193 bytes/sec) > endevor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 > 1000+0 records in > 1000+0 records out > 1048576000 bytes transferred in 11.525560 secs (90978311 bytes/sec) > endevor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 > 1000+0 records in > 1000+0 records out > 1048576000 bytes transferred in 11.833996 secs (88607094 bytes/sec) > endevor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 > 1000+0 records in > 1000+0 records out > 1048576000 bytes transferred in 12.779979 secs (82048335 bytes/sec) > endevor# dd if=/dev/zero of=/var/tmp/dead.file bs=1024k count=1000 > 1000+0 records in > 1000+0 records out > 1048576000 bytes transferred in 11.812926 secs (88765137 bytes/sec) > > Also CPU system load is lower: 40% instead of 70% on dual cpu, and 23% > instead of 50% on quad cpu. > > Still not as fast as debian, but really really usable now =) > > how i can make it mantain these settings at boot? > > Also, do you know why the first dd was slower? > > Thanks, > > Daniel > > > Shunsuke SHINOMIYA ha scritto: >> Hello, Daniel >> >> Can you execute camcontrol with some parameters again? >> For example, `camcontrol negotiate 0:0 -W 16 -O 127 -R 40.000'. >> >> > -- WBR, Cordiali Saluti, Daniel Ponticello, VP of Engineering Network Coordination Centre of Skytek --- - For further information about our services: - Please visit our website at http://www.Skytek.it ---