From owner-cvs-all Tue Oct 16 9:26:15 2001 Delivered-To: cvs-all@freebsd.org Received: from noos.fr (r178m112.cybercable.tm.fr [195.132.178.112]) by hub.freebsd.org (Postfix) with ESMTP id 0FD2137B409; Tue, 16 Oct 2001 09:26:12 -0700 (PDT) Received: (from mux@localhost) by noos.fr (8.11.6/8.11.4) id f9GGQ6P01409; Tue, 16 Oct 2001 18:26:06 +0200 (CEST) (envelope-from mux) Date: Tue, 16 Oct 2001 18:26:06 +0200 From: Maxime Henrion To: Matthew Dillon Cc: cvs-all@freebsd.org, cvs-committer@freebsd.org Subject: Re: cvs commit: src/sys/vm vnode_pager.c Message-ID: <20011016182606.B469@nebula.cybercable.fr> References: <200110121817.f9CIHYU38714@freefall.freebsd.org> <200110122330.f9CNU1u36917@earth.backplane.com> <200110152135.f9FLZpg56816@earth.backplane.com> <20011016172843.A469@nebula.cybercable.fr> <200110161618.f9GGIpM31430@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200110161618.f9GGIpM31430@apollo.backplane.com> User-Agent: Mutt/1.3.23i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthew Dillon wrote: > :I think I'm experiencing the same problem as des. After a bit of > :uptime, or even better, after a big cvs update, I can see the system cpu > :time of my -CURRENt box jumping from 0 to 50% (or more) every 30 seconds. > :Of course, this also happens in single user mode. > : > :So I built a profiling kernel as explained and tried to catch this > :happening. The results of the profiling are attached. > : > :Hope this helps, > :Maxime Henrion > :... > > :[4] 18.8 0.00 0.53 1 sync_fsync [4] > : 0.09 0.30 1/1 ffs_sync [5] > : 0.05 0.08 1/1 vfs_msync [11] > > :----------------------------------------------- > : > : 0.09 0.30 1/1 sync_fsync [4] > :[5] 14.0 0.09 0.30 1 ffs_sync [5] > : 0.09 0.21 1/1 qsync [7] > > qsync()? Quota sync? Maxime, do you have quotas enabled? DES, > do you have quotas enabled? > > It sure looks like qsync() is the responsible party in this > profile, and looking at the code I can see why. It's an > insanely expensive procedure. It's vget()ing and vput()ing every > single vnode in the vnode cache and doing other nasty things. I do have quotas indeed. Maxime -- Don't be fooled by cheap finnish imitations ; BSD is the One True Code Key fingerprint = F9B6 1D5A 4963 331C 88FC CA6A AB50 1EF2 8CBE 99D6 Public Key : http://www.epita.fr/~henrio_m/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message