From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 14 02:32:17 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C32A16A41F for ; Mon, 14 Nov 2005 02:32:17 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39D6E43D45 for ; Mon, 14 Nov 2005 02:32:16 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so608795nzo for ; Sun, 13 Nov 2005 18:32:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=nu0fVQU7j2q0K7VMBD8yyOnF3fCau6HBqtIbNtnk1NNL2HQTAiAfg/4aqh9f/ITUpavOGblJUWJjlIKXFMT8+q66JsHZkfIQ5rinDx2BPSQm+BPaQuXok++O+f7B5dXay4ih20b/Gt+xDXYmMEChD/jqT2ae+AplyD/SNVd6zAU= Received: by 10.36.109.16 with SMTP id h16mr1446928nzc; Sun, 13 Nov 2005 18:32:15 -0800 (PST) Received: from michelle.rndsoft.co.kr ( [211.32.202.217]) by mx.gmail.com with ESMTP id 18sm1817002nzo.2005.11.13.18.32.11; Sun, 13 Nov 2005 18:32:15 -0800 (PST) Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id jAE2U3v5001605 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Nov 2005 11:30:03 +0900 (KST) (envelope-from yongari@gmail.com) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id jAE2U0LZ001604; Mon, 14 Nov 2005 11:30:00 +0900 (KST) (envelope-from yongari@gmail.com) Date: Mon, 14 Nov 2005 11:30:00 +0900 From: Pyun YongHyeon To: "Matthew D. Fuller" Message-ID: <20051114023000.GB800@rndsoft.co.kr> References: <20051112071815.GD18405@rndsoft.co.kr> <20051112073711.GE39882@cirb503493.alcatel.com.au> <20051112074418.GE18405@rndsoft.co.kr> <20051112161422.GB1485@over-yonder.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051112161422.GB1485@over-yonder.net> User-Agent: Mutt/1.4.2.1i Cc: Peter Jeremy , freebsd-hackers@freebsd.org Subject: Re: poor fdc(4) performance X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2005 02:32:17 -0000 On Sat, Nov 12, 2005 at 10:14:22AM -0600, Matthew D. Fuller wrote: > On Sat, Nov 12, 2005 at 04:44:18PM +0900 I heard the voice of > Pyun YongHyeon, and lo! it spake thus: > > > > Yes, it could be. But I think the machine is fast enough to read > > sequential blocks. > > Try running it without SMP. There may be enough happening in the MP > locking bit that you end up falling behind. I remember noticing crap > fdc performance (without larger block sizes) on my dual PPro a little > while back. > Hmm, I think this is not the case as interrupt handler on fdc was registered with FAST handler. In addition, the handler just invokes wakeup(9), without any lock operations, to wake up kernel floppy worker thread. Note, I see the same issue on UP sparc64 too. -- Regards, Pyun YongHyeon