PF slowing down file copies
Bill Moran
wmoran at collaborativefusion.com
Wed Feb 21 17:50:18 UTC 2007
In response to "José Pablo Fernández" <pablo.fernandez at rs.com.ar>:
> 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?
ifconfig <interface> mtu 1400
(for example)
>
> > > 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.
Have you tried stripping your pf rules down to JUST nat to see if the
problem changes?
--
Bill Moran
Collaborative Fusion Inc.
More information about the freebsd-questions
mailing list