Telnet - Nagle and telnet lags.

General discussion regarding the project.

Moderator: Mod Squad

Post Reply
User avatar
ccs
Posts: 193
Joined: Mon Apr 03, 2006 7:55 pm
Location: Cape Cod Ma
Contact:

Telnet - Nagle and telnet lags.

Post 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
++++++++++++++++++++
Retro BBS Games
Telnet://bbs.retrobbsgames.net
++++++++++++++++++++

User avatar
dspain
Posts: 2102
Joined: Sun May 07, 2006 10:38 pm
Location: richmond,virginia
Contact:

Re: Telnet - Nagle and telnet lags.

Post 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 :)

corvey
Posts: 19
Joined: Thu Feb 15, 2007 4:47 am

Post 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?

Drex
Posts: 209
Joined: Mon Dec 04, 2006 10:09 pm

Post 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

corvey
Posts: 19
Joined: Thu Feb 15, 2007 4:47 am

Post 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.

Drex
Posts: 209
Joined: Mon Dec 04, 2006 10:09 pm

Post 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.

jvronis
Posts: 17
Joined: Mon Apr 05, 2010 2:24 am

Setting Up BBS Telnet way to difficult

Post 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!
VICTOR G

Post Reply