Threadwell

Recent Notes

  • Threads

    Aug 25, 2026

    • archive
  • nicbarkeragain

    Aug 25, 2026

    • archive
    • twitter
    • nicbarkeragain
  • vkrajacic

    Aug 25, 2026

    • archive
    • twitter
    • vkrajacic
Home

❯

Archive

❯

Threads

❯

NOTimothyLottes

❯

Interesting how on this Linux box, scheduling NOPs like nanosleep of 0 and futex waiting on an already set memory location … both take around 60 microseconds, cannot afford to do many of those per millisecond.

❯

@axelgneiting The glibc implementation would do that.

@axelgneiting The glibc implementation would do that.

Properties5
typearchive
sourcetwitter
date2026-06-13
tagsarchive, twitter, notimothylottes
description@axelgneiting The glibc implementation would do that.

Jun 13, 20261 min read

  • archive
  • twitter
  • notimothylottes

Source

  • URL: https://x.com/NOTimothyLottes/status/2065872197147578751
  • Author: NOTimothyLottes (@NOTimothyLottes)
  • Posted: 2026-06-13 19:01:28

Branch

1/ @NOTimothyLottes

@axelgneiting

The glibc implementation would do that. I bypass libc and just do it manually with perf_event_open syscall and mmap.

Related

  • Spine: 2026-06-13-interesting-how-on-this-linux-box-scheduling-nops

Graph View

  • Source
  • Branch
  • Related

Created with Quartz v5.0.0 © 2026

  • GitHub