Tuesday January 25, 2005 | Andy Tucker's Weblog Andy Tucker's Weblog |
|
Well, we're finally starting our first public steps in the OpenSolaris project, with the release of the DTrace code today (along with more information about the overall project). Note that while we hope people will be interested in the code, we don't expect a community to form around a source drop. Think of this as our good faith deposit to show that we're serious, that we're not holding the "good stuff" back, that we're sincere in our plan to release the Solaris source code and build a community around it. There's information about the license as well. We'll be following up with more shortly. And if you are interested in details about the DTrace code, check out Bryan's blog. (2005-01-25 11:36:53.0) Permalink Comments [6]Attempting to make up for going quiet the past couple of months... On the 15th, I'm going to be at the Solaris 10 launch in San Jose, talking about zones (aka Solaris Containers) and general Solaris 10 stuff. A number of other Solaris engineers (and bloggers) will be there as well, talking about new features in S10 and doing demos for anyone interested. On the 16th, I'll be talking at ApacheCon about Solaris, open source, and operating systems futures (trying not to sound too pompous). The rest of the week I'll be at the LISA conference. We'll have a booth running Wednesday and Thursday (though I won't make it there until Thursday), a BOF session Thursday night, and Dan will be presenting a paper we wrote on zones on Friday. If you're attending any of these, look me up. (2004-11-13 09:31:44.0) PermalinkI've been thinking for some time about different models for how the initial developer of a technology (such as a company that has previously developed the technology under a proprietary model) can interact with an open source community. There seem to be a number of alternatives:
Although code is available as open source in each of these options, they represent a wide variation in terms of who can participate in development, and how such development is managed. In the case of options 1 and 2, internal development processes by the initial developer are essentially unchanged, and external participation is limited. Option 3 involves merging internal and external development processes, balancing between the goals of the initial developer and the requirements of external development. Finally, option 4 adopts external development processes without concern for the processes or goals of the initial developer. I think each of these can work given different goals and priorities, but option 3 seems to be the only one that really represents collaborative development between the initial developer and a wider community. Thus, although in some ways this is likely to be the most difficult path (since it represents a balance between different goals and viewpoints), it can also be the most valuable for all concerned. I'll talk later about the issue of extending and adapting development processes to work with a larger community. (2004-11-12 11:32:06.0) Permalink Comments [4]I keep answering this question (or variations) in email, so I thought it might have wider interest. Plus this way I can point to the blog entry rather than repeating myself endlessly. One of the things I've worked on in the past is Solaris Doors. Doors are an inter-process communication mechanism with an RPC-like client/server interface. They differ from "standard" RPC by being (a) fast, (b) relatively simple, and (c) restricted to a single system. In addition, there are some features (particularly the ability to pass door references, and the unreferenced notification) that lend themselves well to implementing complicated distributed system semantics (in fact, the Sun Cluster 3.x product uses a CORBA-style ORB for inter-process and inter-node communication, part of which is implemented using doors). Doors are used fairly extensively within Solaris daemons and other system-level software that is shipped as part of the OS. A door is created when a process (known as the door server) calls door_create(3DOOR) with a server function and gets a file descriptor back. That descriptor then can be passed to other processes or attached to the file system using fattach(3C). Once another process (the door client) has the descriptor, it can "invoke" the door by calling door_call(3DOOR). The client can also pass data and descriptors (including other door descriptors). As a result of the call to door_call, the client thread blocks and a thread in the door server wakes up and starts running the server function. When the server function is complete, it calls door_return(3DOOR) to pass (optional) data and descriptors back to the client. door_return also switches control back to the client; the server thread blocks in the kernel and never returns from the door_return call. This leads to a problem: if I allocate data to return to the client via door_return, how do I free it? I can't free it before calling door_return, obviously, and control never returns to me after calling door_return (unless there's an error), so I can't just free it after the call. There are a few ways to handle this (in increasing order of complexity):
I've also considered extending the doors API to include something like a door_reply() function, which could be used (optionally) to specify reply data without losing execution control. On return from door_reply, the reply data will have been copied back to the client (or into the kernel), and the server can free the data from its address space. The control transfer back to the client would happen with a subsequent door_return() call (the arguments of which would be ignored). This is a bit slower than the standard door_return semantics (since two trips into the kernel are required), but makes freeing reply data and other server-side cleanup much simpler. Unfortunately, I haven't had time to actually implement this, or convince someone else to do it. For those wishing more information on doors (particularly if the above didn't make any sense), there's a good introductory chapter in the second edition of Unix Network Programming, Volume 2: Interprocess Communication by the late Richard Stevens. The original idea for doors came from Spring OS, a research operating system developed in Sun Labs. The details were changed significantly in the transition to Solaris. There is also a Linux implementation based on the Solaris API, though it isn't part of the standard kernel. (2004-08-03 14:39:43.0) Permalink Comments [4]Sorry about the quiet period, I was on vacation for a couple of weeks and then busy with my day job. I'm now attending the O'Reilly Open Source Conference in Portland, OR. I and some other Solaris kernel engineers (Bart, Adam, perhaps others) are going to be hosting a BOF Thursday night to talk about what's in Solaris 10 and to discuss the plans to open source Solaris. If you're also at the conference and are interested, the details are here. (2004-07-28 09:33:08.0) Permalink Comments [2]Thanks for all the comments. We're working on fixing the formatting issue - apparently we can enable "autoformat", which converts line feeds to HTML line breaks, but it needs to be set site-wide. If you have long comments, you can always send them by email to first.last@sun.com (replacing "first" and "last" with my name, obviously). Be sure to include whether I can post your comments or should keep them private, and whether I should use your name if I post them. Alan Hargreaves suggests creating a BigAdmin forum for open source discussions, rather than using blogs. I think the general idea of a discussion forum is a good one, but BigAdmin doesn't really seem like the right place; it's more for technical discussions about specific technologies. In any case, lacking a good alternative, I'd like to use this blog as a medium for communicating (both ways) outside of "official" channels. Obviously, when the open source project goes live (perhaps earlier) we'll have discussion forums, mailing lists, etc.. (IRC, anyone?) Alan also points out an article about open source Solaris in Fortune, discussing a letter the author received from Jonathan Schwartz. The text of the letter is included, and may be of interest to those wondering why we think this is a good idea for Sun, as opposed to the community. (2004-06-26 14:57:24.0) Permalink Comments [2]One of the projects I've been working on lately is figuring out how we're going to make the Solaris code available as open source, and create an open development model around it allowing (and encouraging) contributors from outside the company. Some of you may have heard that Jonathan Schwartz (Sun's COO) recently announced that we're going to be doing this. We've actually been working on it for quite a while, but the public announcement has certainly increased the pressure (both internal and external). There's been a lot of speculation about why we're doing this, whether we're out to "attack" Linux or whatever. From where I sit, this isn't at all what we're trying to do. We've been working on Solaris for a number of years, and are proud of what we've accomplished. We'd like to make it easier for more people to use it, and to help us improve it. We see open source as a way to enable that. If you prefer Linux, that's fine; I'm a firm believer in diversity and choice. In the end, diversity helps drive innovation, which helps the end user (and keeps me employed). As you might expect, working on this involves lots of time spent meeting with lawyers about licenses and such. Obviously we have to worry about the legal stuff, but I'm also interested in hearing from other people outside the company about what you think we should do. Clearly we'll need to release the code under an open source (i.e., OSI approved) license, but beyond that, what do you think are the requirements? What about governance models? Are there any examples that you think work particularly well, or not so well? (2004-06-18 22:35:39.0) Permalink Comments [33]I'm a Distinguished Engineer in the Solaris kernel development group, and have been working on various parts of Solaris for the past 10 years. Most recently, I was part of the team that developed Solaris Zones (aka "N1 Grid Containers"). This is a new feature available in Solaris 10 (available for download via Solaris Express) that lets you divide up a system into different application environments, where each environment is isolated from the rest. For more details, see the BigAdmin page where we've been posting information, or the work-in-progress paper we presented at the recent Usenix Virtual Machine conference. We're also working on a paper to appear at the upcoming Large Installation System Administration (LISA) conference. (2004-06-16 10:21:34.0) Permalink Comments [1] |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||