view counter

Solaris Feed

Oracle Solaris, Solaris 10, Solaris 11 Express, Solaris 11, Oracle VM for SPARC and Illumos resources, news, and support articles.

A Space Shooter in Curses

Some of you who follow me may know that I have recently built a pretty nifty framework for working with terminals.  ANSI, ASCII, VT100, Windows Console, etc.  Its called Tcell, and located on github.  (Its a Go framework though.)  It offers many of the same features as curses, though it is most definitely not a clone of curses.

Anyway, I decided it should be possible to write a game in this framework, so I wrote one.

Oracle VM Server for SPARC Best practices: naming virtual network devices

This blog shows a simple usability best practice.
In Oracle VM Server for SPARC you name the virtual network devices,
and there is no requirement that virtual network device names be unique across domains.
In other words, you could do something like this:

# ldm add-dom ldg1
# ldm add-vnet net0 primary-vsw0 ldg1
...other commands...
# ldm add-dom ldg2
# ldm add-vnet net0 primary-vsw0 ldg2
...other commands...

That's perfectly legal, and doesn't cause any operational problems.

Fun with terminals, character sets, Unicode, and Go

As part of my recent work on Tcell, I've recently added some pretty cool functionality for folks who want to have applications that can work reasonably in many different locales.

For example, if your terminal is running in UTF-8, you can access a huge repertoire of glyphs / characters.

Tcell - Terminal functionality for Pure Go apps

Introducing Tcell  - Terminal functionality for Pure Go apps

As part of the work I've done on govisor, I had a desire for rich terminal functionality so that I could build a portable curses-style management application.

This turned out to be both easier and harder than I thought.

Oracle VM Performance and Tuning - Part 2

This article on Oracle VM performance reviews general performance principles,
and follows with a review of Oracle VM architectural features that affect performance.
This will be high-level as a basis for more technical detail in subsequent articles.

How to evaluate and measure performance (short version)

First, let's consider ways to not evaluate performance.
Performance is often stated in unquantified generalities ("Give good response time!") or complaints ("Response time is terrible today.

On Go, Portability, and System Interfaces

I've been noticing more and more lately that we have a plethora of libraries and programs written for Go, which don't work on one platform or another.  The root cause of these is often the use of direct system call coding to system calls such as ioctl().  On some platforms (illumos/solaris!) there is no such system call.

The Problems

Announcing govisor 1.0

I'm happy to announce that I feel I've wrapped up Govisor to a point where its ready for public consumption.

Govisor is a service similar to supervisord, in that it can be used to manage a bunch of processes.  However, it is much richer in that it understands process dependencies, conflicts, and also offers capabilities for self-healing, and consolidated log management.

GPT fdisk on illumos

Is there an alternative to the illumos native fdisk? Yes, for example, GPT fdisk from Rod Smith. It includes the gdisk, cgdisk, sgdisk, and fixparts programs. Site mentions only usage on Linux, FreeBSD, Mac OS X and Windows, but it is possible that GPT fdisk may be suitable on illumos-based distributions. It requires popt library (OmniOS contains it) and latest version built with no problems, except for a small fix for ncurses.

root@test:# ./gdisk /dev/dsk/c2t3d0p0

Requests for discussion

One of the exciting challenges of being an all open source company is figuring out how to get design conversations out of the lunch time discussion and the private IRC/Jabber/Slack channels and into the broader community. There are many different approaches to this, and the most obvious one is to simply use whatever is used for issue tracking.

view counter