From owner-freebsd-fs@FreeBSD.ORG Mon Mar 30 16:17:12 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4B5023C6 for ; Mon, 30 Mar 2015 16:17:12 +0000 (UTC) Received: from smtp21.mail.ru (smtp21.mail.ru [94.100.179.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B7D829F6 for ; Mon, 30 Mar 2015 16:17:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=E3t3fX8LyVqCbIjvSVJ4eSMkEe7IZmlqK2SuY+dzgeo=; b=gqj/QGSXbsmvKRFAveCR28aE9CQAnosQaUgeC01qrLW3SxthrlBgV/zHUvDys363CW2o2qhaku4wjAvEctfkqNeUPdOKrFBIfnmTqyxT0+VRCg6lHHRa319L34agdGZtkGQy9qPOx9+8jbTc7YVEAVg62bi88rkMvFXsyxCna9g=; Received: from [109.188.127.13] (port=6292 helo=[192.168.0.12]) by smtp21.mail.ru with esmtpa (envelope-from ) id 1YccNA-0007LN-9Y for freebsd-fs@freebsd.org; Mon, 30 Mar 2015 19:17:08 +0300 Message-ID: <5519772C.4010106@artem.ru> Date: Mon, 30 Mar 2015 19:17:48 +0300 From: Artem Kuchin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: Re: Little research how rm -rf and tar kill server References: <55170D9C.1070107@artem.ru> <1427727936.293597.247070269.5CE0D411@webmail.messagingengine.com> <55196FC7.8090107@artem.ru> <1427730597.303984.247097389.165D5AAB@webmail.messagingengine.com> <5519716F.6060007@artem.ru> <1427731061.306961.247099633.0A421E90@webmail.messagingengine.com> <5519740A.1070902@artem.ru> <1427731759.309823.247107417.308CD298@webmail.messagingengine.com> In-Reply-To: <1427731759.309823.247107417.308CD298@webmail.messagingengine.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam: Not detected X-Mras: Ok X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2015 16:17:12 -0000 30.03.2015 19:09, Mark Felder пишет: > > On Mon, Mar 30, 2015, at 11:04, Artem Kuchin wrote: >> 30.03.2015 18:57, Mark Felder пишет: >>> On Mon, Mar 30, 2015, at 10:53, Artem Kuchin wrote: >>>> This is normal state, not under rm -rf >>>> Do you need it during rm -rf ? >>>> >>> No, but I wonder if changing the timer from LAPIC to HPET or possibly >>> one of the other timers makes the system more responsive under that >>> load. Would you mind testing that? >>> >>> You can switch the timer like this: >>> >>> sysctl kern.eventtimer.timer=HPET >>> >>> And then run some of your I/O tests >>> >> I see. I will test at night, when load goes down. >> I cannot say sure that's a right way to dig, but i will test anything :) >> >> Just to remind: untar overloads the system, but untar + sync every 120s >> does not. >> That seems very strange to me. I think the problem might be somewhere >> here. >> > I just heard from mav that there was a bottleneck in gmirror/graid with > regards to BIO_DELETE requests > Well, i have plenty of CPU power left if you look at TOP screenshots. But i will try this patch too. If i update sources of 10-STABLE and rebuild world will this patch be there? But still, this does not explain why untar need fsync to pay nice. Artem