From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Woodhouse To: Martin Egholm Nielsen In-Reply-To: References: <1121867130.12903.15.camel@localhost.localdomain> <1121869156.12903.19.camel@localhost.localdomain> Content-Type: text/plain Date: Wed, 20 Jul 2005 15:17:21 -0400 Message-Id: <1121887042.20077.1.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: linux-mtd@lists.infradead.org Subject: Re: JFFS2 garbage collector blocking for minutes after mount List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2005-07-20 at 16:34 +0200, Martin Egholm Nielsen wrote: > I'm not comfortable with profiling the kernel... It could be arranged, > but I rather see if the a recent CVS snapshot does it for me... ;-) Profiling isn't hard or intrusive -- all you need to do is boot with something like 'profile=1' on the kernel command line, then read /proc/profile after the GC thread has finished doing its thing. Then the readprofile tool will be able to tell you where the time was spent. -- dwmw2