Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2011 09:25:56 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-current@freebsd.org, Ivan Voras <ivoras@freebsd.org>, Andriy Gapon <avg@freebsd.org>
Subject:   Re: Heavy I/O blocks FreeBSD box for several seconds
Message-ID:  <20110711162556.GB97361@troutmask.apl.washington.edu>
In-Reply-To: <CAJ-Vmo=18J7c2CbtAp%2B=EnZg992KJMbMXeDe=TQz_Ro=iBE2Cg@mail.gmail.com>
References:  <5080.1309971941@critter.freebsd.dk> <20110706180001.GA69157@troutmask.apl.washington.edu> <4E14A54A.4050106@freebsd.org> <4E155FF9.5090905@FreeBSD.org> <20110707151440.GA75537@troutmask.apl.washington.edu> <4E160C2F.8020001@FreeBSD.org> <20110707200845.GA77049@troutmask.apl.washington.edu> <ivf221$oo2$1@dough.gmane.org> <4E1B1198.6090308@FreeBSD.org> <CAJ-Vmo=18J7c2CbtAp%2B=EnZg992KJMbMXeDe=TQz_Ro=iBE2Cg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 11, 2011 at 11:42:02PM +0800, Adrian Chadd wrote:
> That top output is averaged and slow to adjust.
> Using "top" as an indication as to what's really going on is likely
> not a good idea.
> 

Restoring top output here:

>   PID USERNAME  THR PRI NICE   SIZE    RES STATE   C   TIME    CPU COMMAND
>  1318 kargl       1 103    0   370M   294M CPU0    0   1:31 100.00% sasmp
>  1319 kargl       1 103    0   370M   294M RUN     1   1:29 100.00% sasmp
>  1322 kargl       1  99    0   370M   294M CPU2    2   1:03 87.26% sasmp
>  1320 kargl       1  91    0   370M   294M RUN     3   1:07 60.79% sasmp
>  1321 kargl       1  89    0   370M   294M CPU3    3   1:06 55.18% sasmp

That TIME column is a very good indication of problem.

I can assure you that wall-clock time for the application
under ULE is far longer than under 4BSD.

IIRC (because its been awhile since I looked at problem), guess
what happens when pid 1318 or 1319 finishes?  Did you guess that
pid 1320 and 1321 are still stuck on the same cpu?

-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110711162556.GB97361>