Try playing with 'dd' -- try transferring one block of various sizes. Thus, things like:
dd if=/dev/sda of=/dev/null count=1 bs=1M
dd if=/dev/sda of=/dev/null count=1 bs=64K
See if you can find a blocksize threshold which triggers the problem.
Matt
On Sun, Jul 13, 2003 at 11:35:54PM -0400, Adam Kessel wrote:
> On Sun, Jul 13, 2003 at 01:46:29PM -0700, Matthew Dharm wrote:
> > > Another data point: I've been mounting the device with the sync option.
> > > Another user suggests that mounting with sync obviates the need to
> > > control bandwidth with rsync. I believe this is why it didn't matter
> > > where I set bwlimit but it did for others (who had the device mounted
> > > async).
> > Can you try without the sync option so we know for certain?
>
> Behavior is not 100% reproducible; sometimes I do get crashes with rsync
> even if the device is mounted -o sync, but usually not.
>
> What is consistent, however, is that when the device is mounted sync, the
> speed with rsync never gets up above 330kB/s, no matter what bwlimit is
> set to. (rsync does respect lower bwlimit, of course).
>
> When the device is mounted async, I can get up to much higher speeds. In
> a recent test, it worked fine at --bwlimit 900, but at --bwlimit 1000 the
> process hung and became unkillable (while true; do killall -9 rsync;
> done; -- didn't work, even after many minutes).
>
> This is all with linux 2.5.75.
>
> --Adam
--
Matthew Dharm Home: [EMAIL PROTECTED]
Maintainer, Linux USB Mass Storage Driver
God, root, what is difference?
-- Pitr
User Friendly, 11/11/1999
pgp00000.pgp
Description: PGP signature
