Dtrace Review
Google TechTalks2 HN recommenders · recommended in 2 months, 2011-2021
23K views · 19 years ago · talk · evergreen
A 2007 Google Tech Talk in which Bryan Cantrill demonstrates DTrace and explains how it improves debugging of both development and live production systems.
Recommended as the DTrace creator's own demonstration and a reference for dynamic tracing.
1:18:03Dtrace Review
GoogleTalksArchive
19K views • 14 years ago
2:00Shouting in the Datacenter
Bryan Cantrill
5.7M views • 17 years ago
29:48Trace Driven Development: Unifying Testing and Observability - Ted Young, LightStep
CNCF [Cloud Native Computing Foundation]
2K views • 7 years ago
1:03:55🚀 TDD, Where Did It All Go Wrong (Ian Cooper)
DevTernity Conference
619K views • 8 years ago
52:35Debugging Under Fire: Keep your Head when Systems have Lost their Mind • Bryan Cantrill • GOTO 2017
GOTO Conferences
101K views • 9 years ago
46:37Zebras All the Way Down - Bryan Cantrill, Uptime 2017
Code & Supply
49K views • 9 years ago
2:50Live Debugging in Smalltalk
jarober
1K views • 18 years ago
14:06Tomorrow Corporation Tech Demo
retrogameinternals
107K views • 3 years ago
20:59Jim Coplien and Bob Martin Debate TDD
alexsmail
163K views • 14 years ago
32:02Autonomous Testing and the Future of Software Development - Will Wilson
The Linux Foundation
7K views • 7 years ago
2:00:28Ubuntu Slaughters Kittens | BSD Now 103
Jupiter Broadcasting
39K views • 11 years ago
2:13:32The Cantrill Strikes Back | BSD Now 117
Jupiter Broadcasting
9K views • 10 years ago
1:03:45How We Diagnosed and Fixed the 2023 Voyager 1 Anomaly from 15 Billion Miles Away
Flight Software Workshop
17K views • 1 year ago
27:29Software Engineering's Greatest Hits
Greg Wilson
25K views • 5 years ago
40:56"Liberating the Smalltalk lurking in C and Unix" by Stephen Kell
Strange Loop Conference
25K views • 12 years ago
43:28Leaping the chasm from proprietary to open: A survivor's guide
Bryan Cantrill
14K views • 11 years ago
40:01Keynote - Preventing, Finding, and Fixing Bugs On a Time Budget | Raymond Hettinger @ PyBay2018
SF Python
27K views • 8 years ago
1:45:47Bryan Cantrill on Jails and Solaris Zones
PapersWeLove
34K views • 10 years ago
38:20Twitter and Visual Studio Rant
Molly Rocket
158K views • 6 years ago
35:25Saving Voyager 1! - Bruce Waggoner at !!Con 2024
!!Con
8K views • 2 years ago
4 comments from Hacker News
> Code, on the other hand, is a social constrution but entirely confined in an abstract and mathematical world. Brian Cantrill had a good observation in a 2007 Google TechTalk introducing Dtrace: > In software the blueprints are the machine. In software once you design the thing you've built it: the design is the machine. That's why the waterfall model is so fundamentally flawed. This idea that you could design the design before you design it, which is what the waterfall model is essentially saying, is flawed. Software is both, it's both information and machine. (@3m40s) * ▶ this video I originally ran across it on Google Video: * link
That sounds very believable and would have slowed commercial SPARC users from switching to whitebox x86, likely intentionally, but would have had no relevance to startups and the rapid onslaught of hyperscalers. A video that amuses me with respect to engineering culture and organization blindness is Cantrill doing a DTrace demo at Google in 2007 ▶ this video . The audience seems completely unaware about the significance of what they are seeing. The length of time between Linux getting cogent tracing support is telling. GOOG could have single-handedly propped up an extra-Sun OpenSolaris community, and there would have been nice symbiosis considering their early container usage and how long that took to grow as well.
> Does anyone have any inside knowledge of when, if ever, DTrace might become a standard/official part of Linux? Never. Due to dtrace being licensed under the CDDL it will never be mainlined into the upstream kernel. I would be keen to point out this does not mean there is a conflict of licenses from a legal point of view. Before anyone starts making claims like "you're not allowed to do this", see the use of the ZFS kernel module in recent releases of Ubuntu. I shall say no more on the matter as a refuse to be drawn into a licensing debate... Getting back on topic, those seeking more on user space providers should check out this video from Bryan Cantrill. ▶ this video Full disclosure I never had to run Solaris in production so I can look back on Sun with rose tinted glasses. That said I still long for many of the features it pioneered. Seriously ZFS would eliminate half of my production problems and dtrace would make the remaining half solvable.
Similar experience here, except that I've solved similar issues (and far more complicated issues) with DTrace instead of strace. The range of information that DTrace can retrieve about a running application surpasses anything that strace can retrieve. DTrace can retrieve information on a systemic scale, whereas each strace instance operates on a single process. And the overhead is significantly lower with DTrace. For many of the systems applications I design for Illumos, I've used DTrace probes as a way of logging very frequent events, on demand (to avoid frequent IO). All of the events that _must_ be logged for the application to function properly, are logged and fsync'd. I think that in most systems dynamic tracing will eventually replace a significant portion of the logging functionality that people code into their applications. Either way, if you think strace is sweet, give DTrace a spin. Some helpful links: [0] A video demostration of DTrace, by the creator of DTrace. [0] ▶ this video [1] A post I wrote, demonstrating DTrace. Similar posts can be found on the blog's dtrace-addict page. [1] link [2] A wiki that contains DTrace examples for various languages and system facilities. Some examples may be Illumos-centric. [2] link [3] DTrace's home. Contains blogs by the engineers behind DTrace. [3] link UPDATE: Meant to reply to parent's parent.