From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 845 invoked from network); 21 Oct 2022 16:06:23 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 21 Oct 2022 16:06:23 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 9front; Fri Oct 21 12:04:46 -0400 2022 Received: from abbatoir (pool-108-27-53-161.nycmny.fios.verizon.net [108.27.53.161]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 73766ef4 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Fri, 21 Oct 2022 09:04:45 -0700 (PDT) Message-ID: <106C8B7544ED8BDF80597DD9B0DA7A72@eigenstate.org> To: 9front@9front.org Date: Fri, 21 Oct 2022 12:04:42 -0400 From: ori@eigenstate.org In-Reply-To: <3707ae90-8a68-4eec-bb3e-b67ee5841182@app.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: encrypted leveraged enhancement Subject: Re: [9front] Speeding up snoopy(8) Reply-To: 9front@9front.org Precedence: bulk Quoth David Arroyo : > On Thu, Oct 20, 2022, at 12:03, Sigrid Solveig Haflínudóttir wrote: > > It would be nice to have a way to get monotonic timestamps in userspace > > without having to go into the kernel. For now, you can try nanosec and > > see if anything changes. > > I tried using nanosec, and that was sufficient for snoopy to keep up > with a bit rate of 1.6 Gbps, with no overflows. Thank you for the tip! > > David ...should we replace the nsec() function with it? we may be able to stash nsec (and monotonic nsec?) at last context switch into tos, and interpolate using cycles.