Oracle To Bring Dtrace To Linux
mvar writes "Dtrace co-author Adam Leventhal writes on his blog about Dtrace for Linux: 'Yesterday (October 4, 2011) Oracle made the surprising announcement that they would be porting some key Solaris features, DTrace and Zones, to Oracle Enterprise Linux. As one of the original authors, the news about DTrace was particularly interesting to me, so I started digging. Even among Oracle employees, there's uncertainty about what was announced. Ed Screven gave us just a couple of bullet points in his keynote; Sergio Leunissen, the product manager for OEL, didn't have further details in his OpenWorld talk beyond it being a beta of limited functionality; and the entire Solaris team seemed completely taken by surprise. Leunissen stated that only the kernel components of DTrace are part of the port. It's unclear whether that means just fbt or includes sdt and the related providers. It sounds certain, though, that it won't pass the DTrace test suite which is the deciding criterion between a DTrace port and some sort of work in progress.'"
So, are they porting Solaris functionality to OEL as a precursor to phasing out Solaris entirely? It would suck to see Solaris go from a nostalgia point of view, but it never made much sense to me why one company would continue to develop two Unix-like operating systems.
Hey Oracle,
Cool now bring ZFS to linux!
If you want Dtrace and ZFS, just go with FreeBSD. You get pf and jails thrown in for the effort.
This is a great technology story - even if only for one version of Linux so far. DTrace will bring tremendous value for troubleshooting and performance analysis, and is a technology I use (almost) every day.
For example, yesterday I had a CPU bound workload with an unexpected level of variation, and used DTrace to measure the effect of CPU thread affinity and interrupt activity on that workload. I used DTrace to pull the runtime along with other details: number of scheduling events for that thread, along with the CPUs that the thread ran on; also, for preemption, the pre-emptor thread (to see why) along with both its user-level and kernel stack traces; also the interrupt thread and device. I fairly quickly showed that the runtime variation was caused by network interface interrupts from an entirely different application. This analysis would take quite a lot longer without DTrace, and may be prohibitively difficult to complete.
Many of my uses of DTrace are much more straightforward than that; including identifying file system latency for applications, application response time, and CPU dispatcher queue latency. I've listed many more examples in the DTrace book (http://www.dtracebook.com). It should be a great resource of ideas for those looking to use DTrace on Linux - since the hardest part for people has been knowing where to start, given the ability to see everything.
You obviously haven't had to use both in anger. SystemTap is another "me too" project like so many things on Linux, where the only people saying it's as good are the people who haven't used the product it's an imitation of. Oh, and then there's the RMS type who will say it's "better because freedom has value" or something to that effect. Doesn't help you when you're actually trying to tune an application for performance.
This story appeared yesterday on Linux Today. And it's not even close to the first time this has happened. If we can read about this first on Linux Today then what's the point of coming to Slashdot? Especially 24 hours late.
No one ever had to evacuate a city because the solar panels broke!
How does it compare against ETW?
GPL is not toxic.
Pure freedom is even worse situation than pure chaos. You need limitations and rules what can not be done and what should be done.
Btrfs seems to have been in development forever, and the developers on the one hand say that it's mostly stable, but on the other there are still some pretty scare bugs. It doesn't make a terrible amount of sense for Oracle to develop two next-gen CoW filesystems.
After bringing DTrace to Linux, they are then likely going to turn around and sue people somehow; kind of like they did with Java.
Don't use anything from Oracle; they are worse than Microsoft.
I suspect Oracle is trying for another cash grab. Port the parts of DTrace that have to be in the kernel and open source them, then sell an add-on package (perhaps only for their Linux) with the rest of the functionality. Let's face it -- Oracle is much more focused and effective at monetizing technology than Sun ever was.
I do not fail; I succeed at finding out what does not work.
You know what's even more annoying than Linux's "me too" projects? All the stuff they COULD imitate but don't. I have no idea why Linux admins still have to grovel through logs or use stuff like splunk to guess at what's wrong with their hardware, but they do. Even a lousy knockoff is better than pretending the problem doesn't exist and leaving people to cobble together inferior workarounds.
Yesterday (October 4, 2011) Oracle made the surprising announcement that they would be porting some key Solaris features, DTrace and Zones, to Oracle Enterprise Linux. As one of the original authors, the news about DTrace was particularly interesting to me, so I started digging. Even among Oracle employees, there's uncertainty about what was announced.
This sounds like a typical PHB decision: make a crazy choice without consulting the engineers as to whether it's a good idea, possible or even wanted, and could potentially threaten the existence of their existing products that have had blood sweated over them for 20 years, makes their continuing relevance to the company (and therefore employment prospects) seem very uncertain and replaces a technically-superior product with a less-able competitor.
Disclaimer: I don't work for Oracle. I know some Solaris people, and although Linux is great (it's what I do), Solaris still beats it in terms of things like high-end scalability. As we move to a massively multi-core, multi-cpu world, the Solaris kernel has a lot of advantages.
Maybe the PHBs don't care any more. Maybe they'd rather spend the effort on Linux. Who knows. It sounds like a bad time to work in the Solaris group at Oracle.
So, again, "good" is being replaced by "good enough." That's the commoditisation of technology. The invisible hand has spoken. That's life.
Stick Men
It is toxic to an extent. It can in some cases prevent a bit of cooperation that would aide just about everyone involved were it possible. However on the other hand MIT and BSD could be classified as weak in not giving patent licences, and not being copyleft. Every license has it's own costs and advantages. MIT and BSD can be very advantageous if the rate of development can outpace closed efforts or your project has universal interoperability as a goal. Don't get me wrong I think the GPL is a great legal hack, but it isn't the one license to rule them all.
Oh, and then there's the RMS type who will say it's "better because freedom has value" or something to that effect. Doesn't help you when you're actually trying to tune an application for performance.
Yeah, it only gets you the very operating system you're trying to tun your application on.
My God, it's Full of Source!
OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
As long as the leave strace in place. Apple replaced ktrace with dtrace and I've been hating it ever since.
It's not that dtrace is bad, it's just that they have different purposes, and dtruss has several problems ktrace/strace does not:
Ok, rant over.
Damn, not sure how I forgot the worst part of all. dtruss requires root to be run, so you usually have to do some convoluted double sudo to run a program the same way as without it.
I've used this ... it has been very helpul for development, but I would not run it on a production machine. In most cases when I've run it, it has managed to eventually crash the machine, usually just after obtaining the information I was after. For driver development, that is fine. But not for production.
I wouldn't expect this to see the light of kernel mainline ever, or at least not until Oracle stops selling their Enterprise Linux offering.
DTrace on Linux will probably be something like Ksplice where it's available only to paying customer (last I checked, correct me if I'm wrong).
Good thing this opens the doors within Oracle to consider migrating more of the Solaris features to Linux, even if it's only for OEL for the time being. Personally, while being a Solaris sysadmin, I'm not wasting my time on Solaris anymore and I certainly won't be bothering with Solaris 11 unless my employer shows the need. So far our next hardware refresh cycle is up for in 6 months and nobody bothered to ask Oracle for a quote. The word is that it's going to be Linux for everything.
none
It has been available for Linux since 2008. 02-Aug-2008 Work in progress port of Sun's DTrace system for Linux. It is actively maintained. http://www.crisp.demon.co.uk/tools.html I don't see anything new to the table outside of keyboard, mouse, and framebuffer recording. I'm not sure a lot of Linux users would find that an attractive addition.
Built-in instruments can track
User events, such as keyboard keys pressed and mouse moves and clicks with exact time.
CPU activity of processes and threads.
Memory allocation and release, garbage collection and memory leaks.
File reads, writes, locks.
Network activity and traffic.
Graphics and inner workings of OpenGL.
Having to work for a living is the root of all evil.
Oracle To Bring Disgrace to Linux ? Just saying, is all.
Start with the license.
as predicted: http://twitter.com/#!/ahl/status/121257501193809920
Let's be clear here. The Sun division of Oracle is being run by Mark Hurd, who was last seen gutting HP and screwing his staff member. Oracle will kill off all things Sun, either now or later. Solaris and Java are the only things they seem to care about, and both of those are still rather endangered.
Solaris still has some great advantages over Linux--enough to actually keep a handful of people on it despite Oracle. I assume that they're going to get those necessary features into Linux, and then dump Solaris entirely.
We're spending about $12 million to dump all of our Sun applications, as well as most of our Sun gear and Solaris installs in favour of x86 gear (mostly IBM) and Linux. The scary thing is that $12 million is less than the increase in licensing and maintenance costs from Oracle, vs. what we were paying from Sun.
Bottom line: Oracle doesn't want people running Solaris. The more features we get into Linux before Larry gives up and says "screw all y'all" the better.
"People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
What I wonder is how exactly Oracle will turn this into an immensely dickish move
The license, man. The license.
I believe that Solaris x86 on x86-64 scales better on large systems than Linux. Large x86 CPU manufacturers like Solaris x86 because it shows off their hardware better than Linux.
Stick Men
Systemtap is crap, and doesn't have the functionality of DTrace?
I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.