Subject: Slow TCP
To: None <tech-net@NetBSD.org>
From: Gavan Fantom <gavan@coolfactor.org>
List: tech-net
Date: 11/15/2004 21:44:51
Hi folks,

I've just tried to print a file to a remote printer, and the (rather 
large) file was sent to the printer at a pitifully slow rate.

Here's an extract from tcpdump. xxxxx is the printer, yyyyy is the sending 
host, which is running NetBSD 2.0_BETA.

Notice that between 21:50:34.927159 and 21:50:36.419661 there's a pause of 
roughly a second and a half between an ack and sending more data. Is this 
normal? Such gaps always seem to be at the host end.

21:50:34.920865 xxxxx.printer > yyyyy.1004: 
. ack 1437864 win 62792 <nop,nop,timestamp 32324035 5413>
21:50:34.920883 yyyyy.1004 > xxxxx.printer: 
. 1437864:1439312(1448) ack 1 win 33580 <nop,nop,timestamp 5413 32318635> 
(DF)
21:50:34.920890 yyyyy.1004 > xxxxx.printer: 
. 1439312:1440760(1448) ack 1 win 33580 <nop,nop,timestamp 5413 32318635> 
(DF)
21:50:34.922182 xxxxx.printer > yyyyy.1004: 
. ack 1440760 win 59896 <nop,nop,timestamp 32324035 5413>
21:50:34.922192 yyyyy.1004 > xxxxx.printer: 
. 1440760:1442208(1448) ack 1 win 33580 <nop,nop,timestamp 5413 32318635> 
(DF)
21:50:34.922197 yyyyy.1004 > xxxxx.printer: 
. 1442208:1443656(1448) ack 1 win 33580 <nop,nop,timestamp 5413 32318635> 
(DF)
21:50:34.922205 yyyyy.1004 > xxxxx.printer: 
. 1443656:1445104(1448) ack 1 win 33580 <nop,nop,timestamp 5413 32318635> 
(DF)
21:50:34.923061 xxxxx.printer > yyyyy.1004: 
. ack 1440760 win 64240 <nop,nop,timestamp 32324035 5413>
21:50:34.925987 xxxxx.printer > yyyyy.1004: 
. ack 1442208 win 64240 <nop,nop,timestamp 32324035 5413>
21:50:34.925996 yyyyy.1004 > xxxxx.printer: 
. 1445104:1446552(1448) ack 1 win 33580 <nop,nop,timestamp 5413 32318635> 
(DF)
21:50:34.927159 xxxxx.printer > yyyyy.1004: 
. ack 1442208 win 64240 <nop,nop,timestamp 32324035 5413>
21:50:36.419661 yyyyy.1004 > xxxxx.printer: 
. 1442208:1443656(1448) ack 1 win 33580 <nop,nop,timestamp 5416 32318635> 
(DF)
21:50:36.420997 xxxxx.printer > yyyyy.1004: 
. ack 1443656 win 62792 <nop,nop,timestamp 32324038 5416>
21:50:36.421008 yyyyy.1004 > xxxxx.printer: 
. 1443656:1445104(1448) ack 1 win 33580 <nop,nop,timestamp 5416 32318635> 
(DF)
21:50:36.421015 yyyyy.1004 > xxxxx.printer: 
. 1445104:1446552(1448) ack 1 win 33580 <nop,nop,timestamp 5416 32318635> 
(DF)
21:50:36.422315 xxxxx.printer > yyyyy.1004: 
. ack 1446552 win 59896 <nop,nop,timestamp 32324038 5416>
21:50:36.422324 yyyyy.1004 > xxxxx.printer: 
. 1446552:1448000(1448) ack 1 win 33580 <nop,nop,timestamp 5416 32318635> 
(DF)
21:50:36.422331 yyyyy.1004 > xxxxx.printer: 
. 1448000:1449448(1448) ack 1 win 33580 <nop,nop,timestamp 5416 32318635> 
(DF)
21:50:36.422337 yyyyy.1004 > xxxxx.printer: 
. 1449448:1450896(1448) ack 1 win 33580 <nop,nop,timestamp 5416 32318635> 
(DF)

-- 
Gillette - the best a man can forget