PF slowing down file copies

José Pablo Fernández pablo.fernandez at rs.com.ar
Wed Feb 21 17:41:32 UTC 2007


On Wednesday 21 February 2007 05:39, Nikos Vassiliadis wrote:
> On Wednesday 21 February 2007 01:21, José Pablo Fernández wrote:
> > My problem is that when I copy a file from one network to the other, the
> > first 128KB seems to be copied instantaneously, the second 128KB take
> > more than two minutes and I've seen the third 128KB being copied very
> > rarely.
>
> This might be an MTU problem. Is the MTU set to 1500 everywhere?
> You can try using a smaller MTU - like 1400 - on two computers,
> try a transfer and if that works, you'll have to check the
> switches involved.

Where is/should the MTU be set?

> > This is using Secure CoPy.
>
> Do you mean scp(1)?

Yes.

> Also, what's going on when you disable pf?

When I disable PF I can't reach outside because that is what is in charge of 
NATing, but I can reach the other network, and the copy just works.

Thank you.
-- 
José Pablo Fernández
pablo.fernandez at rs.com.ar


More information about the freebsd-questions mailing list