Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g0UEnOD26401 for linux-xfs-outgoing; Wed, 30 Jan 2002 06:49:24 -0800 Received: from zok.sgi.com (zok.SGI.COM [204.94.215.101]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g0UEnId26376 for ; Wed, 30 Jan 2002 06:49:19 -0800 Received: from zeus-e8.americas.sgi.com (zeus-e8.americas.sgi.com [128.162.8.103]) by zok.sgi.com (8.11.4/8.11.4/linux-outbound_gateway-1.1) with ESMTP id g0UDnBo11736 for ; Wed, 30 Jan 2002 05:49:11 -0800 Received: from tulip-e185.americas.sgi.com (tulip-e185.americas.sgi.com [128.162.185.208]) by zeus-e8.americas.sgi.com (SGI-SGI-8.9.3/americas-smart-nospam1.1) with ESMTP id HAA05977; Wed, 30 Jan 2002 07:47:55 -0600 (CST) Received: from sgi.com (Mydvy1I9dZwt7gSgDcYIVLFbqQZWdvFB@lord-h1.americas.sgi.com [206.11.101.42]) by tulip-e185.americas.sgi.com (980427.SGI.8.8.8/SGI-server-1.7) with ESMTP id HAA21840; Wed, 30 Jan 2002 07:47:55 -0600 (CST) Message-ID: <3C57F97A.7000400@sgi.com> Date: Wed, 30 Jan 2002 07:47:38 -0600 From: Stephen Lord User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011226 X-Accept-Language: en-us MIME-Version: 1.0 To: Chris Pascoe CC: linux-xfs@oss.sgi.com Subject: Re: How long should an xfs_freeze take? References: <023501c1a953$f059a0f0$47426682@csee.uq.edu.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Status: O Content-Length: 835 Lines: 33 Chris Pascoe wrote: >Hi, > >I'm guessing an xfs_freeze shouldn't take this long, am I correct? > ># time xfs_freeze -f /tst1 > >real 344m40.434s >user 0m0.000s >sys 340m40.810s > >The system is a Dual CPU P3 Xeon with 1GB RAM (highmem enabled), running >2.4.17 CVS, taken on 2002/01/23 (just before the -funsigned-char changes >went through), with LVM 1.0.2 added (I see the same behaviour with 1.0.1, >though). > How long freeze takes depends on how much data is dirty in the filesystem, it should take a similar time to an unmount. However, unless this was a very large and dirty filesystem this feels like a long time - although it was all system time, so something was going on. The spot you kept seeing on the stack does not make much sense, vn_count is basically an atomic_read. How repeatable is this? Steve