Re: [9fans] reminder: ratrace, acid tracing, dtracy, etc.

2025-02-19 Thread Matt Wilbur
Thanks for this. I am a long time Linux user (since about 1994) and use strace, gdb, tcpdump, etc quite often, especially in an embedded environment (ie terminal) so am gradually figuring out the plan 9 tools like snoopy. Acid of course is more involved. I’m also trying to read code as a means

[9fans] Plan9/9front xhci panic: IOMMU

2025-02-19 Thread tlaronde
FWIW, I stumbled upon a message, from a Linux user, about the Linux kernel behaving very similarily to what I see on the AM08PRO with 9front pc64 kernel when not disabling xhci. Quoting (not editing; almost same behavior as the one I see is at the end of the quote after "Edit #1:": ---8<--- For ba

Re: [9fans] Physical cores vs. logical cores (hardware threads)

2025-02-19 Thread Paul Lalonde
Hyperthreading *is* interesting, but the cost is high. As soon as you have out-of-order execution you've freed instruction decode from the execution units. And then you start looking for more ways to increase utilization of those units. Part of it comes from your program's instruction stream (the

Re: [9fans] Physical cores vs. logical cores (hardware threads)

2025-02-19 Thread tlaronde
On Wed, Feb 19, 2025 at 12:17:48PM -0800, ron minnich wrote: > your summary of hyperthreading is basically right. In 2011, the K8/K10 we > were using did not have hyperthreading. > > Most HPC sites, including LANL, where I worked, tended to turn > hyperthreading off, as it was at best a mixed bles

Re: [9fans] Physical cores vs. logical cores (hardware threads)

2025-02-19 Thread ron minnich
your summary of hyperthreading is basically right. In 2011, the K8/K10 we were using did not have hyperthreading. Most HPC sites, including LANL, where I worked, tended to turn hyperthreading off, as it was at best a mixed blessing. I note that many cloud providers have turned it off, for security

[9fans] reminder: ratrace, acid tracing, dtracy, etc.

2025-02-19 Thread ron minnich
Not sure now many new people are here, but if you ever miss things like strace, just be aware that plan 9 and 9front have alternatives. I wrote ratrace, long ago, and still find it useful, so that's my goto tracer; paper here. https://5e.iwp9.org/slides/ratracetalk.pdf the idea for ratrace came f