public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
To: nncp-devel@lists.cypherpunks.ru
Subject: Re: New -autotoss option
Date: Fri, 8 Jan 2021 13:00:05 +0300 [thread overview]
Message-ID: <X/gtJSDRWPknoC3K@stargrave.org> (raw)
In-Reply-To: <87k0so77r6.fsf@complete.org>
[-- Attachment #1: Type: text/plain, Size: 1066 bytes --]
Greetings!
*** John Goerzen [2021-01-07 15:32]:
>In other words, every time we transition in state from "remote host has
>packets for us" to "remote host no longer has packets for us", we toss.
There is no such kind of states inside, that is why there is just
timeout mechanism based on onlinedeadlines. So there will be always
race: toss may be started, but actually remote side's packet was already
on the wire. Toss will burden the drives, possibly making data transfer
slower.
However the same applies to nncp-toss running in background. I think
that will be relatively easy to run tosser when connection is alive
either after some timeouts after the last packet were received, or just
every second (that has little overhead). I think it will be useful for
not keeping nncp-toss running if no connections are made at all.
So I will add it ((optional) tossing while the connection is online),
but probably not on current week.
--
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: CF60 E89A 5923 1E76 E263 6422 AE1A 8109 E498 57EF
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2021-01-08 10:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-07 15:31 [EN] NNCP 5.5.0 release announcement Sergey Matveev
2021-01-07 21:23 ` John Goerzen
2021-01-07 21:32 ` New -autotoss option John Goerzen
2021-01-08 10:00 ` Sergey Matveev [this message]
2021-01-08 10:01 ` Sergey Matveev
2021-01-08 13:38 ` John Goerzen
2021-01-08 9:45 ` [EN] NNCP 5.5.0 release announcement Sergey Matveev
2021-01-08 13:43 ` John Goerzen
2021-01-08 13:53 ` Sergey Matveev