Scheduler question

Daniel O'Connor doconnor at gsoft.com.au
Mon Feb 7 13:44:30 UTC 2011


On 07/02/2011, at 23:36, Ivan Voras wrote:
>> OK, I wrote the data to /dev/null from USB and ran diskutil in a loop and it doesn't drop out.
> 
> Maybe I misunderstood you and it's a different problem than what I was
> experiencing; is this a better description of your problem:
> 
> 1) you have a program communicating with a USB device
> 2) it reads from the device and writes to a file
> 3) you experience stalls when you write the data recived from the USB
> device to the file but only if the file system you're writing on is
> also loaded by something else - heavy reads?
> 
> ?

Yes, however CPU loading also seems to affect it.

Unfortunately I don't have a useful measurement to show the problem - ie I don't have a metric which correlates with the hardware FIFO filling up.

This makes the testing rather annoying :)

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C








More information about the freebsd-hackers mailing list