~/talk

Tuning in-kernel routines on RISC-V

links:none on file
slides:none on file

Trying to speed kernel string and memcpy paths on RISC‑V by switching to architecture‑optimized implementations instead of the generic C fallbacks, with patches to expose detection in the CPU device node and a plan for unified discovery of ISA and microarchitectural features. Selection ideas include alternatives code patching or an IFUNC‑like resolver and runtime benchmarking like crypto does, but concerns remain about PC‑relative relocations, per‑hart performance differences and misaligned access emulation breaking some options.

AI-written summary · about

  1. 0:00Introduction to tuning
  2. 1:24Current kernel string functions
  3. 3:08Detecting fast string extensions
  4. 5:59IPA and runtime selection
  5. 8:25Microarchitecture impact
  6. 11:12Central role of memcopy
  7. 13:21Per-core performance issues
  8. 15:06Alternatives mechanism
  9. 17:13Vendor extensions and limits
  10. 19:45Cache and microarchitecture
  11. 21:08Low-hanging optimizations
  12. 22:55Dynamic selection challenges
  13. 24:41Q&A and future steps
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.