Page 1 of 1

Telnet - Nagle and telnet lags.

Posted: Sun Nov 12, 2006 1:00 pm
by ccs
I was screwing arround with my BBS today and I was in the majortcp admin menu:


Vircom inc. MajorTCP/IP
=======================

Administrative Menu
===================

S - Module Status/Statistics
A - Print ARP Cache
U - Online Users Info.
I - ICMP Stats.
X - Exit

Enter your choice (S, A, U, I or X) >

Here I use an undocumented item (R) to force MajorTCP to reload the control files it uses. (tcpsites.ban ect..) and I hit the (N) key by mistake.
(Early Morning lol)
I got this message!

Administrative Menu
===================

S - Module Status/Statistics
A - Print ARP Cache
U - Online Users Info.
I - ICMP Stats.
X - Exit

Enter your choice (S, A, U, I or X) > n
Nagle is now OFF

Enter your choice (S, A, U, I or X) >

Ok... what is nagle? I did a quick check on the net and found this...

Actually, it's who. John Nagle is the author of the algorithm that bears his name and its something that's been a part of TCP for years. It even has it's own RFC -- RFC896 called, significantly, Congestion Control in IP/TCP Networks. Check out the “backwards†spelling of TCP/IP -- that's how old this thing is.

John Nagle worked for Ford Aerospace and, to make a long story short, they had a lot of congestion on their network due to lots of tiny packets (think telnet). Nagle's brilliant solution was the Nagle algorithm which says, essentially, only send one small packet out without getting an acknowledgment (ACK). Otherwise, wait until you've got enough of them to send out a full-sized packet (or segment, if you want to get technical).


Ok.. so here is the question. Since I can turn this on or off, Should I and will it speed up telnet.

I'm going to do some testing with Z-Modem transfer through telnet as this is one thing that sucks through telnet.

Joe

Re: Telnet - Nagle and telnet lags.

Posted: Fri Nov 17, 2006 2:57 am
by dspain
ccs wrote:I was screwing arround with my BBS today and I was in the majortcp admin menu:


Vircom inc. MajorTCP/IP
=======================

Administrative Menu
===================

S - Module Status/Statistics
A - Print ARP Cache
U - Online Users Info.
I - ICMP Stats.
X - Exit

Enter your choice (S, A, U, I or X) >

Here I use an undocumented item (R) to force MajorTCP to reload the control files it uses. (tcpsites.ban ect..) and I hit the (N) key by mistake.
(Early Morning lol)
I got this message!

Administrative Menu
===================

S - Module Status/Statistics
A - Print ARP Cache
U - Online Users Info.
I - ICMP Stats.
X - Exit

Enter your choice (S, A, U, I or X) > n
Nagle is now OFF

Enter your choice (S, A, U, I or X) >

Ok... what is nagle? I did a quick check on the net and found this...

Actually, it's who. John Nagle is the author of the algorithm that bears his name and its something that's been a part of TCP for years. It even has it's own RFC -- RFC896 called, significantly, Congestion Control in IP/TCP Networks. Check out the “backwards†spelling of TCP/IP -- that's how old this thing is.

John Nagle worked for Ford Aerospace and, to make a long story short, they had a lot of congestion on their network due to lots of tiny packets (think telnet). Nagle's brilliant solution was the Nagle algorithm which says, essentially, only send one small packet out without getting an acknowledgment (ACK). Otherwise, wait until you've got enough of them to send out a full-sized packet (or segment, if you want to get technical).


Ok.. so here is the question. Since I can turn this on or off, Should I and will it speed up telnet.

I'm going to do some testing with Z-Modem transfer through telnet as this is one thing that sucks through telnet.

Joe
good find Joe!!

ill email sylvain and ask him what the hell they meant with that :)

Posted: Wed Nov 25, 2009 10:44 pm
by corvey
they had a lot of congestion on their network due to lots of tiny packets (think telnet). Nagle's brilliant solution was the Nagle algorithm which says, essentially, only send one small packet out without getting an acknowledgment (ACK). Otherwise, wait until you've got enough of them to send out a full-sized packet
This sounds EXACTLY what the problem with Galactic Empire is now through telnet.

Could this possibly be the answer to why Galactic Empire sucks through telnet now? Is there a solution to make GE fast and scroll smooth via telnet like it use to when I was connected on dailup back in the day?


Do you have any more feedback on this, Joe?

Posted: Thu Nov 26, 2009 1:21 am
by Drex
For logging into WG 2.0 this software takes out all the lag. XP for sure and might be an Vista update.

http://www.speedguide.net/downloads.php

Posted: Fri Nov 27, 2009 10:11 pm
by corvey
Drex wrote:For logging into WG 2.0 this software takes out all the lag. XP for sure and might be an Vista update.

http://www.speedguide.net/downloads.php

I don't think so. I can use other telnet application servers with fluid smoothness. It has something to do with Majorbbs TCP protocol.

Posted: Sat Nov 28, 2009 5:58 am
by Drex
Whoops this I use for WG2.0 boards, but you have to go into custon settings and set the acks to 1 and the speed way up.

Setting Up BBS Telnet way to difficult

Posted: Sat Jul 09, 2011 4:25 am
by jvronis
After trying for months last year to get my old board I gave up because setting up the telnet to work lag free was way to difficult. Just figured I would post something in 2011. Yes we are alive!