Live data from Hacker News

Magic-trace – High-resolution traces of what a process is doing

github.com

1–10 of 146 posts

Re: Magic-trace – High-resolution traces of what a process is doing

#2
Hi HN! I'm Clark, one of the maintainers of magic-trace.

magic-trace was submitted before, our first announcement was this blog post: https://blog.janestreet.com/magic-trace/.

Since then, we've worked hard at making magic-trace more accessible to outside users. We've heard stories of people thinking this was cool before but being unable to even find a download link.

I'm posting this here because we just released "version 1.0", which is the first version that we think is sufficiently user-friendly for it to be worth your time to experiment with.

And uhh... sorry in advance if you run into hiccups despite our best efforts. Going from dozens of internal users to anyone and everyone is bound to discover new corners we haven't considered yet. Let us know if you run into trouble!

Re: Magic-trace – High-resolution traces of what a process is doing

#4
post #3

Needs a Skylake or later CPU, linuxers can cat /sys/devices/cpu/caps/pmu_name to find if they're invited to the party

One of the maintainers here -- it should work on Broadwell if you're not super keen on the tens-of-nanoseconds timing precision and are okay with microsecond precision (i.e. only want accurate callstacks),

  grep intel_pt /proc/cpuinfo
should do the trick.

Re: Magic-trace – High-resolution traces of what a process is doing

#5
post #2

Hi HN! I'm Clark, one of the maintainers of magic-trace. magic-trace was submitted before, our first announcement was this blog post: https://blog.janestreet.com/magic-trace/ . Since then, we've worked hard at making magic-trace more accessible to outside users. We've heard stories of people thinking this was cool before but being unable to even find a download link. I'm posting this here because we just released "ve…

Thanks for sharing this.

Re: Magic-trace – High-resolution traces of what a process is doing

#9
post #6

Nice. And it satisfies my curiosity about whether trading firms are switching to AMD or not

I don’t know that this definitively answers that question. It’s possible to use a different architecture based on cost/performance and keep a small population of Intel machines in service because you want access to their superior PMUs. Most of what you learn on the latter would still apply to the former.
Post reply on HN