Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2006 11:54:40 +0100
From:      "Pascal Hofstee" <caelian@gmail.com>
To:        "FreeBSD Current" <freebsd-current@freebsd.org>
Subject:   umass intermittently "stalling" ... processes seemingly stuck in "wdrain" state
Message-ID:  <d8a0b7620612120254p44a96f63gcfa06debc3f73e82@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I recently bought an USB Mass Storage unit (about 300GB) and a 4+1
slot PCI USB2.0 card (since it's an old box that didn't have USB 2 on
board yet), and i have noticed that intermittently the device "stalls"
any operations that try to access it:

- copying data onto the disk
- reading data from the disk
- running an ls while inside a directory on the disk's mount point

Today while trying to scp a fairly large set of files from my office
system to my umass disk at home i noticed the similar stalling
behaviour and decided to check ps output on my home system. There i
noticed that every single time to scp session would begin stalling
(lasting up to about 30-40s per stall) ... the scp process on my
home-system would have dropped into a wdrain state.

As soon as the scp process (after about 30 or more seconds) would
finally get out of this wdrain state (usually into an sbwait state)
the scp process on my work system would start picking up transfer
speed again until the next slip into wdrain.

I haven't been able to test this on a non-CURRENT system yet so i am
not sure wether or not this is a CURRENT only issue or a more generic
problem, but if somebody could give some pointers on where to start
looking on fixing this ... i am open for suggestions.

-- 
  Pascal



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