delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/10/06/11:35:08

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <049201c38c1f$395d0c60$0600000a@broadpark.no>
From: "Gisle Vanem" <giva AT bgnett DOT no>
To: <djgpp AT delorie DOT com>
References: <96eb2770 DOT 0310030607 DOT 25c8e165 AT posting DOT google DOT com> <142101c389c2$538e47c0$0600000a AT broadpark DOT no> <96eb2770 DOT 0310060102 DOT 6898ad9c AT posting DOT google DOT com>
Subject: Re: Network libraries for DOS wanted (over NDIS driver directly)
Date: Mon, 6 Oct 2003 17:33:42 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Reply-To: djgpp AT delorie DOT com

"Alex Yeryomin" <AYeryomin AT excelsior-usa DOT com> said:

> I just downloaded the latest version of Watt-32 and I'm glad to inform
> you that the speed of TCP connection is over 2000 kBytes/sec now!

That a pretty big improvement. But I'm getting ~10 MBytes/sec from
Win-XP <-> plain DOS version of Netio on a 100MB LAN (I even have
a switch in betwen). The Watcom version is ~11Mbytes/s. But that's
on a very quiet LAN.

> PS Can Watt-32 work ever more faster? :-)

Speed of tcp is highest if you can keep the pipe full at all times 
and never retransmit. This requires timeouts to be selected carefully
and with high resolution. Try with setting "USE_RDTSC=1" in
your environment (activates use of RDTSC instruction on Pentiums).
Also try experimenting with the "tcp.timer.r*" settings.

And a new zero-copy strategy would probably help. But without
a 32-bit driver, I don' know how. Anyway, djgpp's _movedatal() 
and dosmemput() is very fast. I've found no real improvement in 
using near-pointers to DOS-memory and memcpy().
 
--gv

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019