From owner-freebsd-current@FreeBSD.ORG Sun Jul 31 19:28:36 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E25D2106564A for ; Sun, 31 Jul 2011 19:28:36 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 38AEC8FC16 for ; Sun, 31 Jul 2011 19:28:35 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id WAA10747; Sun, 31 Jul 2011 22:28:32 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Qnbge-000BJI-Dy; Sun, 31 Jul 2011 22:28:32 +0300 Message-ID: <4E35ACDD.90303@FreeBSD.org> Date: Sun, 31 Jul 2011 22:28:29 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110706 Thunderbird/5.0 MIME-Version: 1.0 To: Rick Macklem References: <1368975528.1226755.1312139001048.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <1368975528.1226755.1312139001048.JavaMail.root@erie.cs.uoguelph.ca> X-Enigmail-Version: 1.2pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: FreeBSD-Current Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 31 Jul 2011 19:28:37 -0000 on 31/07/2011 22:03 Rick Macklem said the following: > Ok, so if the scheduler spin lock is being held too long, what could > cause this, if it isn't a scheduler bug? > > I can't think of how NFS would affect this beyond causing a heavy I/O > load, but if there is some way it does, I suppose I need to know what > that is? I think I've already referred to the thread on stable@. This is currently being investigated. P.S. Just a pure illustration you can grep for thread_lock to see where else outside schedulers the sched locks are taken. -- Andriy Gapon