Re: nfs-server slowdown in 2.4.20-pre10 with client 2.2.19

From: Henning P. Schmiedehausen (hps@intermeta.de)
Date: Tue Oct 15 2002 - 17:35:57 EST


Stephan von Krawczynski <skraw@ithnet.com> writes:

>On Mon, 14 Oct 2002 13:38:32 +1000
>Neil Brown <neilb@cse.unsw.edu.au> wrote:

>Hello Neil,
>hello Trond,

>> This night I will try to reduce rsize/wsize from the current 8192 down to
>> 1024 as suggested by Jeff.

>Ok. The result is: it is again way slower. I was not even capable to transfer 5
>GB within 18 hours, that's when I shot the thing down.
>Anything else I can test?

nfs v2 or v3? tcp or udp? I assume nfs v3, udp and 100 Mbit switched
network between your hosts and no firewalls, routers or something like
this.

Could you post a small (some ten lines or so) tcp dump of a data transfer?

I had a hell of a time with a) a firewall dropping fragments; b) a
trunked network connection where one VLAN "pushed" another running the
NFS traffic off the trunk (Also vice versa, letting 97 Mbit/sec NFS
traffic pushing almost everything else from the trunk but this is
obviously not your problem. :-) )

If lowering the blocksize speeds up your transfers, dropping fragments
could be the problem (shorter blocks result in less fragments per
packets and increase the chance that all fragments make it over the
connection).

Could you watch the Ip: InDiscards ReasmTimeout ReasmReqds ReasmFails
and Udp: InErrors counters in /proc/net/snmp. Is any of them steadily
increasing?

        Regards
                Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de

Am Schwabachgrund 22 Fon.: 09131 / 50654-0 info@intermeta.de D-91054 Buckenhof Fax.: 09131 / 50654-20 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:58 EST