Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2007 12:50:15 -0500
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        "=?ISO-8859-1?Q?\"Jos=E9?= Pablo =?ISO-8859-1?Q?Fern=E1ndez\"?=" <pablo.fernandez@rs.com.ar>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PF slowing down file copies
Message-ID:  <20070221125015.ad78d4dd.wmoran@collaborativefusion.com>
In-Reply-To: <200702211441.29405.pablo.fernandez@rs.com.ar>
References:  <200702202021.55723.pablo.fernandez@rs.com.ar> <200702211039.51601.nvass@teledomenet.gr> <200702211441.29405.pablo.fernandez@rs.com.ar>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
In response to "Jos=E9 Pablo Fern=E1ndez" <pablo.fernandez@rs.com.ar>:

> On Wednesday 21 February 2007 05:39, Nikos Vassiliadis wrote:
> > On Wednesday 21 February 2007 01:21, Jos=E9 Pablo Fern=E1ndez 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.
>=20
> Where is/should the MTU be set?

ifconfig <interface> mtu 1400
(for example)

>=20
> > > This is using Secure CoPy.
> >
> > Do you mean scp(1)?
>=20
> Yes.
>=20
> > Also, what's going on when you disable pf?
>=20
> When I disable PF I can't reach outside because that is what is in charge=
 of=20
> 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?

--=20
Bill Moran
Collaborative Fusion Inc.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20070221125015.ad78d4dd.wmoran>