From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <10b109140809121028k477d0881ve3d2c860b85c9d69@mail.gmail.com> Date: Fri, 12 Sep 2008 19:28:02 +0200 From: "Antonin Vecera" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <10b109140809120134v68ff8c5bo43202c0299b247dc@mail.gmail.com> Subject: Re: [9fans] patch/create problem (error?) Topicbox-Message-UUID: 10581492-ead4-11e9-9d60-3106f5b1d025 On Fri, Sep 12, 2008 at 1:47 PM, erik quanstrom wrote: >>>> I had problem to create a patch - the command didn't finish for long long time. >>> >>> I created a patch yesterday and it worked fine. It is fairly slow as it >>> diff's all the files you have changed with those on sources. >>> >>> Sadly the 9p protocol is quite badly effected by high (intercontinential) RTTs. >>> >>> -Steve >> >> There were only 2 files in the patch. I wait for about 10 minutes and nothing. >> But then I tried to copy a file from command line. >> If I copied an ordinary file (to /n/sources) it was done immediately. >> But If I copied a file from bind-ed(!) directory it was endless... >> There was no diff, only copy file. > > i would guess the problem is a bit different. i'm assuming that > reads from sources work fine. it's not until you try to write there > that there's a problem. > > this sounds like a mtu problem. i have a similar problem. > i am not able to submit patches over one particular > network interface. however, if i use a lower mtu, things work fine. > i believe this is because the dumpy dsl modem we have > blocks icmp messages. > > you could lower the mtu on the interface, but rather than > punishing all traffic, i wrote a program called cpmtu. cpmtu > is attached. if you define this function > fn cp {cpmtu -m 700 $*} > before you run patch/create, i believe patch should work > properly for you. > > as an aside: i don't think 9p itself limits plan 9 performance > over high-latency links. the limitations have more to do with > the number of outstanding messages, which is 1 in the mnt > driver. > > - erik > It seems you are right. I think I used in my previous tests too specific (small) files. I will try to play with mtu and with your "cpmtu". Anyway, does 9P and Plan9 know about "path MTU discovery"? Or have I something wrong at my firewall/router? Other of my computers (FreeBSD,Windows) don't have such problems. Antonin