From owner-freebsd-current@FreeBSD.ORG Tue Apr 6 02:39:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6599316A4CE for ; Tue, 6 Apr 2004 02:39:35 -0700 (PDT) Received: from hewey.af.speednet.com.au (udsl-3-062.QLD.dft.com.au [202.168.108.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07B8643D2D for ; Tue, 6 Apr 2004 02:39:34 -0700 (PDT) (envelope-from andyf@speednet.com.au) Received: from [172.22.2.33] ([172.22.2.33])i369d03Z057739; Tue, 6 Apr 2004 19:39:00 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Tue, 6 Apr 2004 19:39:00 +1000 (EST) From: Andy Farkas X-X-Sender: andyf@hewey.af.speednet.com.au To: Artem Koutchine In-Reply-To: <004101c41bae$a9a419e0$0c00a8c0@artem> Message-ID: <20040406191025.S56300@hewey.af.speednet.com.au> References: <20040406071205.GA2819@frontfree.net> <004101c41bae$a9a419e0$0c00a8c0@artem> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: Qustion about being "Giant-locked" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2004 09:39:35 -0000 > I am trying to get your point and i really can't. I just don't see what > your are trying to say. If you refer to 8% CPU usage then i see that it > is only 8% because SCSI is the bottleneck. Disk just do not give data > fast enough to load CPU high. Also, i don't think the do not give > data fast enough only because of the Giant. I think it is mostly scsi > and hdd speed problem in this case. Afterall md5 algorithm is not > too havy on cpu anyway. What I was trying to point out is that there is hardly any concurrency with disk drivers on a SMP box. With 4 controllers, 8 spindles, and 4 cpus to drive them, one would expect a little bit of concurrency. Instead, the kernel spends most of its time waiting or blocked, only one disk is accessed at a time, and the cpus stay idle. md5 may have been a bad example, but on a slow 200MHz cpu, it can be a fairly intensive cpu hog. -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/