From owner-freebsd-performance@FreeBSD.ORG Thu Jan 31 01:27:03 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28AB316A417; Thu, 31 Jan 2008 01:27:03 +0000 (UTC) (envelope-from prvs=1916be8aae=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 56AB513C448; Thu, 31 Jan 2008 01:27:02 +0000 (UTC) (envelope-from prvs=1916be8aae=killing@multiplay.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=multiplay.co.uk; s=Multiplay; t=1201742676; x=1202347476; q=dns/txt; h=Received: Message-ID:From:To:Cc:References:Subject:Date:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=pbMJobgd4GWPLHKLbQZRh HJARuIu6Jh7mC4IiweTQCg=; b=reH1IqLDY9OgWoJQLb3scgXMIp6oHN+lfgLt0 5dnUvKEdU9XP0fFPVUI457wIw8Y3QhLyLjvBx9IyG1OHgLM7zphLX7sRuXg5x0cZ uX0zGHxWeXFUZCyd29wJRnLn7IGfTGPXLk+JzzWrffg3+iWbC/toHm+BS6wzaEcG zoPzD4= X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-14.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.8 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v9.6.3) with ESMTP id md50004963427.msg; Thu, 31 Jan 2008 01:24:35 +0000 Message-ID: <015901c863a8$064a5750$b6db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Dieter" References: <200801302307.XAA22476@sopwith.solgatos.com> Date: Thu, 31 Jan 2008 01:24:28 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 212.135.219.182 X-Return-Path: prvs=1916be8aae=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-Spam-Processed: mail1.multiplay.co.uk, Thu, 31 Jan 2008 01:24:35 +0000 X-MDAV-Processed: mail1.multiplay.co.uk, Thu, 31 Jan 2008 01:24:36 +0000 Cc: freebsd-performance@freebsd.org, freebsd-stable@freebsd.org Subject: Re: newfs + gstat locks entire machine for 20seconds X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2008 01:27:03 -0000 The plot thickens.... This stall is not just related to newfs you have to have gstat running as well. If I do the newfs without gstat running then no stall occurs. As soon as Im running gstat while doing the newfs then everything locks as described. Running truss on gstat shows the issue / cause I believe but I dont know what it means:- [truss -o t.txt -p 61629 -d] 9.008933817 nanosleep({1.000000000}) = 0 (0x0) 9.008969017 gettimeofday({1201742426.147393},0x0) = 0 (0x0) 9.009009804 poll({0/POLLIN},1,0) = 0 (0x0) 9.009040534 gettimeofday({1201742426.147465},0x0) = 0 (0x0) 9.009076852 clock_gettime(0,{1201742426.147501706}) = 0 (0x0) 9.009294477 sigaction(SIGTSTP,{ SIG_IGN SA_RESTART ss_t },{ 0x800cb2470 SA_RESTART ss_t }) = 0 (0x0) 9.009335823 poll({0/POLLIN},1,0) = 0 (0x0) 9.009387785 poll({0/POLLIN},1,0) = 0 (0x0) 9.009457626 write(1,"\^[[4;11H 5\^[[6C2 32 467.8"...,213) = 213 (0xd5) 9.009488636 sigaction(SIGTSTP,{ 0x800cb2470 SA_RESTART ss_t },0x0) = 0 (0x0) 10.009930312 nanosleep({1.000000000}) = 0 (0x0) 10.009963836 gettimeofday({1201742427.148388},0x0) = 0 (0x0) 10.010005182 poll({0/POLLIN},1,0) = 0 (0x0) 10.010036192 gettimeofday({1201742427.148461},0x0) = 0 (0x0) 10.010073068 clock_gettime(0,{1201742427.148497922}) = 0 (0x0) 10.010292369 mmap(0x801000000,1048576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34376515584 (0x801000000) 10.010327569 __sysctl(0x7fffffffe6c0,0x2,0x7fffffffe650,0x7fffffffe6b8,0x800844970,0x11) = 0 (0x0) 25.052947791 __sysctl(0x7fffffffe650,0x3,0x801000000,0x7fffffffe720,0x0,0x0) = 0 (0x0) 25.054030610 munmap(0x801000000,1048576) = 0 (0x0) 25.055022356 sigaction(SIGTSTP,{ SIG_IGN SA_RESTART ss_t },{ 0x800cb2470 SA_RESTART ss_t }) = 0 (0x0) 25.055067892 poll({0/POLLIN},1,0) = 0 (0x0) 25.055130470 poll({0/POLLIN},1,0) = 0 (0x0) 25.055230203 write(1,"\^[[4;11H1\^[[7C4 64 203.4"...,203) = 203 (0xcb) 25.055263448 sigaction(SIGTSTP,{ 0x800cb2470 SA_RESTART ss_t },0x0) = 0 (0x0) 26.055866597 nanosleep({1.000000000}) = 0 (0x0) 26.055900400 gettimeofday({1201742443.194324},0x0) = 0 (0x0) 26.055940070 poll({0/POLLIN},1,0) = 0 (0x0) 26.055969962 gettimeofday({1201742443.194394},0x0) = 0 (0x0) 26.056009073 clock_gettime(0,{1201742443.194433649}) = 0 (0x0) 26.056240388 sigaction(SIGTSTP,{ SIG_IGN SA_RESTART ss_t },{ 0x800cb2470 SA_RESTART ss_t }) = 0 (0x0) 26.056280896 poll({0/POLLIN},1,0) = 0 (0x0) 26.056334534 poll({0/POLLIN},1,0) = 0 (0x0) 26.056420299 poll({0/POLLIN},1,0) = 0 (0x0) 26.056485112 write(1,"\^[[1;6H6.046s w: 1.000s\^[[4;5"...,305) = 305 (0x131) 26.056516121 sigaction(SIGTSTP,{ 0x800cb2470 SA_RESTART ss_t },0x0) = 0 (0x0) 27.056863372 nanosleep({1.000000000}) = 0 (0x0) [/truss -o t.txt -p 61629 -d] ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.