My Sun Ultra 5 And Me: A Geek Odyssey

A few weeks ago, I stubbed my toe on my old Sun Ultra 5 as it sat there lifeless and unused in my apartment. Once my primary desktop, the envy of my geek friends, and a way to woo the ladies, its glory days have long since passed. As much as I would like to let it live out its days looking sexy and taking up space, I live on the island of Manhattan, where space is a premium. Since I can’t charge it rent, I decided I’d better use it or lose it. But what to use it for? What operating system would I run on it? Solaris? What about Linux? FreeBSD? NetBSD? OpenBSD? They all run on the SPARC platform, so I thought why not do a quick review.

What began as a simple review of some operating systems to run on an old Ultra 5 quickly grew into a behemoth project, a black hole in some respects, consuming more and more of my time and curiosity. The more I dug into the issue, the more tangents I found myself flying off on.


As my initial questions about available operating systems were answered, other questions started
to arise. What about Sun’s compiler suite on Solaris, is it really that much faster than GCC? What
about GCC 3.x versus GCC 2.95 on creating SPARC code? How did the various operating
systems compare to each other performance-wise? Why was SSH so slow on SPARC?


The 64-bit environment of the UltraSPARC platform put forth even more questions. Would running
64-bit operating systems be faster? Would compiling my binaries in 64-bit be slower as everyone
claims? If slower, how much slower?


Surprisingly, Google provided very few concrete answers and quite a bit of hearsay taken as fact.
So I plunged in, and what was going to be one article eventually turned into several articles, and
even required this article just as an intro.


I ended up on a trip through 64-bit land, running into problems and issues that I hadn’t even
considered in my 32-bit world, or bothered to ask when I first ran the Ultra 5. Back then, 64-bits
was more of a marketing tool, and in many respects, still is.


History


The Ultra 5 is an entry-level UltraSPARC-based 64-bit workstation from Sun. Initially released in
1998, it has been updated several times with faster processors, larger disks, and better graphics.
The Ultra 5 was one of Sun’s most controversial systems. To bring the price down, it was among
the first series of Sun systems to use an IDE drive instead of SCSI. In fact, without a PCI card,
the Ultra 5 had no SCSI bus at all. Many of the other components where PC-esque as well,
including the frame buffer which was actually an ATI Mach64 chipset with Sun ROMs. As a result,
the Ultra 5 was the target of much derision by more refined Sun system admins. “IDE? Well I
never!”


Despite increasingly clever derogatory puns (such as “hung like an IDE bus untarring a file”) by
the Sun sysadmin elite, the Ultra 5 was a huge success. In a time when Linux was still in the
“prove it” stage to enterprise customers, the Sun Ultra 5 was an attractive, low cost Unix system
running the well respected Solaris operating system, now in 64-bit Solaris 7 flavor.
In fact, to Sun’s annoyance, it was used not only as a workstation, but also extensively as a
server, supplanting the much more expensive (and lucrative, for Sun) Enterprise 250’s, which at
around $20,000-$30,000 were (incredulously) Sun’s idea of a low-end web server at the time.
First released with 8-bit frame buffers and 270 MHz UltraSPARC IIi processors with 256 KB of
cache, subsequent releases saw Ultra 5’s with up to 400 MHz UltraSPARC IIi processors with
2MB of cache and 24-bit capable frame buffers.


The Goods


The system I’m using is a second generation of the Ultra 5, released in late 1998. Here are the
specs:


System: Sun Ultra 5
Processor: UltraSPARC IIi 333 MHz, 2MB cache
Memory: 256 MB
HD: Seagate Medalist 7200 RPM IDE Pro 9140 8.4 GB
IDE Controller: Built-in UDMA2, 33 MB/s max
CD-ROM: 32x IDE
Video Controller: Sun PGX24 (ATI Mach64), 4 MB VRAM
Network: Built-in 10/100 NIC (hme, “Happy Meal” interface)


The system is stock, and exists as it did when I first bought it. The only changes I ever made
were the addition of larger capacity hard drives, however, for this test I’m using the origional 8.4
GB hard drive that came with the system.


So not only do you have the option of using one of several open source operating systems (Linux,
FreeBSD, NetBSD, OpenBSD), but also the ability to use Solaris at no additional cost as well,
giving you several options.


If you’re using it for non-commercial or educational use, you can get and use the Solaris operating
system (legally licensed) through the Free Solaris Binary License Program.


One of the misconceptions about Solaris is that it’s free to use, which isn’t quite the case. It’s free
to download (most recently for x86 as well). To qualify for a free binary license, it needs to be
non-commercial, educational, or developer use on a uni-processor system.


I found my original invoice from March of 1999 when I paid $2,395 for the system, and another
$1,000 for the 21-inch Sun monitor (which is an excellent monitor, and one I still use). The pricing
was part of a Sun educational promotion. For a comparison, Intel’s fastest processor was the PIII
500 MHz, released in February of 1999, which ran about $800 for the processor by itself.
The 333 MHz UltraSPARC IIi and the Pentium III 500 MHz were roughly the same class, with the
PIII measuring 20.7 for CINT95 and 14.7 for CFP95 in SPEC’s CPU 95 tests. The Ultra 5 333
MHz system rated a 14.1 CINT95 and 18.3 for CFP95 (taken from 98Q4 and 99Q1 SPEC
results).


After nearly a 4-year run the Ultra 5 was finally retired in 2001 and replaced by the Sun Blade
series. The Ultra 5 still stands as one of the most successful Unix workstations to date.

Upgrading


For those that wish to trick out your Ultra 5, there are a few options depending on your needs and
budget.
Storage: The case fits a single standard sized 3 ½ inch IDE drive, although some say you can
remove the floppy drive and put in two (but be careful about heat dissipation). The Ultra 5 should
take any standard IDE drive, although it probably won’t handle over 137 GB. Also, it should be
noted that the IDE interface on the Ultra 5 is UDMA2, or 33 MB/s. I’ve put in a 40 and 80 GB
Western Digital drives and they ran fine.


As far as DVD ROM drives and CD burners, I really couldn’t say, as I’ve never tried to install
either.


Memory: Memory is an issue, though, as memory upgrades, even off eBay, can be almost as
expensive as the system itself. It’s just not standard RAM. Currently I’ve got 256 MB on my
system, and even as a desktop, it’s not bad. The max RAM you can put in is 512 MB.
There are 4 memory slots, and they must be installed in pairs.


Video: For video upgrades, you’re stuck with slower PCI-video cards, and if you’re using Solaris,
expensive slow PCI-video cards. Sun has offered up the PGX32 and PGX64 PCI-based video
cards which offer 8 MB of VRAM.


The PGX64 is listed on Sun’s site for $405, which for a 8MB PCI video card seems a little pricey.
If the subtleties of irony didn’t translate over my mangling of the English language, $405 for a PCI
video card is a lot pricey.


You can find the PGX32 cards, and even some PGX64 cards much cheaper off of eBay.
Because of the way Sun’s X works, you can’t run the desktop in 16-bit modes. It’s either 8-bit or
24-bit, which is a bit of an annoyance, because the VRAM is sufficient to run 1280×1024 in 16-bit
mode, which is better suited for large monitors.


However, if you run Linux you could probably run any PCI-video card that had a XFree86 driver.
Because the Sun video requires special ROMs, you wouldn’t be able to use it in console mode;
only X11. You can pick an 8 MB ATI PCI card for about $15 on eBay. Linux also allows you to
run 16-bit graphics, so you can 1280×1024 with the PGX24 built-in video on an Ultra 5.
Remember though, it is PCI graphics, so even a faster card isn’t going to be that much faster.
The video port is a standard VGA HD-15 pin configuration so just about any display should work,
without a need for a Sun-branded adapter.


Keyboard/Mouse: Unfortunately, you’re stuck with Sun keyboards and mice, as the connector is Sun-specific, as well as certain specialty keys. There may be adapters, but I don’t know how well they’ll work with the specialized keys.


Reviews


So in the next series of articles (two will be published on OSNews this week, the rest very soon), I’m going to be reviewing several aspects of the Ultra 5. Available operating systems, compiler performance, and 64-bit versus 32-bit binary issues will be addressed. Here are the articles that are ready and will be released shortly.


• Are 32-bit Binaries Really Slower (on Solaris SPARC)?
• Sun’s C compiler versus GCC (both 3.3.2 and 2.95.3)
• SPARC platform operating system overview
• Solaris 9, SPARC
• Linux (Debian Woody release, and others)
• FreeBSD
• OpenBSD
• NetBSD


Plus a few more as I get them completed. If you’ve got any particular questions or suggestions for
benchmarks, please feel free to drop me a line. And yes, I will be using Felix’s benchmarks from here, although because of porting issues, it will probably be limited. The purpose of these articles is to evaluate this hardware in a way that hasn’t really been
evaluated before (at least that I’ve seen, forward me any links if my assumption is incorrect).


Memories


This system sure brought back a lot of memories, back to a time when SPARC meant something.
It meant power and elegance, in a way that no longer quite applies. It brings me back to the days
of hanging HyperSPARC processors around our necks, akin to Flavah Flav.


It reminded me of when my friend Josh, who personally owned more Sun hardware than anyone
I’ve ever known, including two VME-based systems, and he owned them for no other reason other
than as a hobby.


He since has gotten rid of most of his hardware, holding onto only a dual-processor Ultra 2. He did
donate one of the VME systems to the effort to port FreeBSD to the sun4c systems (FreeBSD
currently only works on sun4u, UltraSPARCs).


Conclusion


So why should you be interested in a 5 year old piece of hardware?


If you’re looking to play with 64-bit operating systems but aren’t willing to sink the dough in an AMD x86-64 solution, the Ultra 5 is a good place to start. I’ve seen them on eBay for anywhere from $200 to $400, depending on the configuration.


While not the fastest piece of hardware, it’s incredibly relevant for a system of its age. It’s a great learning tool for a variety of operating systems, as it’s widely supported, and great for exploring the 64-bit realm.


Anyway, I hope you enjoy, and maybe learn a little bit about this piece of inexpensive hardware that I’ve grown a newfound, deeper respect for.

100 Comments

  1. 2004-01-21 2:56 am
  2. 2004-01-21 3:03 am
  3. 2004-01-21 3:17 am
  4. 2004-01-21 3:20 am
  5. 2004-01-21 3:23 am
  6. 2004-01-21 3:56 am
  7. 2004-01-21 3:58 am
  8. 2004-01-21 4:07 am
  9. 2004-01-21 4:10 am
  10. 2004-01-21 4:12 am
  11. 2004-01-21 4:23 am
  12. 2004-01-21 4:25 am
  13. 2004-01-21 4:40 am
  14. 2004-01-21 4:59 am
  15. 2004-01-21 5:11 am
  16. 2004-01-21 5:13 am
  17. 2004-01-21 5:22 am
  18. 2004-01-21 5:28 am
  19. 2004-01-21 6:08 am
  20. 2004-01-21 6:12 am
  21. 2004-01-21 6:14 am
  22. 2004-01-21 6:32 am
  23. 2004-01-21 7:43 am
  24. 2004-01-21 7:58 am
  25. 2004-01-21 8:03 am
  26. 2004-01-21 8:08 am
  27. 2004-01-21 8:38 am
  28. 2004-01-21 11:10 am
  29. 2004-01-21 11:27 am
  30. 2004-01-21 11:32 am
  31. 2004-01-21 11:50 am
  32. 2004-01-21 12:08 pm
  33. 2004-01-21 12:28 pm
  34. 2004-01-21 12:47 pm
  35. 2004-01-21 12:48 pm
  36. 2004-01-21 12:53 pm
  37. 2004-01-21 12:59 pm
  38. 2004-01-21 1:13 pm
  39. 2004-01-21 2:20 pm
  40. 2004-01-21 3:12 pm
  41. 2004-01-21 3:49 pm
  42. 2004-01-21 4:09 pm
  43. 2004-01-21 4:42 pm
  44. 2004-01-21 4:50 pm
  45. 2004-01-21 4:51 pm
  46. 2004-01-21 4:55 pm
  47. 2004-01-21 4:58 pm
  48. 2004-01-21 5:01 pm
  49. 2004-01-21 5:02 pm
  50. 2004-01-21 5:21 pm
  51. 2004-01-21 5:24 pm
  52. 2004-01-21 5:44 pm
  53. 2004-01-21 5:45 pm
  54. 2004-01-21 5:46 pm
  55. 2004-01-21 5:48 pm
  56. 2004-01-21 5:52 pm
  57. 2004-01-21 6:02 pm
  58. 2004-01-21 6:10 pm
  59. 2004-01-21 6:11 pm
  60. 2004-01-21 6:13 pm
  61. 2004-01-21 6:27 pm
  62. 2004-01-21 6:32 pm
  63. 2004-01-21 6:42 pm
  64. 2004-01-21 6:44 pm
  65. 2004-01-21 6:48 pm
  66. 2004-01-21 7:07 pm
  67. 2004-01-21 7:44 pm
  68. 2004-01-21 8:18 pm
  69. 2004-01-21 9:42 pm
  70. 2004-01-21 9:57 pm
  71. 2004-01-21 10:38 pm
  72. 2004-01-21 10:42 pm
  73. 2004-01-21 11:20 pm
  74. 2004-01-21 11:27 pm
  75. 2004-01-22 12:20 am
  76. 2004-01-22 12:57 am
  77. 2004-01-22 1:36 am
  78. 2004-01-22 1:41 am
  79. 2004-01-22 1:43 am
  80. 2004-01-22 1:44 am
  81. 2004-01-22 1:47 am
  82. 2004-01-22 4:50 am
  83. 2004-01-22 6:52 am
  84. 2004-01-22 7:01 am
  85. 2004-01-22 7:25 am
  86. 2004-01-22 8:10 am
  87. 2004-01-22 4:17 pm
  88. 2004-01-22 5:12 pm
  89. 2004-01-22 5:17 pm
  90. 2004-01-22 8:46 pm
  91. 2004-01-22 9:39 pm
  92. 2004-01-22 11:52 pm
  93. 2004-01-23 12:47 am
  94. 2004-01-23 12:55 am
  95. 2004-01-23 2:31 am
  96. 2004-01-23 8:25 pm
  97. 2004-01-23 9:14 pm
  98. 2004-01-23 9:44 pm
  99. 2004-01-24 12:15 am
  100. 2004-01-27 7:06 am