Usi g trickle to limit a rsync over ssh transfer to 25 k/s, ssh ends up eating all the CPU, which it normally wouldn't. I tried various -t values without any improvement.
stracing ssh yeilds a lot of this:
gettimeofday({1157149961, 418040}, NULL) = 0
gettimeofday({1157149961, 419772}, NULL) = 0
select(7, [3 4], [], NULL, NULL) = 1 (in [3])
fcntl64(3, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
gettimeofday({1157149961, 422323}, NULL) = 0
gettimeofday({1157149961, 422723}, NULL) = 0
select(7, [3 4], [], NULL, NULL) = 1 (in [3])
fcntl64(3, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
gettimeofday({1157149961, 427073}, NULL) = 0
gettimeofday({1157149961, 427480}, NULL) = 0
select(7, [3 4], [], NULL, NULL) = 1 (in [3])
fcntl64(3, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
gettimeofday({1157149961, 430060}, NULL) = 0
gettimeofday({1157149961, 431589}, NULL) = 0
select(7, [3 4], [], NULL, NULL) = 1 (in [3])
--
see shy jo
signature.asc
Description: Digital signature

