lkml.org 
[lkml]   [1999]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.2.9] performance problem on 100MBit network
Hello,

using 2.2.9 on my server or my client brings down the performance
on my local network. I'm using SMC Etherpower II on both machines
which are connected via a 100MBit hub.

Using ftp the transferrates drop to ~200 k/s (>6 M/s with 2.2.8).
If I revert the following part of patch-2.2.9 the network runs at
full speed again:

diff -u --recursive --new-file v2.2.8/linux/include/net/tcp.h linux/include/net/tcp.h
--- v2.2.8/linux/include/net/tcp.h Tue May 11 13:10:32 1999
+++ linux/include/net/tcp.h Thu May 13 10:33:17 1999
@@ -728,7 +728,7 @@
*/
extern __inline__ __u32 tcp_recalc_ssthresh(struct tcp_opt *tp)
{
- __u32 snd_wnd_packets = tp->snd_wnd / tp->mss_cache;
+ __u32 snd_wnd_packets = tp->snd_wnd / max(tp->mss_cache, 1);

return max(min(snd_wnd_packets, tp->snd_cwnd) >> 1, 2);
}

What is the reason behind this patch or can I tune my system
using /proc/sys/net ?

Regards,

Jogi

--

Well, yeah ... I suppose there's no point in getting greedy, is there?

<< Calvin & Hobbes >>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.093 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site