All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-2.4.18-rpc_tweaks.dif
@ 2002-03-27  2:27 Kurt Garloff
  2002-04-02  9:19 ` linux-2.4.18-rpc_tweaks.dif Trond Myklebust
  2002-04-02  9:19 ` linux-2.4.18-rpc_tweaks.dif Trond Myklebust
  0 siblings, 2 replies; 3+ messages in thread
From: Kurt Garloff @ 2002-03-27  2:27 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: Linux kernel list

[-- Attachment #1: Type: text/plain, Size: 1230 bytes --]

Hi Trond,

http://www.fys.uio.no/~trondmy/src/2.4.18/linux-2.4.18-rpc_tweaks.dif
contains a change that causes devastating NFS client performance: My NFS
read performance on a switched 100BaseT went down from >9MB/s to 500kB/s.
(NFSv3, rsize=8192, 2.4.16 AXP kernel nfsd server)

The reason is that
xprt_adjust_cwnd()
does no longer do what the comment above says it should do:
_slowly_ increase cwnd until we start to hit the limit (which we see from
timed out requests). Instead cwnd gets bumped very fast resulting in lots of
timed out requests. This way you get fast oscillations in cwnd.

Putting the old code back for xprt_adjust_cwnd() gave me back the old
performance.

Except for the missing damping, comparing the functionality with the old
code, e.g. this snippet
+	if (xprt->cong > cwnd)
+		goto out;
also makes me wonder whether it could be correct. 
Please have a look at it again!

Regards,
-- 
Kurt Garloff                   <kurt@garloff.de>         [Eindhoven, NL]
Physics: Plasma simulations  <K.Garloff@Phys.TUE.NL>  [TU Eindhoven, NL]
Linux: SCSI, Security          <garloff@suse.de>    [SuSE Nuernberg, DE]
 (See mail header or public key servers for PGP2 and GPG public keys.)

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-02  9:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-27  2:27 linux-2.4.18-rpc_tweaks.dif Kurt Garloff
2002-04-02  9:19 ` linux-2.4.18-rpc_tweaks.dif Trond Myklebust
2002-04-02  9:19 ` linux-2.4.18-rpc_tweaks.dif Trond Myklebust

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.