public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
* Issues with very large packets
@ 2021-02-18 21:35 John Goerzen
  2021-02-19 12:36 ` Sergey Matveev
  0 siblings, 1 reply; 8+ messages in thread
From: John Goerzen @ 2021-02-18 21:35 UTC (permalink / raw)
  To: nncp-devel

Hi folks!

So this week I had the occasion to send some 250GB packets through 
NNCP.  This generally worked in the end, but had two interesting 
foibles along the way.

First, nncp-stat was extremely slow on a system that had packets 
like that queued for transmission.  I'm wondering if it is trying 
to read all the packets, even when called with no parameters?

The other is a new twist on the timeout problem I mentioned 
previously.  I previously encountered it post-receive when the 
receiving end would do a time-consuming check on a largeish (say, 
10GB) packet.

With these very large packets, I also encountered it at the 
beginning of a call.  nncp-daemon on the transmitting side 
apparently was taking too long at call establishment, and 
nncp-call would timeout (with the same error I'd mentioned 
previously) without receiving anything.  Interestingly, if 
nncp-call would try again immediately, it would work.  By cycling 
through this timeout/working/timeout/working pattern, eventually 
all the data was transmitted.

It makes me wonder if nncp-daemon was doing some sort of expensive 
scan at the beginning of the call, and either it or the OS cached 
the results?  Not quite sure there.

Anyhow, thanks again!

- John

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-02-21  8:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-18 21:35 Issues with very large packets John Goerzen
2021-02-19 12:36 ` Sergey Matveev
2021-02-19 19:18   ` John Goerzen
2021-02-19 19:46     ` Sergey Matveev
2021-02-19 20:34       ` John Goerzen
2021-02-20 19:56         ` Sergey Matveev
2021-02-21  4:31           ` John Goerzen
2021-02-21  8:27             ` Sergey Matveev