Observations Deck of Sun China University Programs Joey Guo's Blog

星期三 十一月 30, 2005

Last week in Beijing, Sun held an Solaris Internals Training for a group of 30 Computer Science professors from 25 universities within China.  The main purpose of the training was to give the professors enough of an introduction to the internals of the system so that they can start teaching OpenSolaris in their operating systems courses.  The training covered various topics within the OS using the source code and the observability tools available within Solaris.  Solaris has long had observability tools (notably mdb/kmdb), and, with the addition of dtrace and the source code, OpenSolaris becomes an excellent platform for teaching operating system concepts. During this training, Max Brunning, SunU instructor introduced the Solaris Internals with referring to the Operating system mechanisms and concepts. Max used dtrace, truss, mdb and etc. tools to illustrate the implementation of Multi-threading, synchronization, Virtual memory, scheduling, process and IPC with the OpenSolaris source code. In addition, the entire training has been recorded on video.  The video will also be made available.

Why Important?

Of course, if students are learning Solaris in their OS courses, they will be more likely to do development work with Solaris, which in turn should increase the number of applications, drivers, and other tools which run on Solaris.  This is an approach that should also work elsewhere (the US, Europe, etc.).  Several of the professors are planning on using OpenSolaris starting in the spring because of what they have learned from this training.

Through the whole training, we have come to realize that:

Good
o Teachers are very interested in the program integrating OpenSolaris into OS curricula
o Teachers are impressed with the advantages of the visibility of Solaris companying with OpenSolaris source code to demonstrate the Operating Systems mechanisms
o There will be a dedicated work group of professors from top universities to organize and coordinate for this program

Bad
o Most educators are lacking of The Solaris experience and knowledge.
o They are complaining about the issues of installation (esp. in contrast with the RHLinux) on their laptops and concerning about the learning curve of Solaris (it's reasonable to have such complaints from the newbies)

And learned and lessons:
o It's necessary to et up the lab environments for the training
o Need more technical support for the educators
o More focus on OS concepts and mechanisms instead of the hands-on operations and implementation
o Comparison between Linux, BSD and Windows in kernel mechanisms
o It'll be better to have some Sun local engineers to answer some particular questions per the language difference

星期三 十一月 02, 2005

opensolaris_2nd_BJOSUG
It's well known that we had the biggest Solaris/OpenSolaris user group meeting in Beijing on 10.15. A total of 248 developers attended this meeting. Sin-Yaw Wang, our VP and General Manager of China ERI, gave a keynote speach on OpenSolaris opportunites for developers in China, and Sun's strategy on OpenSolaris. Erik Nordmark, our Distinguished Engineer on Solaris Networking, delivered a lecture on Solaris Networking.

On 10.29 we had another big gathering of Solaris/OpenSolaris developers
at the graduate school of China Academia of Science. A total of 178
developers attended this meeting, and 178 surveys were collected from
the audience. Most of the audience received a T-Shirt or a set of DVD's
(Solaris Express DVD + OpenSolaris Source Code & Compiler DVD) as a gift.

Vincent Liu (Technical Consultant, MDE) gave a speech and live demo on
DTrace. The audience has raised many questions related to Dtrace, some memorable ones like:

1. The dtrace action print() will use the tty driver. If there are something broken in that driver, does it mean that all printings are rubbish?

2. What's the purpose of print out all the callstack in the Solaris

3. Performance impact of dtrace

4. What changes need to be made in order to port DTrace to FreeBSD/Linux?

5. what's the test methodology of dtrace. (how to prove dtrace result is right?) I'm not sure about this one, can you help to find the answer?

I gave a speech and a live demo on the installation of Solaris Express, compiling the OpenSolaris kernel with Sun Studio and ON build tools, and Cap-Eye-Installing a customized kernel and BFU to upgrade an existing OpenSolaris OS. Also, I have got some challenging questions like:

1. How could I make configure before the build?

2. Is it possible to cross build OpenSolaris on GNU/Linux?

3. Performance test for the OpenSolaris

4. The requirements for Solaris install

5. How does solaris visit the file systems under other systems

6. Can Cap-Eye-Install and BFU be used in production systems? What's the difference between them? How to fall back to the original version?

Besides, you could download the pictures of the meeting at:

opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/begin.jpg">begin.jpg

opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/meeting_place1.jpg">meeting_place1.jpg
opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/meeting_place2.jpg">meeting_place2.jpg
opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/meeting_place3.jpg">meeting_place3.jpg
opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/audience_1.jpg">audience_1.jpg
opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/audience_n-1.jpg">audience_n-1.jpg
opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/audience_n.jpg">audience_n.jpg
opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/interaction.jpg">interaction.jpg
opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/joey1.jpg">joey1.jpg
opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/joey2.jpg">joey2.jpg

opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/vincent-joey.jpg">vincent-joey.jpg
opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/vincent1.jpg">vincent1.jpg
opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/vincent2.jpg">vincent2.jpg
opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/vincent3.jpg">vincent3.jpg
opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/vincent4.jpg">vincent4.jpg
opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/vincent5.jpg">vincent5.jpgopensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/a-good-question.jpg">a-good-question.jpg

opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/group_photo1.jpg">group_photo1.jpg
opensolaris.org/os/community/os_user_groups/bjosug/bj_meeting_20051229/group_photo2.jpg">group_photo2.jpg

The presentation materials were uploaded to SDN China portal and opensolaris.org/os/community/os_user_groups/bjosug/">Bejing User Groupto be shared with a broader audience.

Many engineers from the Beijing OpenSolaris User Group (mainly from the OPG group) contributed in various ways to this meeting. We have Oliver, Cathy, Vitor, Si-yuan to help answer some questions.

The next meeting will take place on 11.12. Many developers not in Beijing are asking whether we can deliver the same content to other cities. We will distribute the DVDs of the user group on the web and hopefully this will help somewhat.

Any suggestions or comments are highly appreciated!