Live data from Hacker News

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

github.com

11–20 of 146 posts

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

#12
Note that this uses an Intel-specific API, so it doesn’t currently work on AMD or ARM:

https://man7.org/linux/man-pages/man1/perf-intel-pt.1.html

> Intel Processor Trace is an extension of Intel Architecture that collects information about software execution such as control flow, execution modes and timings and formats it into highly compressed binary packets. […] The main distinguishing feature of Intel Processor Trace is that the decoder can determine the exact flow of software execution.

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

#13
post #12

Note that this uses an Intel-specific API, so it doesn’t currently work on AMD or ARM: https://man7.org/linux/man-pages/man1/perf-intel-pt.1.html > Intel Processor Trace is an extension of Intel Architecture that collects information about software execution such as control flow, execution modes and timings and formats it into highly compressed binary packets. […] The main distinguishing feature of Intel Processor Tr…

We have a bit more color on compatibility in general up on https://github.com/janestreet/magic-trace/wiki/How-could-mag...> for those interested.

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

#14
You should make it clearer in the magic trace Readme that the UI service fork used for viewing and analyzing the traces is also available should one want to deploy it locally or in a situation without Internet access:

https://github.com/janestreet/perfetto/

It is mentioned in the documentation but for anyone quickly skimming and expecting a SaaS pricing model underneath (I think many do now), that isn't obvious. From my initial scroll through this wasn't obvious and it was significantly less attractive. Looks very interesting!

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

#15
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…

I'm curious about why Standard ML (SML) was chosen for this project, given the track record Jane Street has with OCaml. Do you seen an advantage for using the former in this kind of project?

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

#16
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…

I'm curious about why Standard ML (SML) was chosen for this project, given the track record Jane Street has with OCaml. Do you seen an advantage for using the former in this kind of project?

It's all OCaml, GitHub is just misclassifying it as SML :)

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

#17
post #8

Jane Street is a prop trading shop. I heard that they take tech seriously, but still impressed to see them at the front of HN with a tool like this.

They are among the most notable users of OCaml in the world, and have taken significant stewardship of the language. They sponsor, attend, and publish at multiple academic conferences, especially in the realm of programming languages.

I don't think I can say I support their company's primary mission, but their commitment to improving the world of software through various means (language influence, academic publication, open-source software releases, etc) is admirable and well worth respecting.

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

#19
post #6

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

In HFT single-threaded performance is king so that's why we're all still on Intel. AMD is making progress but not just quite there yet.

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

#20
post #8

Jane Street is a prop trading shop. I heard that they take tech seriously, but still impressed to see them at the front of HN with a tool like this.

They are among the most notable users of OCaml in the world, and have taken significant stewardship of the language. They sponsor, attend, and publish at multiple academic conferences, especially in the realm of programming languages. I don't think I can say I support their company's primary mission, but their commitment to improving the world of software through various means (language influence, academic publicatio…

Partly because the cost of switching is impossible for them.
Post reply on HN