public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
From: John Goerzen <jgoerzen@complete•org>
To: Sergey Matveev <stargrave@stargrave•org>
Cc: nncp-devel@lists.cypherpunks.ru
Subject: Re: Efficiency of caller/toss
Date: Thu, 19 Aug 2021 21:24:06 -0500 [thread overview]
Message-ID: <871r6og8ft.fsf@complete.org> (raw)
In-Reply-To: <YR1fwaBT0wyK8eOG@stargrave.org>
On Wed, Aug 18 2021, Sergey Matveev wrote:
> Creation and deletion are wearout operations of course, but NNCP
> does
> not delete .lock files. They are created only once and then only
> open+lock syscalls are involved (src/lockdir.go).
Ahh, so it is. I misread the parameters to open() in strace.
Incidentally, on the Linux environment on my Lenovo Chromebook
Duet (a rather resource-constrained environment that runs under
multiple layers of emulation), I found nncp-caller was using about
3.5% of CPU while maintaining an otherwise-idle TCP connection,
and less otherwise. I wonder if we could have a paremeter to
decrease the rescan interval there?
- John
next prev parent reply other threads:[~2021-08-20 2:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-18 13:56 Efficiency of caller/toss John Goerzen
2021-08-18 18:14 ` Sergey Matveev
2021-08-18 19:20 ` John Goerzen
2021-08-18 19:29 ` Sergey Matveev
2021-08-20 2:24 ` John Goerzen [this message]
2021-08-20 10:28 ` Sergey Matveev
2021-08-20 19:19 ` John Goerzen
2021-08-21 18:38 ` Sergey Matveev
2021-08-23 14:10 ` Sergey Matveev
2021-09-02 9:06 ` Sergey Matveev
2021-09-02 13:07 ` John Goerzen
2021-09-02 13:34 ` Sergey Matveev
2021-08-20 10:23 ` Sergey Matveev