OSGalaxy

published by noreply@blogger.com (milek) on 2010-08-27 15:59:51
Here is worth reading collection of blog entries on what's going on recently in regards to Open Solaris and Solaris 11.



> Read More... | Digg This!

published by noreply@blogger.com (milek) on 2010-08-03 15:02:04

published by noreply@blogger.com (milek) on 2010-07-31 02:58:32
A rather large and interesting putback for SMF/FMA related technologies went into Open Solaris yesterday. It will be available in build 146.
PSARC/2009/617 Software Events Notification Parameters CLI
PSARC/2009/618 snmp-notify: SNMP Notification Daemon for Software Events
PSARC/2009/619 smtp-notify: Email Notification Daemon for Software Events
PSARC/2010/225 fmd for non-global Solaris zones
PSARC/2010/226 Solaris Instance UUID
PSARC/2010/227 nvlist_nvflag(3NVPAIR)
PSARC/2010/228 libfmevent additions
PSARC/2010/257 sysevent_evc_setpropnvl and sysevent_evc_getpropnvl
PSARC/2010/265 FMRI and FMA Event Stabilty, 'ireport' category 1 event class, and the 'sw' FMRI scheme
PSARC/2010/278 FMA/SMF integration: instance state transitions
PSARC/2010/279 Modelling panics within FMA
PSARC/2010/290 logadm.conf upgrade
6392476 fmdump needs to pretty-print
6393375 userland ereport/ireport event generation interfaces
6445732 Add email notification agent for FMA and software events
6804168 RFE: Allow an efficient means to monitor SMF services status changes
6866661 scf_values_destroy(3SCF) will segfault if is passed NULL
6884709 Add snmp notification agent for FMA and software events
6884712 Add private interface to tap into libfmd_msg macro expansion capabilities
6897919 fmd to run in a non-global zone
6897937 fmd use of non-private doors is not safe
6900081 add a UUID to Solaris kernel image for use in crashdump identification
6914884 model panic events as a defect diagnosis in FMA
6944862 fmd_case_open_uuid, fmd_case_uuisresolved, fmd_nvl_create_defect
6944866 log legacy sysevents in fmd
6944867 enumerate svc scheme in topo
6944868 software-diagnosis and software-response fmd modules
6944870 model SMF maintenance state as a defect diagnosis in FMA
6944876 savecore runs in foreground for systems with zfs root and dedicated dump
6965796 Implement notification parameters for SMF state transitions and FMA events
6968287 SUN-FM-MIB.mib needs to be updated to reflect Oracle information
6972331 logadm.conf upgrade PSARC/2010/290


> Read More... | Digg This!

published by noreply@blogger.com (milek) on 2010-07-29 12:19:52
New announcement about Solaris support on non-Oracle servers:
  • Oracle today announced Dell and HP will certify and resell Oracle Solaris, Oracle Enterprise Linux and Oracle VM on their respective x86 platforms.
  • Customers will have full access to Oracle?s Premier Support for Oracle Solaris, Oracle Enterprise Linux and Oracle VM running on Dell and HP servers. This will enable fast and accurate issue resolution and reduced risk in a company?s operating environment.
  • Customers who subscribe to Oracle Premier Support will benefit from Oracle?s continuing investment in Oracle Solaris, Oracle Enterprise Linux and Oracle VM and the resulting innovation in future updates.


> Read More... | Digg This!

published by noreply@blogger.com (milek) on 2010-07-21 09:03:57

published by noreply@blogger.com (milek) on 2010-06-26 03:08:51

published by noreply@blogger.com (milek) on 2010-06-16 07:35:07
Open Solaris 2009.06 + entry level 2U x86 server Sun Fire x4270 + 1U xxxx array.

# iostat -xnzCM 1|egrep "device|c[0123]$"
[...]
extended device statistics
r/s w/s Mr/s Mw/s wait actv wsvc_t asvc_t %w %b device
8182.1 0.0 1022.1 0.0 0.1 152.8 0.0 18.7 0 1077 c0
8179.1 0.0 1021.7 0.0 0.1 148.7 0.0 18.2 0 1076 c1
8211.0 0.0 1025.9 0.0 0.1 162.8 0.0 19.8 0 1081 c2
8218.0 0.0 1026.8 0.0 0.1 164.5 0.0 20.0 0 1085 c3
extended device statistics
r/s w/s Mr/s Mw/s wait actv wsvc_t asvc_t %w %b device
8080.2 0.0 1010.0 0.0 0.1 168.3 0.0 20.8 0 1070 c0
8080.2 0.0 1010.0 0.0 0.1 167.6 0.0 20.7 0 1071 c1
8165.2 0.0 1020.3 0.0 0.1 166.0 0.0 20.3 0 1079 c2
8157.2 0.0 1019.3 0.0 0.1 151.4 0.0 18.6 0 1080 c3
extended device statistics
r/s w/s Mr/s Mw/s wait actv wsvc_t asvc_t %w %b device
8192.0 0.0 1023.4 0.0 0.1 174.6 0.0 21.3 0 1085 c0
8190.9 0.0 1023.1 0.0 0.1 174.2 0.0 21.3 0 1085 c1
8140.9 0.0 1016.9 0.0 0.1 145.5 0.0 17.9 0 1078 c2
8138.9 0.0 1016.7 0.0 0.1 142.7 0.0 17.5 0 1075 c3
extended device statistics
r/s w/s Mr/s Mw/s wait actv wsvc_t asvc_t %w %b device
8129.1 0.0 1015.6 0.0 0.1 153.0 0.0 18.8 0 1066 c0
8125.2 0.0 1015.1 0.0 0.1 155.1 0.0 19.1 0 1067 c1
8156.2 0.0 1018.8 0.0 0.1 162.1 0.0 19.9 0 1074 c2
8159.2 0.0 1019.2 0.0 0.1 162.0 0.0 19.9 0 1076 c3
extended device statistics
r/s w/s Mr/s Mw/s wait actv wsvc_t asvc_t %w %b device
8177.9 0.0 1022.0 0.0 0.1 165.0 0.0 20.2 0 1088 c0
8184.9 0.0 1022.9 0.0 0.1 165.2 0.0 20.2 0 1085 c1
8209.9 0.0 1026.1 0.0 0.1 162.4 0.0 19.8 0 1085 c2
8204.9 0.0 1025.5 0.0 0.1 161.8 0.0 19.7 0 1087 c3
extended device statistics
r/s w/s Mr/s Mw/s wait actv wsvc_t asvc_t %w %b device
8236.4 0.0 1029.2 0.0 0.1 170.1 0.0 20.7 0 1092 c0
8235.4 0.0 1029.0 0.0 0.1 170.2 0.0 20.7 0 1093 c1
8215.4 0.0 1026.4 0.0 0.1 165.3 0.0 20.1 0 1091 c2
8220.4 0.0 1027.0 0.0 0.1 164.9 0.0 20.1 0 1090 c3


It is really amazing how fast technology is progressing.
To achieve above numbers 10 years ago it would have cost a fortune.



> Read More... | Digg This!

published by noreply@blogger.com (milek) on 2010-06-12 03:30:50
Brendan Gregg wrote an article in ACM Queue about Visualizing System Latency as heat maps. The article explains really well what latency heat maps are and how to read them. It is also a good read if you want to know more about a rainbow pterodactyl (shown below) flying over an icy lake inside a disk array.



> Read More... | Digg This!

published by noreply@blogger.com (milek) on 2010-06-12 01:32:59
I didn't know about it :)

> Read More... | Digg This!

published by noreply@blogger.com (milek) on 2010-06-10 02:24:53
It is rather brief but at least it is something.
See also a nice commercial below.




> Read More... | Digg This!

published by noreply@blogger.com (milek) on 2010-05-28 02:40:29
Last night two new DTrace providers were integrated.
They should be available in a build 142 of Open Solaris.

PSARC 2010/106 DTrace TCP and UDP providers
"This case adds DTrace 'tcp' and 'udp' providers with probes
for send and receive events. These providers cover the TCP
and UDP protocol implementations in OpenSolaris respectively. In
addition the tcp provider contains probes for TCP state machine
transitions and significant events in connection processing
(connection request, acceptance, refusal etc). The udp provider
also contains probes which fire when a UDP socket is opened/closed.
This is intended for use by customers for network observability and
troubleshooting, and this work represents the second and third
components of a suite of planned providers for the network stack. The
first was described in PSARC/2008/302 DTrace IP Provider."

The tcp provider is described here:

http://wikis.sun.com/display/DTrace/tcp+Provider

...and the udp provider is described here:

http://wikis.sun.com/display/DTrace/udp+Provider



> Read More... | Digg This!

published by noreply@blogger.com (milek) on 2010-05-04 07:30:25
Sometimes it is very useful to be able to disable a synchronous behavior of a filesystem. Unfortunately not all applications provide such functionality. With UFS many used fastfs from time to time, however the problem is that it can potentially lead to a filesystem corruption. In case of ZFS many people have been using an undocumented zil_disable tunable. While it can cause a data corruption from an application point of view it doesn't impact ZFS on-disk consistency. This is good as it makes the feature very useful, with a much smaller risk but can greatly improve a performance in some cases like database imports, nfs servers, etc. The problem with the tunable is that it is unsupported, has a server-wide impact and affects only newly mounted zfs filesystems while has an instant effect on zvols.

From time to time there were requests here and there to get it implemented properly in a fully supported way. I thought it might be a good opportunity to re-fresh my understanding of Open Solaris and ZFS internals so a couple of months ago I decided to implement it under: 6280630 zil synchronicity.
And it was a fun - I really enjoyed it. I spent most of the time trying to understand the interactions between ZIL/VNODE/VFS layers and the structure of ZFS code. I was already familiar with it to some extend as I contributed a code to ZFS in the past and I also do read the code from time to time when I do some performance tuning, etc. Once I understood what's going on there it was really easy to do the actual coding. Once I got a basic functionality working and I asked for a sponsor so it gets integrated. Tim Haley offered to sponsor me and help me to get it integrated. Couple of moths later, after a PSARC case, code reviews, email exchanges, testing it got finally integrated and should appear in build 140.

I would like to thank Tim Haley, Mark Musante and Neil Perin for all their comments, code reviews, testing, PSARC case handling, etc. It was a real pleasure to work with you.


PSARC/2010/108 zil synchronicity

ZFS datasets now have a new 'sync' property to control synchronous behavior.
The zil_disable tunable to turn synchronous requests into asynchronous requests (disable the ZIL) has been removed. For systems that use that switch on upgrade you will now see a message on booting:

sorry, variable 'zil_disable' is not defined in the 'zfs' module

Please update your system to use the new sync property.
Here is a summary of the property:

-------

The options and semantics for the zfs sync property:

sync=standard
This is the default option. Synchronous file system transactions
(fsync, O_DSYNC, O_SYNC, etc) are written out (to the intent log)
and then secondly all devices written are flushed to ensure
the data is stable (not cached by device controllers).

sync=always
For the ultra-cautious, every file system transaction is
written and flushed to stable storage by a system call return.
This obviously has a big performance penalty.

sync=disabled
Synchronous requests are disabled. File system transactions
only commit to stable storage on the next DMU transaction group
commit which can be many seconds. This option gives the
highest performance. However, it is very dangerous as ZFS
is ignoring the synchronous transaction demands of
applications such as databases or NFS.
Setting sync=disabled on the currently active root or /var
file system may result in out-of-spec behavior, application data
loss and increased vulnerability to replay attacks.
This option does *NOT* affect ZFS on-disk consistency.
Administrators should only use this when these risks are understood.

The property can be set when the dataset is created, or dynamically, and will take effect immediately. To change the property, an administrator can use the standard 'zfs' command. For example:

# zfs create -o sync=disabled whirlpool/milek
# zfs set sync=always whirlpool/perrin


Have a fun!

> Read More... | Digg This!

published by noreply@blogger.com (milek) on 2010-04-29 06:09:58
"Oracle announces its new Sun support policy that has the potential to radically change the way in which OEMs offer support and may make third-party maintenance offerings for Sun hardware unprofitable."
Read more.

> Read More... | Digg This!

published by noreply@blogger.com (milek) on 2010-04-26 17:24:38

published by noreply@blogger.com (milek) on 2010-04-24 04:15:30
Recently there has been lots of confusion regarding running Solaris 10 on non-Sun servers.

HP Oracle Solaris 10 Subscriptions and Support
:
"Certifying Oracle Solaris on ProLiant servers since 1996, HP is expanding its relationship with Oracle to include selling Oracle Solaris 10 Operating System Subscriptions and support from HP Technology Services on certified ProLiant servers.

HP will provide the subscriptions and support for the Oracle Solaris 10 Operating System on certified ProLiant servers and Oracle will provide patches and updates directly to HP's customers through Oracle SunSolve.

As part of this expanded relationship HP and Oracle will work together to enhance the customer experience for Oracle Solaris on ProLiant servers and HP increase its participation in the OpenSolaris community."

And of course you can also run Open Solaris on any x86 hardware, including HP servers, entirely for free if you want. I wonder though if it would make sense for HP to also offer support for Open Solaris - more and more customers are deploying Open Solaris instead of Solaris 10 on their servers and Oracle already offers a support for it on their own servers.

> Read More... | Digg This!