OpenSolaris governing board threatens dissolution (The H)
OpenSolaris governing board threatens dissolution (The H)
Posted Jul 14, 2010 7:57 UTC (Wed) by mjthayer (guest, #39183)In reply to: OpenSolaris governing board threatens dissolution (The H) by drag
Parent article: OpenSolaris governing board threatens dissolution (The H)
How does SystemTap compare these days? I tried both out for the first time recently, and after the slight difference in setup difficulty (no setup for DTrace vs two hours for SystemTap on Fedora 13 and half a day, despite the experience from Fedora, on Ubuntu 10.04) I didn't see any immediate difference. I assume that the differences come out when one moves to more advanced use. And of course SystemTap does feel horribly clumsy with the way it builds kernel modules out of trace scripts, although in some ways it is a rather nice idea.
> Besides that it's all personal preferences and prejudices that some people have against Linux/for Solaris.
I have been told that Solaris's tools for heavy-duty system administration knock Linux's into a cocked hat, but since I am pretty clueless about system administration I can't really judge that. Perhaps I should be buying and reading the ULSAH, as per yesterdays LWN article, to broaden my horizons a bit...
Posted Jul 14, 2010 10:24 UTC (Wed)
by mjthayer (guest, #39183)
[Link] (1 responses)
Posted Jul 14, 2010 11:04 UTC (Wed)
by mjw (subscriber, #16740)
[Link]
But yeah, it is taking some tricks to get all the support hooks accepted in the mainline linux kernel. Lots of pushing going on though. With tracehooks, ftrace, tracepoints and perf now being in we will hopefully see the more powerful systemtap features also trickle in over time. The realtime support also took a long time to get partially in even though lots of people were already using it outside mainline.
The next (1.3, not yet out) release of SystemTap can even give you user backtraces for when the kernel triggers a pagefault, which is pretty sweet. http://sourceware.org/git/?p=systemtap.git;a=blob;f=NEWS;...
Posted Jul 14, 2010 12:13 UTC (Wed)
by SEJeff (guest, #51588)
[Link] (4 responses)
Can you please define "heavy duty systems administration". For server deployment en mass, Linux spanks the pants off of Solaris. Period.
For threading (especially if you have the Niagra sparc processor in your servers), Solaris still beats the pants off of Linux. Ditto with recovering from hardware (such as dimm) errors although that is more due to sparc being designed for those things and x86 not really until recently.
In the interest of full disclosureNote that SystemTap is all good and great, but isn't a full DTrace equivalent until the uprobes patchset is merged. Until it is, you can't do full on userspace <---> kernel space tracing, but only kernel space tracing.
Posted Jul 14, 2010 12:51 UTC (Wed)
by mjthayer (guest, #39183)
[Link] (3 responses)
Posted Jul 14, 2010 13:19 UTC (Wed)
by evad (subscriber, #60553)
[Link] (2 responses)
Updating Solaris vs. Linux systems is a lot easier. I'd argue that the easiest platform is Linux (yum, apt, etc), but Solaris isn't that much more difficult.
OpenSolaris and pkg make it very easy, and Solaris 10, although not quite as easy, is not at all difficult. Patch clusters and sets are easy to install and if you use pca its even easier. Unlike Linux systems you can use LiveUpgrade (although Fedora and btrfs are nearly there) and with patches you can roll patches back and know that its likely the rollback will work. On Linux with yum and apt you can, with difficulty, go back to older releases of packages but this isn't designed as so; you have no guarantee the process will work.
Posted Jul 14, 2010 13:34 UTC (Wed)
by SEJeff (guest, #51588)
[Link] (1 responses)
It reminds me of the torvalds vs tanenbaum microkernel debate. They are great in theory, but horrible in practice and most implementations.
In the end, posix is posix is posix. Any competent admin with a posix skillset can manage both.
Posted Jul 14, 2010 14:50 UTC (Wed)
by ESRI (guest, #52806)
[Link]
Sure, LiveUgrade helps with some of this, but unless you're using a ZFS root, it's still a pain, and the nature of how Sun/Oracle bundles patches leads to people cherry picking them and you end up with systems all over the spectrum in terms of fully-patched, partially patched, etc.
PCA is great, but it's not really a centralized tool (without some custom infrastructure).
Suffice to say the reality is the Linux environments end up being nearly always fully patched, while the Solaris environments lag behind and/or only spot apply patches that address specific bugs or security holes.
Posted Jul 14, 2010 12:22 UTC (Wed)
by lkundrak (subscriber, #43452)
[Link] (7 responses)
Posted Jul 14, 2010 12:37 UTC (Wed)
by mjw (subscriber, #16740)
[Link]
Also SystemTap comes with "stap-prep" which does the above for the kernel case plus sanity checks (modulo a bug on Fedora 13, which has been fixed upstream: https://bugzilla.redhat.com/show_bug.cgi?id=596083)
Posted Jul 14, 2010 12:49 UTC (Wed)
by mjthayer (guest, #39183)
[Link] (5 responses)
Ubuntu who unfortunately still don't have debug symbols matching their released kernel version (just the upcoming one), so that when I installed it on my Ubuntu system I ended up rebuilding the package in the background when I installed. Wouldn't have been a big issue if it hadn't already been so hot in the office... Admittedly not quite half a day, but several hours in total from start until I could actually use it.
Posted Jul 14, 2010 12:55 UTC (Wed)
by mjw (subscriber, #16740)
[Link]
Other documentation on the sourceware homepage:
Debian is not also starting to ship debuginfo for the kernel, hopefully Ubuntu will pick that up:
Posted Jul 14, 2010 15:26 UTC (Wed)
by mjthayer (guest, #39183)
[Link] (3 responses)
Oh yes, not to mention that due to some broken sanity check in SystemTap I always got
ERROR: Build-id mismatch: "kernel" vs. "vmlinux-2.6.32-23-generic"
when I tried to run a script. I took the lazy path and compiled the check out, as I didn't have time to understand the details of what it was doing, and it worked fine after that.
Posted Jul 15, 2010 15:09 UTC (Thu)
by fuhchee (guest, #40059)
[Link] (2 responses)
Posted Jul 15, 2010 15:29 UTC (Thu)
by mjthayer (guest, #39183)
[Link] (1 responses)
Will do, I'm just always a bit embarassed reporting things I think I ought to be able to analyse myself without providing some sort of solution :)
Posted Jul 16, 2010 10:27 UTC (Fri)
by cesarb (subscriber, #6266)
[Link]
Posted Jul 14, 2010 14:53 UTC (Wed)
by vonbrand (subscriber, #4458)
[Link] (2 responses)
It has been quite a while since I futzed around with Solaris (around 2000). Solarites were known to belittle Linux for its lack of sysadmin tools back then. My experience was quite the contrary (with Red Hat in particular). Software updates are almost painless in Linux. Software availability was much better with Linux, either as packages or easy-to-build source (Solaris had its quirks, which required scary stuff like replacing libc for halfway sane operation, plus the customary "GNU > /usr/local" to get a reasonable shell and other basic tools, ...). The "easy to use" tools were such heavy resource hogs, and required Sun's bloated version of X, that they were completely useless in practice. Plus you couldn't even look sideways at the configuration files without giving them fits.
Besides, our Solaris server got compromised remotely due to a long-known vulnerability in said "administration tools", which we specifically had removed. A software update (re)installed them silently...
Needless to say, an operating system than can be compromised remotely in a jiffy and stays that way for a couple of years isn't my first option. The machine was soon converted to Linux, and we never looked back.
Have had taking a new look at Solaris 10 on my ToDo list for some time... will set up a virtual machine to do so one of this days.
Posted Jul 14, 2010 15:53 UTC (Wed)
by jwb (guest, #15467)
[Link] (1 responses)
Recently I decided to try Nexenta, the frankenmonster offspring of OpenSolaris and Debian, only to find that the userland there is a years-old fork of Ubuntu Hardy. This did not make me feel like the Solaris ecosystem had rocketed to greatness over the last decade.
Posted Jul 14, 2010 19:05 UTC (Wed)
by mpr22 (subscriber, #60784)
[Link]
OpenSolaris governing board threatens dissolution (The H)
>How does SystemTap compare these days?
Replying to myself, user space tracing with SystemTap is clearly not yet generally available, even if it is looking more hopeful again that it will be some day soon (c.f. https://lwn.net/Articles/387257/) . I have already made good use of user space tracing on OpenSolaris with DTrace.
Sweet SystemTap
http://tecnocode.co.uk/2010/07/13/reference-count-debuggi...
(The static trace points should even be source compatible with dtrace probes, so in theory this now also works for solaris.)
OpenSolaris governing board threatens dissolution (The H)
OpenSolaris governing board threatens dissolution (The H)
Does that include updating the things and day-to-day maintenance?
OpenSolaris governing board threatens dissolution (The H)
OpenSolaris governing board threatens dissolution (The H)
OpenSolaris governing board threatens dissolution (The H)
OpenSolaris governing board threatens dissolution (The H)
...vs two hours for SystemTap on Fedora 13
Just curious -- what did you spend the two hours with? For me this always worked:
yum install systemtap
debuginfo-install kernel
SystemTap setup
OpenSolaris governing board threatens dissolution (The H)
Finding the documentation for SystemTap, working out the procedure, including what you need to install at all, then trying to work out why I couldn't seem to get a kernel version as new as the debug symbols I had just installed (or debug symbols as old as the kernel I had) and trying to find a matching kernel. In the end it was just my inexperience with yum I think, I normally use Ubuntu.
SystemTap documentation
http://sourceware.org/systemtap/SystemTap_Beginners_Guide/
http://sourceware.org/systemtap/documentation.html
http://www.researchut.com/blog/archive/2010/07/08/systemt...
OpenSolaris governing board threatens dissolution (The H)
OpenSolaris governing board threatens dissolution (The H)
OpenSolaris governing board threatens dissolution (The H)
OpenSolaris governing board threatens dissolution (The H)
OpenSolaris governing board threatens dissolution (The H)
OpenSolaris governing board threatens dissolution (The H)
But hey, at least it has nvi now.
OpenSolaris governing board threatens dissolution (The H)