Slashdot Mirror


Solaris' Dtrace in Detail

paulkoan writes "The Register has a further details about the new Dtrace systems utility bundled with Solaris 10, along with pictures of the authors, and user testimonials. It also highlights Suns vague assurances that this (if it lives up to the hype) amazing utility may or may not end up in the public domain."

64 of 212 comments (clear)

  1. assurance of what ??? by mirko · · Score: 3, Funny

    It also highlights Suns vague assurances that this amazing utility may or may not end up in the public domain."

    so, we are assured of a and !a ???

    --
    Trolling using another account since 2005.
    1. Re:assurance of what ??? by Anonymous Coward · · Score: 4, Funny
      so, we are assured of a and !a ???

      No, we're assured of a or !a.

      Although knowing Sun, they're probably trying for a and !a and wondering why it won't work...

    2. Re:assurance of what ??? by 4lex · · Score: 2, Funny

      It also highlights Suns vague assurances that this amazing utility may or may not end up in the public domain." so, we are assured of a and !a ???

      No, we are _vaguely_ assured of a *or* !a. I thought Sun made it clear enough! ;)

      --
      My journal. Mainly about freedom.
  2. And what is DTrace? by Anonymous Coward · · Score: 4, Insightful

    It looks like it's an allround system monitoring and administration tool. But how is it different/better than a well-sorted collection of individual tools, each doing one job as good as possible?

    1. Re:And what is DTrace? by davecb · · Score: 5, Informative

      It's a mechanism for adding trace calls to pretty-nearly-arbitrary locations.

      --
      davecb@spamcop.net
    2. Re:And what is DTrace? by int19 · · Score: 5, Informative

      It is much, much more than that. The problem I find with a "well-sorted collection of individual tools" in this case is the complexity/difficulty/impossibility to do what dtrace can do. Check out this usenet posting for some examples.

      I've been using it for a little while, it's a very interesting tool.

    3. Re:And what is DTrace? by afidel · · Score: 4, Interesting

      VERY cool indeed. Seems better than any tool for any OS I've seen. The closest would be process explorer from sysinternals but the level of detail is nowhere near what dtrace provides. For instance one thing that I've never been able to figure out is how to backtrace a file lock to the owner process.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    4. Re:And what is DTrace? by chegosaurus · · Score: 4, Informative

      That's kind of like saying perl is an all round text processing tool, then asking why using perl is better than using cut, sort, and tr.

      You can do a lot with cut sort and tr. Often they're all you need, but perl lets you solve problems those three tools can't even address.

      I'd recommend grabbing a Solaris 10 beta and having a play with this thing. It's pretty amazing.

    5. Re:And what is DTrace? by christophersaul · · Score: 2, Insightful

      Reading the article would help you find out.

  3. It's about time (;-)) by davecb · · Score: 4, Interesting

    Dtrace is a lovely mechanism, and once it's out in production Solaris (and maybe Linux) I'm going to write a new TPS/response-time monitor using it.

    --
    davecb@spamcop.net
    1. Re:It's about time (;-)) by int19 · · Score: 3, Funny

      Yes, I got them memo, and I've already taken care of it ... so ... it's not really a problem anymore.

      ;-)

    2. Re:It's about time (;-)) by little_fluffy_clouds · · Score: 3, Funny

      Yeah. It's just we are putting new coversheets on the TPS reports before they go out, so if you could go ahead and try to remember to do that from now on, that would be great.

      --
      What were the skies like when you were young?
    3. Re:It's about time (;-)) by sql*kitten · · Score: 4, Funny

      going to write a new TPS/response-time monitor using it.

      Did you get the memo about the cover sheet?

  4. terrrible article by XMichael · · Score: 4, Insightful

    This article seems like it was written by Sun. I bet it's one of them junket articles, Sun must be a major sponsor of theregister.co.uk or something...

    The article says what this D-Trace does, but yet, doesn't... Not to mention it's neither objective, review like, and even fails to mention alternatives or relative tools

    Definately one of the poorest software article's I've seen in a while

    Slashdot is making me bitter (-;
    Complete CCTV Security Cameras

    1. Re:terrrible article by Handyman · · Score: 4, Insightful

      Sun must be a major sponsor of theregister.co.uk or something...

      I must agree that the article is pretty positive about the whole thing. But a positive review is not necessarily a bought review. In fact, the article does contain an angle that is not likely to be sponsored by Sun: open sourcing it, and open sourcing solaris. They explicitly make fun of Sun's president, who is evading their questions about open sourcing DTrace. From the article:

      So there you have it. DTrace may or may not end up in the public domain. Glad that's settled.

    2. Re:terrrible article by Anonymous Coward · · Score: 3, Informative

      The article says what this D-Trace does, but yet, doesn't..
      The article gives sample uses, but it isn't a howto. I don't usually go to the register for technical howto's, do you? The article does link to more info on how to use the utility.

      Not to mention it's neither objective,
      Nor is it wholy pro-sun, it jabs the rep for not directly saying whether or not it will be open sourced and repeatedly makes comments about the hype ("It slices, it dices, it spins, it whirls").

      and even fails to mention alternatives or relative tools
      It mentions that various system utilities could be used to do somewhat the same thing, on a much different level, one of the testimonials mentions that a debugger could have been used too, but would have been slower and another user mentions using prex to get similar information.

    3. Re:terrrible article by the+chao+goes+mu · · Score: 2, Funny

      At least it doesn't say Dtrace was a scalable,, three-tier, object-oriented, java-driven solution engine...

      --
      Boys from the City. Not yet caught by the Whirlwind of Progress. Feed soda pop to the thirsty pigs.
    4. Re:terrrible article by Hubert_Shrump · · Score: 2, Funny

      you're thinking of longhorn.

      --
      Keep your packets off my GNU/Girlfriend!
  5. indeed! by rylin · · Score: 3, Funny

    Bingo!
    In fact, you can bet your life that it will or won't show up in public domain.
    Now this is what I call a nice and reputable company! At least they keep what they promise!

  6. Very Useful by trifakir · · Score: 2, Interesting

    Sounds great and I am quite impatient to see how it works (take a mental note to increase the priority of the Solaris upgrade on one of my toy SPARCs). I can see a growing need for a non-obtrusive profiling tool. As a matter of fact I started writing something which may be similar to dtrace for Linux and it is for a long time in my TODO to port it to Solaris and maybe IRIX.

    1. Re:Very Useful by kscguru · · Score: 4, Informative
      Okay, since you've felt the need to hype DProbes at least a couple of times, I'll pull from the DTrace USENIX paper (link was somewhere up above).

      The major difference: a huge amount of polish. DProbes can crash your system if used incorrectly; DTrace is guaranteed safe. DProbes reports just about everything; DTrace supports speculative tracing and predicates so you can narrow down the fire-hose of profiling data into the useful information. DProbes doesn't scale well across multiple CPUs; DTrace does. (This last one is just like Linux versus Solaris: one scales, the other doesn't. Sorry!)

      So, yes. If IBM had spent the past four years tuning DProbes and turning it into a useful tool, they might have something. As it is, Sun spent quite a bit of time and money, and ACTUALLY CREATED a very powerful tool.

      [rant]What is increasingly bugging me about open source advocates on Slashdot is how they'll look at any (ANY!) closed-source tool and say "oh, open-source tool XYZ does this / did this a few years ago / will make you walk on water". These advocates will cheerfully ignore that the closed-source tool has months or years of additional polish that have brought it from an internal company toy project into a commercially viable tool - that the open source tool of now is no more advanced than the closed source tool of years ago, except that most open source tools are stagnant and will never leave development and never obtain the degree of polish wide-scale use demands.

      A message to open-source advocates: if you don't spend the time turning your hobbyist code into solid, professional code, the closed-source companies that DO spend the time will leave you in the dust - freedom of code (both free as in beer and free as in GNU) notwithstanding.[/rant]

      --

      A witty [sig] proves nothing. --Voltaire

  7. other resource by SubtleNuance · · Score: 5, Informative

    An excellent article at sys admin mag.

  8. just to save you all some trouble by chegosaurus · · Score: 5, Insightful

    No, linux does not already do this.

    Solaris users could not care less whether Sun ports it to linux or not.

    Sun are *not* evil because they don't immediately give away the source to a product which has taken them years and $$$s to develop and which gives them an edge in a competetive market.

    Some people just prefer Solaris. If you prefer linux, that's fine.

    1. Re:just to save you all some trouble by chegosaurus · · Score: 4, Insightful

      Wasn't meant to sound superior! I use both (and OpenBSD) myself. I'm expecting this thread to be full of ill-informed "linux does this Slowaris is teh sux" posts and whining about "why won't they GPL it it"?

      So I guess I'm saying, if you're 100% linux, that's cool. I certainly don't need to hear about j00r leet gentoo boxen in a Solaris thread. You know the kind of person I mean!

    2. Re:just to save you all some trouble by dpb · · Score: 4, Informative

      > No, linux does not already do this.

      Yes, it does (well, 85% of it at least), in the form of DProbes. Dynamic Probes was ported by IBM from OS/2 to Linux way back in 2000, is distributed by SuSE and some parts are in 2.6 kernel out-of-box.

  9. Dtrace slashdot by hhg · · Score: 3, Funny

    I bet someone has to DTrace his slashdotted server real soon now..

  10. Re:Lots of users == good. by mollymoo · · Score: 4, Funny
    If I can't use it, then I'll never learn about how good it is.

    So if some software isn't in the Gentoo portage tree you won't run it on your Solaris boxes at work?

    This is proprietary software for a version of Solaris which isn't even out yet.

    Remind me not to employ you as a Solaris sysadmin. Hell, remind me not to employ you to make the tea - we might have different cups at work and you wouldn't know what to do with them.

    --
    Chernobyl 'not a wildlife haven' - BBC News
  11. Re:Huh? Quantum leap? by sarabob · · Score: 3, Funny

    No, he means that it's a relatively large change with no intermediate positions.

    "very small" is only your perception of the size of change. Moving between a base state and an excited state is a pretty big thing for an atom.

  12. a || !a = 1 by pjt33 · · Score: 2, Funny

    No, we're vaguely assured that [i]true[/i].

  13. i/o preformance tuning by xyote · · Score: 4, Informative
    I've used stuff that gave you a realtime display of i/o perfmance stats and you could see when the hotpoints were happening. The problem was how to fix it. It's not like the old days when you had maybe 3 disks and you just moved a filesystem or database partition to another disk. Now you have huge amounts of raid storage with logical volume managers and your logical volumes (partitions) are all over the place. It's not so easy. You could see a hot spot and determine that it's caused by two logical volumes sharing a physical drive. Except when you move one to a different drive, you could create different hot spots and they could be much worse. Kind of like wack-a-mole except you're playing it while you're on call. Not fun.

    It's a hugely complicated problem and it doesn't have a simple solution except in the minds of markedroids.

  14. Re:Huh? Quantum leap? by Darkfred · · Score: 2, Informative

    I think you do not have a good understanding of the meaning of the word quantum.
    Quantum means 'a level, or fixed amount'. In Quantum mechanics this refers to the smallest observable physical effects. At which point changes in energy are in fixed 'Levels' (ohh like Qunatums) rather than smooth functions.

    So in this article he is saying that this has reached the next level. And that you are a dimwit.

    Thank you very much,
    QED

    --
    ----- 70% of all statistics are completely made up.
  15. looking glass by stripyd · · Score: 3, Interesting

    I'm not sure how much of an indicator the open sourcing of looking glass is for what Sun decide to do with dtrace. Looking Glass never seemed to be anything more than a nice piece of eye candy to showcase the java desktop (the real product they were flogging). dtrace on the other hand looks like being one of their biggest pieces of product differentiation for Solaris in years. We all know how finance departments like those transactions-per-second->cost-per-transaction figures in making procurement decisions...

    I suppose we'll have to wait and see...

  16. Microsoft perfmon by esarjeant · · Score: 3, Interesting

    Not to be the devils advocate, but Microsoft has offered excellent detailed profile management via perfmon for quite some time now. You can inspect disk IO per-processes, memory per-processes, page faults, etc. etc.

    It's a bit of a misnomer to characterize dtrace as the first application for doing this, although I will say it's among the first that I have seen that is scriptable (a huge advantage when troubleshooting problems remotely).

    --

    Eric Sarjeant
    eric[@]sarjeant.com

    1. Re:Microsoft perfmon by Anonymous Coward · · Score: 2, Informative

      DTrace does much, much more than what perfmon does. They aren't even close to the same level in terms of their capabilities. And I say this, while being Windows developer myself..

    2. Re:Microsoft perfmon by AliasTheRoot · · Score: 2, Interesting

      It's been a while since I adminned any Solaris boxes in anger, but there was stuff on them that was equivalent or better than perfmon, and this was back with 2.7 / 2.8 machines.

    3. Re:Microsoft perfmon by Zode · · Score: 5, Insightful

      are you kidding? DTrace lets you do this not just per process, but per instruction, across CPUs. Comparing DTrace to perfmon is like comparing a Ferrari to a tricycle.

  17. Sun reminds me of H2G2 philosophers by arvindn · · Score: 4, Funny

    Sun's vacillation about open source reminds me of the philosophers in the Hitchhiker's guide.


    ``But who the devil are you?'' exclaimed an outraged Fook.

    ``We,'' said Majikthise, ``are Philosophers.''

    ``Though we may not be,'' said Vroomfondel waving a warning finger at the programmers.

    ``Yes we are,'' insisted Majikthise. ``We are quite definitely here as representatives of the Amalgamated Union of Philosophers, Sages, Luminaries and Other Thinking Persons, and we want this machine off, and we want it off now!''

    ``What's the problem?'' said Lunkwill.

    ``I'll tell you what the problem is mate,'' said Majikthise, ``demarcation, that's the problem!''

    ``We demand,'' yelled Vroomfondel, ``that demarcation may or may not be the problem!''

    ``You just let the machines get on with the adding up,'' warned Majikthise, ``and we'll take care of the eternal verities thank you very much. You want to check your legal position you do mate. Under law the Quest for Ultimate Truth is quite clearly the inalienable prerogative of your working thinkers. Any bloody machine goes and actually finds it and we're straight out of a job aren't we? I mean what's the use of our sitting up half the night arguing that there may or may not be a God if this machine only goes and gives us his bleeding phone number the next morning?''

    ``That's right!'' shouted Vroomfondel, ``we demand rigidly defined areas of doubt and uncertainty!''

  18. Interesting... by starseeker · · Score: 5, Interesting

    They seem to have a lot of praise from users, not just market speak. And technical users yet.

    I'd be very, VERY surprised if Sun allows Dtrace into the open source world, at least not for a while. If Dtrace really is the supertool it seems to be, and is actually and massively UNIQUE, it represents a reason peole will move to Solaris and buy Sun's hardware to do it. Maybe the closest thing to a Unix killer app that has existed for a while.

    Now eventually (as in five years down the road) it will probably pay for Sun to open it up. If I were them, I'd milk it for all its worth on the "get people to move to Sun boxes" mantra, while the rest of the world trys (and probably fails) to duplicate the tool. Then, when Sun has gotten all the converts they are likely to, start making the tool even BETTER by opening it up and letting the world go to town on it. (GPL or something similar so Sun can incorporate back in the goodies.)

    Of course, that's just an off the cuff theory by someone who doesn't know.

    --
    "I object to doing things that computers can do." -- Olin Shivers, lispers.org
    1. Re:Interesting... by gr8_phk · · Score: 3, Insightful
      "Maybe the closest thing to a Unix killer app that has existed for a while."

      Ya, sysadmins are always trying to optimize code in the core applications they bought from vendors. NOT.

      It's not useless, but the examples cited were from application developers optimizing their code.

  19. Understanding and using Dtrace by ChrisRijk · · Score: 5, Informative

    Dynamic Instrumentation of Production Systems - this paper was presented at Usenix, and describes how Dtrace is actually implemented.

    Dtrace user guide.

    A collection of Dtrace scripts

  20. Re:Lots of users == good. by Anonymous Coward · · Score: 2, Informative

    Grr. No-one understands what I meant.

    Which is what - you don't have an opportunity to play with it at home? But you do - you can get a Solaris 10 preview through their Sun Express program (linked in the article) and install it on another box, in VMWare, etc.

  21. Kprobes and Dprobes by Anonymous Coward · · Score: 4, Interesting


    How does Dtrace for Solaris differ from Kprobes and Dprobes for Linux ??

    1. Re:Kprobes and Dprobes by Dug · · Score: 5, Informative
      The Usenix paper has some detail on the differences.

      Dtrace Usenix Paper

      More examples in answerbook from the BigAdmin Dtrace page

    2. Re:Kprobes and Dprobes by Anonymous Coward · · Score: 5, Interesting

      The mechanism (dynamic instrumentation) is similar. What makes DTrace unique over and above k/dprobes is the incredible power of the 'D' script language. It features things such as speculations (look at the docs on sun.com) that are absolutely vital in many situations for diagnosing problems - too much data is often as bad as too little data, and DTrace lets you easily get exactly the data you want, and only the data you want.

      You can find a small section comparing kprobes with DTrace in the DTrace USENIX paper; it also mentions some other differences (kprobes can easily crash your production system; that won't happen with DTrace).

  22. Re:Hmmm by Anonymous Coward · · Score: 3, Funny

    Give system catchy name, vaguely reminiscent of Eminem's rap group

    I'm sure they did this to appeal to the disproportionately-large numbers of African-Americans in the field of computer science.

  23. New Tool? Maybe for Solaris... by Procrastin8er · · Score: 2, Informative

    Not sure what all the hype is about, DTrace sounds alot like HP's Measureware and PerfView. Bundling it with the OS for no addition cost, that sounds good to me.

    --
    Slashdot - Where the slash is most definitely to the left.
  24. Re:Lots of users == good. by afidel · · Score: 4, Informative

    Well you CAN get Solaris 10 preview from the Express program. It's free for non-commercial use and available for x86. Downloads available here. Check out the hardware compatibility list for x86 here (don't see one specifically for Solaris 10 Express, probably the Solaris 9 list applies).

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  25. Re:Huh? Quantum leap? by AliasTheRoot · · Score: 2, Funny

    If it doesn't make me say "Oh boy..." in a resigned kind of way it is no Quantum leap.

  26. Re:Huh? Quantum leap? by malkavian · · Score: 2, Funny

    As opposed to humans, who usually exhibit more of their base states when excited.

  27. Linux Kernel Instrumentation by DaGoodBoy · · Score: 4, Informative

    The Kernel Instrumentation Process has already started creating the foundation for a kind of dtrace functionality. The profiling mechanisms appear to echo some of what Sun has done to Solaris to enable this kind of process-less profiling. Hope someone is still pushing this along...

    DaGoodBoy

    --
    My God! It's full of Voids!
    1. Re:Linux Kernel Instrumentation by Anonymous Coward · · Score: 2, Informative
      Dtrace has significant advantages over kerninst
      1. It is 'safe', that is it is difficult if not impossible for a probe to break anything in a live system.
      2. It allows arbitrary aggregation of data
      3. It allows arbitrary predicates
      4. It allows arbitrary actions
  28. Not really by Halo- · · Score: 4, Informative
    There are three issues with profiled libraries:
    1. The execution path is different between the profiled and non-profiled library, so you can not be 100% assured you are getting the same result.
    2. To engage a profiled library you have to stop and start the target process, and often play all sorts of pre-load and path games.
    3. Looking into the kernel requires even more invasion, and can mean rebooting the server.
    Basically, the idea here is that you don't have to use a possibly "different" library, and you can instrument code on the fly (without stopping the process or the box). This is really nice for production boxes where any interruption or change of software is a really big deal.
  29. Linux is not Solaris. by ehack · · Score: 5, Interesting

    I don't think Sun's open sourcing the thing will help Linux users much anyway, the kernel design is probably very different, with more evolved semantics. Which means Linux developers will hae to do the work themselves if they want their admins to have these facilites.

    Note that this is finally a tool to resolve finger-pointing *it's your app that's slow - no it's the kernel etc* . I guess IBM will find it advantageous to create a similar Linux tool for their systems, as they bill Linux as an application serving environment. So we should see it soon on our own boxen.

    The sad thing is this proves once again that closed source companies retain an edge at innovating.

    --
    This is not a signature.
  30. Other tools that do this. by welloy · · Score: 5, Interesting
    "For example, there is no tool anywhere that allows for arbitrary dynamic instrumentation of a production operating system kernel."

    actually that's not true. Kerninst does exactly that.

    Kerninst is a framework for dynamically splicing code into a running kernel, almost anywhere, anytime. Code can be removed and changed at will. Kerninst works on standard (unmodified) Solaris and Linux kernels, *no* kernel re-compilation is necessary.

    1. Re:Other tools that do this. by Dug · · Score: 5, Informative
      Check out the Dtrace Usenix paper "Dynamic Instrumentation of Production Systems".

      This paragraph is copied from the Related Work section.

      Kerninst is a dynamic instrumentation framework that is designed for use on commodity operating system kernels[13]. Kerninst achieves zero probe effect when disabled, and allows instrumentation of virtually any text in the kernel. However, Kerninst is highly aggressive in its instrumentation; users can erroneously induce a fatal error by accidentally instrumenting routines that are not actually safe to instrument.3 Kerninst allows for some coalesence of data, but data may not be aggregated based on arbitrary tuples. Kerninst has some predicate support, but it does not allow for arbitrary predicates and has no support for arbitrary actions.

  31. Favorite quote by kill-hup · · Score: 5, Funny
    DTrace's inventors say admins need "to have a good relationship with their brains" to use the software best.

    I'll have to start using that in my conversations about lusers. "I wouldn't call him stupid; let's just say he doesn't have a good relationship with his brain..." :)

    --
    Sinepaw.org: Grape Winos
  32. Re:Isn't this a profiler for non-profiled binaries by Anonymous Coward · · Score: 2, Informative

    Aside from the fact that this tool works with non-profiled binaries, I fail to see the revolutionary aspect.

    try reading some of the related links (like the bigadmin dtrace site, the usenix paper, the com.unix.solaris post, or the sys admin magazine article) and you'll quickly realize why this is a revolutionary tool.

    the profiling facility is only one of the information providers that dtrace has.

    other providers include:
    - a function provider (allows you to monitor calls into any kernel function entry or exit point )
    - a system call provider
    - io provider
    - process scheduler provider
    - process provider (allows you to place probes in userland processes.)
    - the list goes on

    these providers taken together allow you to place probe points all over the kernel and userland processes where each probe point can return whatever information you want. (ie, you can get function argument/return values, you can access globals, you can troll kernel data structures, you can collect you own statistics, etc.)

    that's a lot of potential information, so dtrace provides you with an easy programmatic way to drop data your not interested in. how about only collecting data when a particular function returns an error after being called from a particular process with a certain parameter set. easily done in dtrace.

    then your simple dtrace script can correlate information from all these providers and display it clearly. (with a language which was designed to make simple statistical analysis easy via built in functions for aggregations, averages, etc.)

    and of course the best part is that you can do all of this on a production system, running production software, and under normal load.

    obvious disclaimer: i work for sun.

  33. Re:Exists already in Linux kernel by movement · · Score: 5, Informative

    I wrote OProfile, and I currently use DTrace daily, and I can assure you that you are wrong when you claim they do the same thing.

    OProfile is useful for measuring system-wide resource consumers (for example, you can see what pieces of code are causing cache misses in the kernel when your apache process is in the kernel etc, or which user processes take up the most CPU time).

    DTrace can also do something similar (though it needs a little more work yet). But DTrace does a LOT more than this. Imagine a system-wide (kernel, binaries, libraries) 'strace', where you can trivially choose what to print out, and what parts to strace, and under what circumstances. DTrace does even more than that.

    OProfile can't tell you exactly why your system call is returning EINVAL. OProfile can't tell you why your application is causing cross-calls. OProfile can't tell you what processes are writing to what files, in real time. OProfile can't debug race conditions.

    OProfile is a profiler: it does its job and nothing more. DTrace is, essentially, an instrumentation suite; one of its abilities is to function as a simple profiler.

    You won't really get a notion of why DTrace is so useful until you try it.

    --
    -- Remove the trailing '\0' to email me.
  34. Sun comming arround? by argoff · · Score: 3, Insightful

    There's an old saying, "you are what you hold yourself accountable to".

    In that sense, Sun is no Microsoft. They are a hardware company that provides services, plain and simple. The only reason why they are cold to Linux is because it pits Sun servers directly against x86 commodity PC's - otherwise they are all for it.

    Once the dust settles on their bread and butter revenue stream, you can better believe that they will be open-source all the way. But right now they need to force some differentation with their hardware because in most cases they simply can't compete against an x86 farm in the server space. All the rest of the BS about new accomplishment is just propaganda, I would ignore it.

  35. Sounds very cool... by teamhasnoi · · Score: 4, Funny
    I wonder if they have attempted to run Dtrace on Dtrace? Wouldn't that allow you to make Dtrace infinitely fast? Perhaps become its own energy source?

    I know I would pay big dollars, say like $28, for a box that ran infinitely fast.

    This could be the diet pill for software bloat that we've all been looking for.

  36. Re:And what is DTrace - Shark I presume by sjf · · Score: 2, Informative

    Sounds just like Shark for Mac OS X.
    If DTrace is better than Shark, it must be an awesome tool. Shark does everything this article describes and far, far more:

    http://developer.apple.com/tools/shark_optimize. ht ml

    The 4.0 version of Shark shown at WWDC was even better. In many cases, Shark can actually give you specific directions on how to optimize your code: both at the source and instruction level.

  37. Re:So it's the SE toolkit by Keith+Maniac · · Score: 2, Informative


    DTrace is not the SE toolkit. The SE toolkit used a similar method (little langugae scripts) to collect data that was made public by the kernel.

    DTrace takes advantage of monitoring hooks placed throughout the kernel and in every system call, and it does things that SE never could.

    Furthermore, one look at the DTrace manual and your boss will shit his pants. This is not PHB material by any means.

    Chapter 1: The D prograsmming Language...

  38. A competing tool for Linux by catalina68 · · Score: 3, Interesting
    For example, there is no tool anywhere that allows for arbitrary dynamic instrumentation of a production operating system kernel.
    I guess these guys haven't heard about SpyKer from LynuxWorks. http://www.lynuxworks.com/products/spyker/spyker03 .php3
  39. Code Review by ansible · · Score: 2, Insightful

    I was reading the examples of using DTrace to spot performance issues.

    It seems to be that most of them could have been caught with code reviews.

    Perhaps with tools like DTrace, you can spot performance issues more quickly. But I believe a good code inspection regime could catch these problems and more.