[p4] Improve robustness on poor networks?

Brian Moyers bsmoyers at gmail.com
Wed Aug 2 06:45:56 PDT 2006


On 8/2/06, Arnt Gulbrandsen <arnt at gulbrandsen.priv.no> wrote:
>
> Chris Weiss writes:
> > Our network's a bit spotty - if our pipe to the outside world gets
> > saturated, we start losing packets. This spells trouble for our
> > remote office as they'll be in the middle of a big sync and P4 will
> > throw a WSAE_TIMEOUT.
> >
> > Does anyone have any tips (outside of QoS) on ways to avoid P4
> > dropping connections so easily? We've already got a proxy server in
> > the remote office, but it still disconnects far too often due to
> > packet loss.
>
> For a very modest fee, you can get a colocated server with fantastic
> bandwidth. Putting either the p4d or a p4p there might help. A p4p
> should be very easy to try out. Remote offices then use a local p4p
> which connects to the colo p4p, which in turn connects to your p4d, and
> the colo p4p is populated with new revisions by a small cron job which
> syncs a suitable dummy client every few minutes.
>
> Arnt
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>


Arnt, according to the p4p docs, you can't chain Proxy servers together, i.e.
the p4p daemon must connect directly to the "real" p4 server.  I just tried
it to make sure and got:

$ p4 -p sjp4p:3999 info
Proxy servers may not be chained together

Is there an undocumented feature you know of to make this work?

Thanks

-Brian


More information about the perforce-user mailing list