[arachne] Re: ADSL speed increase.....
- From: "Glenn McCorkle" <glennmcc@xxxxxxxxxxxx>
- To: arachne@xxxxxxxxxxxxx
- Date: Sat, 19 Jul 2008 00:32:20 -0500
Arachne at FreeLists---The Arachne Fan Club!
On Fri, 18 Jul 2008 23:20:58 -0500, Glenn McCorkle wrote:
> Success !!!!
> On a tip from mik (Michael Kostylev).....
> I added this one line of code into htkernel.c
> and increased my throughput on DSL from 30kb/sec to 70kb/sec
> if (sock_dataready( socket ))
> {
> count=sock_fastread( socket, (unsigned char *)buf, BUF);
> //!!mik: July 18, 2008 -- increase throughput on DSL & cable
> sock_setbuf(socket, (unsigned char*)buf, BUF);
> //!!mik: end
> if(count>0)
> {
> sock_datalen[socknum]+=count;
> ______________________________________________________
> And then the results of some more testing......
> http://www.glennmcc.org/94766_sec.jpg
> 94,766 bytes/sec !!!!!!
> Grabbed this entire 18meg file in 3min 15sec
> http://www.pctools.com/mirror/sdsetup.exe
> The final goal is to get Arachne going at full-speed.
> On this 3mbit/sec DSL connection,
> wget, lynx386, mplayer.... etc...etc... all get about 300kb/sec
> (all of which are compiled with the 32bit watt32 library...
> while Arachne is compiled with the 16bit wattcplg.lib)
> Arachne is 'getting there' now... but she still has quite a ways to go.
mik,
You are GENIUS !!!!!!
if (sock_dataready( socket ))
{
count=sock_fastread( socket, (unsigned char *)buf, BUF);
//!!mik: July 18, 2008 -- to perhaps increase throughput on DSL & cable
sock_setbuf(socket, (unsigned char*)buf, 32767);//BUF*6);
//!!mik: end
#endif
if(count>0)
{
sock_datalen[socknum]+=count;
__________________________________________________________
http://www.glennmcc.org/287324.jpg
Thank you... thank you... THANK YOU !!!! :)
--
Glenn
http://www.delorie.com/listserv/mime/
http://www.delorie.com/djgpp/doc/msdog.html
http://www.glennmcc.org/
http://www.law.cornell.edu/constitution/constitution.table.html
Arachne at FreeLists
-- Arachne, The Premier GPL Web Browser/Suite for DOS --
Other related posts: