Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2006 23:12:38 +0000
From:      Dieter <freebsd@sopwith.solgatos.com>
To:        freebsd-questions@freebsd.org
Subject:   processes not getting fair share of available disk I/O (was: Re: TCP parameters and interpreting tcpdump output )
Message-ID:  <200611220712.HAA18428@sopwith.solgatos.com>
In-Reply-To: Your message of "Mon, 20 Nov 2006 11:19:52 EST." <20061120111952.4213dacb.wmoran@collaborativefusion.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm surprised that you're seeing that much of a "hang".  Even if the disks
> are busy, the system should slow down all disk processes equally, so no
> one process "blocks", but they're all a little slower.

I collected a bit of data:

While copying a large file from disk1 to disk2,

time ls on a small directory on disk3 (not cached in memory)

real    0m0.032s
user    0m0.000s
sys     0m0.003s

time ls on a small directory on disk2

real    4m51.911s
user    0m0.000s
sys     0m0.002s

I expect access to a busy disk to take longer, but 5 minutes is
a bit much.  And that's the root directory of the filesystem,
it didn't have to follow a long chain of directories to get there.

Sometimes I see long delays when accessing disk3, but it is
behaving at the moment.



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