<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JRH's Blog</title>
	<atom:link href="http://blog.jrh.org/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.jrh.org</link>
	<description>Systems and Such</description>
	<lastBuildDate>Sat, 07 Nov 2009 01:18:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Moblin on MSI Wind U100</title>
		<link>http://blog.jrh.org/?p=15</link>
		<comments>http://blog.jrh.org/?p=15#comments</comments>
		<pubDate>Mon, 08 Jun 2009 22:54:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Systems]]></category>
		<category><![CDATA[moblin]]></category>

		<guid isPermaLink="false">http://blog.jrh.org/?p=15</guid>
		<description><![CDATA[This is a very low content post, but I thought I would mention that Moblin seems to work flawlessly on my MSI Wind U100. Everything seems to work at least reasonably well. For instance, the wifi adapter works, figured out the local AP, that it was WPA2, and then let me connect. It does boot [...]]]></description>
			<content:encoded><![CDATA[<p>This is a very low content post, but I thought I would mention that <a title="Moblin" href="http://moblin.org/">Moblin</a> seems to work flawlessly on my <a title="MSI Wind U100" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16834152085">MSI Wind U100</a>. Everything seems to work at least reasonably well. For instance, the wifi adapter works, figured out the local AP, that it was WPA2, and then let me connect. It does boot very quickly (maybe not QUITE the 5-10 seconds they claim to be fully into the desktop) and seems reasonably responsive.</p>
<p>There are a few gotchas that I find somewhat annoying.</p>
<ul>
<li>The clutter interface, while cool, does seem a bit buggy. Sometimes the zones (virtual desktop) switcher seems to change size and does the wrong thing.</li>
<li>The clutter version of <a title="Firefox" href="http://getfirefox.com">Firefox</a> will sometimes have &#8216;focus&#8217; issues and not work exactly right. I did install regular firefox and that seems a good deal better.</li>
<li>Would be nice if it supported &#8220;themes&#8221; a bit better so that the UI was more customizable.</li>
<li>They still have an older <a title="XFCE" href="http://www.xfce.org/">XFCE</a> desktop package set, but no reasonable way to simply switch to it.</li>
</ul>
<p>Overall, I do recommend Moblin for use on the MSI Wind. It&#8217;s not 100% polished yet, but it&#8217;s getting there very quickly. I gave it about a day booted from USB doing their <a title="test drive" href="http://moblin.org/documentation/test-drive-moblin/using-moblin-live-image">test drive</a> before installing it on the HDD. (Thank you MSI for shipping XP on a smaller partition and leaving the rest of the disk free for this kind of thing.)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jrh.org/?feed=rss2&#038;p=15</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSolaris 2008.11 on Toshiba U205</title>
		<link>http://blog.jrh.org/?p=11</link>
		<comments>http://blog.jrh.org/?p=11#comments</comments>
		<pubDate>Sat, 03 Jan 2009 08:05:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[opensolaris]]></category>

		<guid isPermaLink="false">http://blog.jrh.org/?p=11</guid>
		<description><![CDATA[I was recently given an Toshiba U205-S5057 laptop. This is actually a pretty nice little computer. Not quite a netbook, but definitely in the subcompact range for laptops. At any rate, the existing Vista install on the machine did not work, so it seemed like as good a reason as any to install OpenSolaris on [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently given an Toshiba U205-S5057 laptop. This is actually a pretty nice little computer. Not quite a netbook, but definitely in the subcompact range for laptops. At any rate, the existing Vista install on the machine did not work, so it seemed like as good a reason as any to install OpenSolaris on this little guy. I will say I was pleasantly surprised to find nearly everything works (wireless with NWAM, audio, video, etc.) with the exception of the card reader, which is of no real consequence to me. So, if anyone is looking for a small laptop to run OpenSolaris on, this may very well be a good fit for them.</p>
<p>On a sidenote, I&#8217;m sure this is listed somewhere else, but one thing I noted was that the swap space is pretty small by default with OpenSolaris, so I just did a</p>
<pre>zfs set volsize=2G rpool/swap</pre>
<p>and I was good to go with a reasonable amount of swap.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jrh.org/?feed=rss2&#038;p=11</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSolaris 2008.11</title>
		<link>http://blog.jrh.org/?p=9</link>
		<comments>http://blog.jrh.org/?p=9#comments</comments>
		<pubDate>Fri, 02 Jan 2009 11:24:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[opensolaris]]></category>

		<guid isPermaLink="false">http://blog.jrh.org/?p=9</guid>
		<description><![CDATA[I&#8217;ve been using some incarnation of OpenSolaris for the past couple of years (primarily following Nevada on my Acer Ferrari 4005) and recently decided to try the most recent OpenSolaris release from within a VirtualBox instance before taking the leap on the laptop. Previously I had run OpenSolaris on an Ultra 40 while at a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using some incarnation of OpenSolaris for the past couple of years (primarily following Nevada on my Acer Ferrari 4005) and recently decided to try the most recent OpenSolaris release from within a VirtualBox instance before taking the leap on the laptop. Previously I had run OpenSolaris on an Ultra 40 while at a prior place of employment, so I was mostly familiar with the new IPS system, but I wasn&#8217;t particularly impressed with the state of OpenSolaris at the time; IPS was slow, the installer was severely limited, etc. To sum it up, I&#8217;ve been pleasantly surprised with 2008.11.</p>
<p>A few things stand out</p>
<ul>
<li>The package manager is quite usable now. There&#8217;s clearly been some improvement in the speed at which it runs and the general search and install capabilities are very reasonable. One might even say better than your average Linux&#8217;s capabilities in this respect. Also, the sheer number of packages has increased substantially. Good to see things like Eclipse there.</li>
<li><a title="Fast Reboot" href="http://wikis.sun.com/display/OpenSolarisInfo/Support+for+Fast+Reboot" target="_blank">Fast Reboot</a> is a very cool feature. I could see some positive implications on the server side for this.</li>
<li>A number of laptop improvements are available, though this is not terribly obvious within VirtualBox. When I load it up on the Ferrari, it should make the experience even better.</li>
</ul>
<p>It seems like the general stability/usability (updated Gnome, for instance) of OpenSolaris 2008.11 shows that this could very well be a good desktop OS. As mentioned earlier, I&#8217;ve run Solaris as a desktop OS for quite some time, but it&#8217;s never been a particularly &#8220;easy&#8221; experience, with plenty of self compiling (or with the excellent <a title="SFE" href="http://pkgbuild.sourceforge.net/spec-files-extra/">SFE</a>), but OpenSolaris really has brought a lot of ease to the process.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jrh.org/?feed=rss2&#038;p=9</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Temporarily increase max file descriptors</title>
		<link>http://blog.jrh.org/?p=6</link>
		<comments>http://blog.jrh.org/?p=6#comments</comments>
		<pubDate>Mon, 28 Jul 2008 06:25:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[rbac]]></category>

		<guid isPermaLink="false">http://blog.jrh.org/?p=6</guid>
		<description><![CDATA[This might be a little bit obvious, but it was something that came up recently. In Solaris 10, typically you&#8217;d set the maximum number of open files per user through /etc/project and /etc/user_attr. This is the fancy new updated model that is significantly more flexible than the old /etc/system with rlim_fd_max and rlim_fd_cur. The issue [...]]]></description>
			<content:encoded><![CDATA[<p>This might be a little bit obvious, but it was something that came up recently. In Solaris 10, typically you&#8217;d set the maximum number of open files per user through /etc/project and /etc/user_attr. This is the fancy new updated model that is significantly more flexible than the old /etc/system with rlim_fd_max and rlim_fd_cur.</p>
<p>The issue I recently ran into was that I had forgotten to update the process.max-file-descriptor before starting up a service, only to find it had run out of FDs. I applied the fix to /etc/{user_attr,project} but didn&#8217;t want to restart the app to have it take effect, so I used the <tt>plimit(1)</tt> command, something like:</p>
<p><tt>plimit -n 4096,8192 `pgrep procname`</tt></p>
<p>So, it&#8217;s set for now, and when the process dies/restarts, it&#8217;ll pick up the right stuff from /etc/</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jrh.org/?feed=rss2&#038;p=6</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SNMP on Solaris 10</title>
		<link>http://blog.jrh.org/?p=4</link>
		<comments>http://blog.jrh.org/?p=4#comments</comments>
		<pubDate>Tue, 15 Jul 2008 19:23:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[snmp]]></category>

		<guid isPermaLink="false">http://blog.jrh.org/?p=4</guid>
		<description><![CDATA[I have found SNMP on Solaris to be a little confusing, primarily because of the backward compatibility with Sun&#8217;s older Sun Solstice Enterprise Master Agent (snmpdx) method and their shift toward the (more) standard Net-SNMP. The thing is, you can really use either of them to get SNMP data out of a host, but for [...]]]></description>
			<content:encoded><![CDATA[<p>I have found SNMP on Solaris to be a little confusing, primarily because of the backward compatibility with Sun&#8217;s older Sun Solstice Enterprise Master Agent (snmpdx) method and their shift toward the (more) standard Net-SNMP. The thing is, you can really use either of them to get SNMP data out of a host, but for staying ahead of the curve, you&#8217;ll most likely want to run Net-SNMP (called SMA by Sun) and you may wish to run snmpdx for backward compatibility. That having been said, these are my basic notes on getting it to work.</p>
<p><strong>Start Both Services</strong></p>
<p><code><br />
svcadm enable svc:/application/management/snmpdx:default<br />
svcadm enable svc:/application/management/sma:default<br />
</code></p>
<p>According to Sun&#8217;s Documentation, snmpdx should be running before sma starts. By default, snmpdx is listening on port 16161 which won&#8217;t be queried by snmpwalk or snmpget. Starting sma will give you the default 161 listening snmpd. Each one has a different config file. sma&#8217;s configuration is found under <tt>/etc/sma/</tt> while snmpdx&#8217;s is found under <tt>/etc/snmp</tt>, so it&#8217;s fairly important to keep track of where you&#8217;re making your changes. <tt>/etc/snmp</tt> seems like a pretty logical place to go and edit files, but most likely you&#8217;re never going to need to touch them.</p>
<p><strong>Test It Out</strong><br />
It&#8217;s fairly easy to test it. Because Net-SNMP will answer SNMP v1, 2c and 3 queries, you can do some fancy stuff like setup authentication with v3. For the default config, you can simply run:<br />
<code><br />
snmpwalk -v 2c -c localhost public<br />
</code></p>
<p>This should return quite a few lines regarding your system. You can use more specific calls like:<br />
<code><br />
$ snmpget -v 2c -c public localhost 1.3.6.1.2.1.1.1.0<br />
SNMPv2-MIB::sysDescr.0 = STRING: SunOS thor 5.10 Generic_137112-02 i86pc<br />
</code><br />
Which will give you the output of <tt>uname -a</tt>. As you can see from the output, the OID has been converted to a more reasonable string by the MIB, so 1.3.6.1.2.1.1.0 is the same as:<br />
<code><br />
$ snmpget -v 2c -c public localhost sysDescr.0<br />
SNMPv2-MIB::sysDescr.0 = STRING: SunOS thor 5.10 Generic_137112-02 i86pc<br />
</code><br />
You can poke around in <tt>/etc/sma/snmp/mibs/</tt> for more more useful data.</p>
<p>Sun&#8217;s documentation is typically pretty good and they cover some of this in:<br />
<a href="http://docs.sun.com/app/docs/doc/817-3000/introduction-5?a=view">http://docs.sun.com/app/docs/doc/817-3000/introduction-5?a=view</a><br />
It&#8217;s a little densely packed, but it can get you going and explain much better what SNMP agents are and why there&#8217;s snmpdx, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jrh.org/?feed=rss2&#038;p=4</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun Fire X4540</title>
		<link>http://blog.jrh.org/?p=3</link>
		<comments>http://blog.jrh.org/?p=3#comments</comments>
		<pubDate>Sun, 13 Jul 2008 03:49:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Systems]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[thor]]></category>
		<category><![CDATA[x4540]]></category>

		<guid isPermaLink="false">http://blog.jrh.org/?p=3</guid>
		<description><![CDATA[Overview I&#8217;ve had the opportunity to beta test the Sun Fire X4540, which is the successor for the highly acclaimed Sun Fire X4500 (aka thumper). For those of you who haven&#8217;t heard of the thumper, it&#8217;s a 4U 48 drive system that more or less combines a head unit plus disks to form an all-in-one [...]]]></description>
			<content:encoded><![CDATA[<h3><strong>Overview</strong></h3>
<p>I&#8217;ve had the opportunity to beta test the <a title="Sun Fire X4540" href="http://www.sun.com/servers/x64/x4540/" target="_blank">Sun Fire X4540</a>, which is the successor for the highly acclaimed <a title="Sun Fire X4500" href="http://www.sun.com/servers/x64/x4500/" target="_blank">Sun Fire X4500</a> (aka thumper). For those of you who haven&#8217;t heard of the thumper, it&#8217;s a 4U 48 drive system that more or less combines a head unit plus disks to form an all-in-one file server in a very compact design. While it likely could run any number of operating systems, it&#8217;s particularly well designed for <a href="http://www.sun.com/software/solaris/index.jsp" target="_blank">Solaris 10</a> or <a href="http://www.opensolaris.com/">OpenSolaris</a> and ZFS, as the disks are presented JBOD style.</p>
<p>On the technical side, the X4540 addresses some of the initial issues I had with the X4500, primarily support for a great deal more RAM (from 16 to 64), which means that ZFS will cache even more efficiently than ever and you can run a larger variety of memory hungry apps if you&#8217;re so inclined. It also supports the newer AMD Opteron 2xxx CPUs, so you get not only better speed, but also the energy savings associated with use DDR2. In addition, there&#8217;s also a CF slot on the back so that you can boot the system without wasting one or two of the 48 drives.</p>
<p>Unfortunately, there are a couple of downsides to the new system, which might just be me being picky. First, they&#8217;ve decided to use the NVIDIA ethernet controllers, which I&#8217;ve had <a href="http://mail.opensolaris.org/pipermail/networking-discuss/2007-March/014663.html" target="_blank">problems</a> with in the past. (In their defense the problems are fixed in U5, though not in U4.) It would have been vastly preferrable for them to use the tried and true Intel E1000G controllers as found on many of their systems. I don&#8217;t know about everyone else, but I&#8217;m of the opion that those are the best gigabit ethernet controllers available. In addition to the use of nge vs. e1000g, there&#8217;s still the basic issue of wasting drives for booting. Yes, CF is an interesting way to go, but I believe it would have been nice if they had found a way to cram a couple of small SSD drives in there so you could mirror and boot off of those, so if for some strange reason you wanted more performance on you systems disks (heavy logging, maybe?), you could do that.</p>
<p>Performance-wise the thing is a beast. There&#8217;s no doubt that the system performance is pretty amazing. I used a combination of iozone, bonnie++ and FileBench to generate load on the system in order gauge performnance. For large sequential writes and reads, getting close to 1GB/s across all of the drives was fairly easy. Smaller, random performance wasn&#8217;t quite as out of this world, but still quite good (500+MB/s).</p>
<p>The actual system specs were:</p>
<ul>
<li>2 Quad Core Opteron 2356s</li>
<li>32GB of RAM (16 2GB DIMMs)</li>
<li>48 1TB drives</li>
</ul>
<p>I created 4x 9+2 (raidz2) pools. I&#8217;ve heard rumors that building zpools with greater than 10 drives is a mistake, but it was the best performance to space ratio I could make work reasonably. One thing I&#8217;ll note is that it&#8217;s probably a good idea to build your pools out across as many of the internal controllers as possible to try and maximize parallelism in your data.</p>
<p>Here&#8217;s some bonnie++ data showing all 4 zpool results (they were running in parallel):<br />
pool0:<br />
Version 1.03c       &#8212;&#8212;Sequential Output&#8212;&#8212; &#8211;Sequential Input- &#8211;Random-<br />
-Per Chr- &#8211;Block&#8211; -Rewrite- -Per Chr- &#8211;Block&#8211; &#8211;Seeks&#8211;<br />
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP<br />
thor            64G 100520  98 207778  66 108533  49 81102  90 249018  63 836.6   8<br />
&#8212;&#8212;Sequential Create&#8212;&#8212; &#8212;&#8212;&#8211;Random Create&#8212;&#8212;&#8211;<br />
-Create&#8211; &#8211;Read&#8212; -Delete&#8211; -Create&#8211; &#8211;Read&#8212; -Delete&#8211;<br />
files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP<br />
16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++<br />
thor,64G,100520,98,207778,66,108533,49,81102,90,249018,63,836.6,8,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++</p>
<p>pool1:<br />
Version 1.03c       &#8212;&#8212;Sequential Output&#8212;&#8212; &#8211;Sequential Input- &#8211;Random-<br />
-Per Chr- &#8211;Block&#8211; -Rewrite- -Per Chr- &#8211;Block&#8211; &#8211;Seeks&#8211;<br />
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP<br />
thor            64G 104081  97 255887  56 104614  44 79642  87 259304  59 908.2  13<br />
&#8212;&#8212;Sequential Create&#8212;&#8212; &#8212;&#8212;&#8211;Random Create&#8212;&#8212;&#8211;<br />
-Create&#8211; &#8211;Read&#8212; -Delete&#8211; -Create&#8211; &#8211;Read&#8212; -Delete&#8211;<br />
files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP<br />
16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++<br />
thor,64G,104081,97,255887,56,104614,44,79642,87,259304,59,908.2,13,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++</p>
<p>pool2:<br />
Version 1.03c       &#8212;&#8212;Sequential Output&#8212;&#8212; &#8211;Sequential Input- &#8211;Random-<br />
-Per Chr- &#8211;Block&#8211; -Rewrite- -Per Chr- &#8211;Block&#8211; &#8211;Seeks&#8211;<br />
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP<br />
thor            64G 100374  98 194312  66 110581  48 81316  90 259698  63 876.7   4<br />
&#8212;&#8212;Sequential Create&#8212;&#8212; &#8212;&#8212;&#8211;Random Create&#8212;&#8212;&#8211;<br />
-Create&#8211; &#8211;Read&#8212; -Delete&#8211; -Create&#8211; &#8211;Read&#8212; -Delete&#8211;<br />
files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP<br />
16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++<br />
thor,64G,100374,98,194312,66,110581,48,81316,90,259698,63,876.7,4,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++</p>
<p>pool3:<br />
Version 1.03c       &#8212;&#8212;Sequential Output&#8212;&#8212; &#8211;Sequential Input- &#8211;Random-<br />
-Per Chr- &#8211;Block&#8211; -Rewrite- -Per Chr- &#8211;Block&#8211; &#8211;Seeks&#8211;<br />
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP<br />
thor            64G 104064  97 223351  50 104265  43 82014  88 257469  60 982.6  11<br />
&#8212;&#8212;Sequential Create&#8212;&#8212; &#8212;&#8212;&#8211;Random Create&#8212;&#8212;&#8211;<br />
-Create&#8211; &#8211;Read&#8212; -Delete&#8211; -Create&#8211; &#8211;Read&#8212; -Delete&#8211;<br />
files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP<br />
16 +++++ +++ +++++ +++ +++++ +++ 32464  88 +++++ +++ +++++ +++<br />
thor,64G,104064,97,223351,50,104265,43,82014,88,257469,60,982.6,11,16,+++++,+++,+++++,+++,+++++,+++,32464,88,+++++,+++,+++++,+++</p>
<h3>Closing</h3>
<p>I&#8217;d say the system is a really nice bulk storage device for a great price. Performance is quite reasonable (it&#8217;s no 15k RPM SAS) for the size and would make an excellent fileserver, backup host or iSCSI target for who knows what.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jrh.org/?feed=rss2&#038;p=3</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

