9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: 9front@9front.org
Subject: Re: [9front] Speeding up snoopy(8)
Date: Fri, 21 Oct 2022 12:04:42 -0400	[thread overview]
Message-ID: <106C8B7544ED8BDF80597DD9B0DA7A72@eigenstate.org> (raw)
In-Reply-To: <3707ae90-8a68-4eec-bb3e-b67ee5841182@app.fastmail.com>

Quoth David Arroyo <droyo@aqwari.net>:
> 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.

  reply	other threads:[~2022-10-21 16:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-18  4:57 droyo
2022-10-20 15:55 ` David Arroyo
2022-10-20 16:03   ` Sigrid Solveig Haflínudóttir
2022-10-21 15:38     ` David Arroyo
2022-10-21 16:04       ` ori [this message]
2022-10-21 16:54         ` David Arroyo
2022-10-21 17:10           ` ori
2022-10-21 17:40       ` Lyndon Nerenberg (VE7TFX/VE6BBM)
2022-10-21 18:52         ` ori
2022-10-21 19:23           ` ori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=106C8B7544ED8BDF80597DD9B0DA7A72@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9front@9front.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).