<?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>My Wushu Blog &#187; Geekyness</title>
	<atom:link href="http://www.mywushublog.com/category/geekyness/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mywushublog.com</link>
	<description></description>
	<lastBuildDate>Wed, 28 Jul 2010 05:05:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>FreeBSD and Multipath</title>
		<link>http://www.mywushublog.com/2010/06/freebsd-and-multipath/</link>
		<comments>http://www.mywushublog.com/2010/06/freebsd-and-multipath/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 06:06:58 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Geekyness]]></category>
		<category><![CDATA[Benchmarking]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://www.mywushublog.com/?p=985</guid>
		<description><![CDATA[I didn&#8217;t find any blog posts of discussions on FreeBSD and multipath (for storage) that wasn&#8217;t a man page. That means it is up to me to write about it Hardware CPU Machine class: amd64 CPU Model: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz No. of Cores: 16 Memory Total real memory available: 65511 MB Logically [...]]]></description>
			<content:encoded><![CDATA[<p>I didn&#8217;t find any blog posts of discussions on FreeBSD and multipath (for storage) that wasn&#8217;t <a href="http://www.freebsd.org/cgi/man.cgi?query=gmultipath&amp;section=8">a man page</a>.</p>
<p>That means it is up to me to write about it <img src='http://www.mywushublog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Hardware</h2>
<h3>CPU</h3>
<h3>
<pre>Machine class:	amd64
CPU Model:	Intel(R) Xeon(R) CPU           E5530  @ 2.40GHz
No. of Cores:	16</pre>
</h3>
<h3>Memory</p>
<pre>Total real memory available:	65511 MB
Logically used memory:		3945 MB
Logically available memory:	61565 MB</pre>
</h3>
<h3>Storage</h3>
<p>The storage is a large ~90TB Enterprise class Fibre Channel array, a Data Direct Networks S2A9900. Connected to that are two, dual port QLogic 2532 8Gb HBA&#8217;s. We also have two SSD drives (configured as a RAID1 device) for the ZFS Intent Log.</p>
<p>The storage array was configured from 120 1TB, 7200RPM Hitachi drives. It has 12 volumes in total, composed of 10 of the SATA drives (1 parity, 1 Spare), or ~7TB.</p>
<p>The S2N9900 has two controllers, one controller is responsible for LUN&#8217;s 1-6, the other controller is responsible for LUN&#8217;s 7-12. every LUN is presented to all four Fibre Channel ports. This got a little messy, trying to sort out 48 raw disk devices takes some patience and a decent attention span&#8230;</p>
<p>yeah, I did make a few typo&#8217;s here and there, thankfully creating and clearing disk labels is easy.</p>
<pre># camcontrol devlist|grep lun\ 0
                at scbus0 target 0 lun 0 (pass0,da0)
                at scbus1 target 0 lun 0 (pass6,da6)
                at scbus4 target 0 lun 0 (pass24,da24)
                at scbus5 target 0 lun 0 (pass30,da30)</pre>
<pre># camcontrol inquiry da0 -S
108EA1B10001
# camcontrol inquiry da6 -S
108EA1B10001
# camcontrol inquiry da24 -S
108EA1B10001
# camcontrol inquiry da30 -S
108EA1B10001
# gmultipath label -v DDN-v00 /dev/da0 /dev/da6 /dev/da24 /dev/da30
Done.</pre>
<pre># gmultipath status
             Name  Status  Components
multipath/DDN-v00     N/A  da0
                           da6
                           da24
                           da30</pre>
<p>Now, to do that 12 more times&#8230;</p>
<p>Whew, hard work!</p>
<p>Now, to create a simple ZFS volume across all 12 luns:</p>
<pre># zpool create zfs multipath/DDN-v00 multipath/DDN-v01 multipath/DDN-v02 multipath/DDN-v03 multipath/DDN-v04 multipath/DDN-v05 multipath/DDN-v06 multipath/DDN-v07 multipath/DDN-v08 multipath/DDN-v09 multipath/DDN-v10 multipath/DDN-v11 log mfid1

# zpool status
  pool: zfs
 state: ONLINE
 scrub: none requested
config:

	NAME                 STATE     READ WRITE CKSUM
	zfs                   ONLINE       0     0     0
	  multipath/DDN-v00  ONLINE       0     0     0
	  multipath/DDN-v01  ONLINE       0     0     0
	  multipath/DDN-v02  ONLINE       0     0     0
	  multipath/DDN-v03  ONLINE       0     0     0
	  multipath/DDN-v04  ONLINE       0     0     0
	  multipath/DDN-v05  ONLINE       0     0     0
	  multipath/DDN-v06  ONLINE       0     0     0
	  multipath/DDN-v07  ONLINE       0     0     0
	  multipath/DDN-v08  ONLINE       0     0     0
	  multipath/DDN-v09  ONLINE       0     0     0
	  multipath/DDN-v10  ONLINE       0     0     0
	  multipath/DDN-v11  ONLINE       0     0     0
	logs                 ONLINE       0     0     0
	  mfid1              ONLINE       0     0     0

errors: No known data errors</pre>
<h2>Results</h2>
<p>These results wre obtained from two <strong>similar</strong> servers. The other server is using a Winchester Systems Storage array, and has 24GB of system memory. The Winchester Storage is ~40TB of 2TB SATA disks:<br />
<div id="attachment_999" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/06/winsys-fd-sx2318r.jpg"><img src="http://www.mywushublog.com/wp-content/uploads/2010/06/winsys-fd-sx2318r-300x253.jpg" alt="" title="winsys-fd-sx2318r" width="300" height="253" class="size-medium wp-image-999" /></a><p class="wp-caption-text">Another RAID array, just for a comparison</p></div></p>
<p>I used IOZone for the test (iozone -a). The default iozone test is using 64k files to 512MB files, and since I&#8217;m trying to see how the server might actually react to the real worl, I&#8217;m okay with this (ie, I fully understand that a LOT of caching is taking place, and I want that for right now).<br />
<div id="attachment_997" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-frewrite.png"><img src="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-frewrite-300x192.png" alt="" title="2d-frewrite" width="300" height="192" class="size-medium wp-image-997" /></a><p class="wp-caption-text">Forward Re-Write</p></div></p>
<div id="attachment_996" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-freread.png"><img src="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-freread-300x192.png" alt="" title="2d-freread" width="300" height="192" class="size-medium wp-image-996" /></a><p class="wp-caption-text">Forward Re-Read</p></div>
<div id="attachment_995" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-fread.png"><img src="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-fread-300x192.png" alt="Forward Read" title="2d-fread" width="300" height="192" class="size-medium wp-image-995" /></a><p class="wp-caption-text">Forward Read</p></div><br />
<div id="attachment_994" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-bkwdread.png"><img src="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-bkwdread-300x192.png" alt="" title="2d-bkwdread" width="300" height="192" class="size-medium wp-image-994" /></a><p class="wp-caption-text">Backwards Read</p></div><br />
<div id="attachment_993" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-randread.png"><img src="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-randread-300x192.png" alt="" title="2d-randread" width="300" height="192" class="size-medium wp-image-993" /></a><p class="wp-caption-text">Random Read</p></div><br />
<div id="attachment_992" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-reread.png"><img src="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-reread-300x192.png" alt="" title="2d-reread" width="300" height="192" class="size-medium wp-image-992" /></a><p class="wp-caption-text">Re-Read</p></div><br />
<div id="attachment_991" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-recrewrite.png"><img src="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-recrewrite-300x192.png" alt="" title="2d-recrewrite" width="300" height="192" class="size-medium wp-image-991" /></a><p class="wp-caption-text">Rec? Re-Write</p></div>
<div id="attachment_990" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-write.png"><img src="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-write-300x192.png" alt="" title="2d-write" width="300" height="192" class="size-medium wp-image-990" /></a><p class="wp-caption-text">Write</p></div><br />
<div id="attachment_998" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-strideread.png"><img src="http://www.mywushublog.com/wp-content/uploads/2010/06/2d-strideread-300x192.png" alt="" title="2d-strideread" width="300" height="192" class="size-medium wp-image-998" /></a><p class="wp-caption-text">Strided Read</p></div>
<p>The S2N9900 is a pretty nice device. Although you have to use TELNET (yeesh, couldn&#8217;t they spend a few more bucks on a small ARM processor and use ssh?), the controllers have a decent command line environment with HELP pages. What is also nice is the company provides the documentation for their products for free, and no registration is required. Good Job!</p>
<p>As far as raw read and write speeds, that is hard to nail down. I&#8217;ve been using IOZone, and when I run that, and take a look at &#8216;zpool iostat 1&#8242;, the ZFS Pool stays at a constant 200MB/sec for writes. I&#8217;ve seen in pop up higher, like 250MB to 500MB, but 200 seems to be the ceiling. I&#8217;ve done with and without a dedicated log device, with and without gmultipath, and finally, using the SSD RAID1 as a L2ARC cache device. All results are nearly identical. Reads are pretty crazy though, with 64GB of system memory, reading a file is nearly 1GB/sec.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywushublog.com/2010/06/freebsd-and-multipath/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stuff and Things</title>
		<link>http://www.mywushublog.com/2010/06/stuff-and-things/</link>
		<comments>http://www.mywushublog.com/2010/06/stuff-and-things/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 05:20:06 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[Geekyness]]></category>
		<category><![CDATA[Coal]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Owen]]></category>
		<category><![CDATA[pf]]></category>

		<guid isPermaLink="false">http://www.mywushublog.com/?p=973</guid>
		<description><![CDATA[I don&#8217;t have a central theme with this post, but I wanted to at least do something (it has been a while). Packet Filter Based on Chris&#8217;s &#8220;Falling in love with pf(4)&#8221; google status, I decided to take the plunge and move off of ipfw(4) to pf(4). I&#8217;m not at the point where I could [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t have a central theme with this post, but I wanted to at least do something (it has been a while).</p>
<h2>Packet Filter</h2>
<p>Based on Chris&#8217;s &#8220;Falling in love with pf(4)&#8221; google status, I decided to take the plunge and move off of ipfw(4) to pf(4). I&#8217;m not at the point where I could write my one filter, however, I do feel I at least understand what is happening here. I also took the time to update all my ports, so I&#8217;m even running PHP 5.3.2, the latest WP release and about 600 other installed ports (Yikes, I&#8217;ve got a LOT of stuff on this server!). </p>
<p>I&#8217;ve always built my own kernel, at least on my home server, so the first thing to do is sync my /usr/src tree:</p>
<pre>$ sudo su -
root# csup ~/bin/src-supfile
...
root# vim /usr/src/sys/amd64/conf/BLACKHOLE
# pf
device          pf
device          pflog
# pf's QoS - ALTQ
options         ALTQ
options         ALTQ_CBQ        # Class Bases Queuing (CBQ)
options         ALTQ_RED        # Random Early Detection (RED)
options         ALTQ_RIO        # RED In/Out
options         ALTQ_HFSC       # Hierarchical Packet Scheduler (HFSC)
options         ALTQ_PRIQ       # Priority Queuing (PRIQ)
options         ALTQ_NOPCC      # Required for SMP build

root# cd /usr/src ; make -j8 buildkernel &amp;&amp; make installkernel &amp;&amp; reboot</pre>
<p>I use tcsh, a C Shell variant, and I find the AND (&amp;&amp;) operator really useful to chain commands together but I require that they succeed. This way, if my build fails, it will abort and not proceed with the install and reboot.</p>
<p>Now that I have a updated kernel with PF enabled, I had to steal Chris&#8217;s configuration:</p>
<h4>/etc/rc.conf</h4>
<pre>root# vim /etc/rc.conf
#
# Packet Filter
#
pf_enable="YES"
pf_rules="/etc/pf.conf"
pflog_enable="YES"

#
# Unused, pf replaces all of this
#
#natd_program="/sbin/natd"       # path to natd, if you want a different one.
#natd_enable="YES"                # Enable natd (if firewall_enable == YES).
#natd_interface="em0"               # Public interface or IPaddress to use.
#natd_flags="-u -s -m"                   # Additional flags for natd.
#firewall_enable="YES"
#firewall_script="/usr/local/etc/rc.firewall"
#firewall_logging="YES"</pre>
<h4>/etc/pf.conf</h4>
<pre>root# vim /etc/pf.conf
# ----------------------------------------------------------------------------
# "THE BEER-WARE LICENSE" (Revision 42):
# cshumway@titan-project.org wrote this file. As long as you retain this notice you
# can do whatever you want with this stuff. If we meet some day, and you think
# this stuff is worth it, you can buy me a beer in return Christopher Shumway
# ----------------------------------------------------------------------------
#
# pf.conf
ext_if="em0"
int_if="em1"
lan_net="192.168.2.0/24"
open_ports="{ domain, ssh, http, https }"

# options
set skip on lo0
set skip on $int_if
set limit states 25000
set loginterface $ext_if
set state-policy if-bound

# scrub traffic
scrub in all

# NAT
nat on $ext_if from $lan_net to any -&gt; ($ext_if)

# upnp redirection
rdr-anchor "miniupnpd"
anchor "miniupnpd"

# antispoofing
antispoof for $ext_if

# rules start here
block in
pass out on $ext_if keep state
pass in on $ext_if inet proto { tcp, udp } from any to ($ext_if) port $open_ports flags S/SA keep state
pass in on $ext_if inet proto icmp</pre>
<p>Pretty simple, and after a reboot my top process is java, and not natd(8). I can almost feel the internet becoming faster <img src='http://www.mywushublog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Rock n Roll Owen</h2>
<div id="attachment_978" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/06/family-2010.06.19_08.48.311.jpg"><img class="size-medium wp-image-978" title="family-2010.06.19_08.48.31" src="http://www.mywushublog.com/wp-content/uploads/2010/06/family-2010.06.19_08.48.311-300x200.jpg" alt="" width="300" height="200" /></a><p class="wp-caption-text">Unlike me, Owen still looks like a nice guy with shades on. I look like someone who would drive a black acura and cut you off...</p></div>
<div id="attachment_979" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/06/family-2010.06.19_08.48.421.jpg"><img class="size-medium wp-image-979" title="family-2010.06.19_08.48.42" src="http://www.mywushublog.com/wp-content/uploads/2010/06/family-2010.06.19_08.48.421-300x200.jpg" alt="" width="300" height="200" /></a><p class="wp-caption-text">Owen doesn&#39;t like the Paparazzi treatment!</p></div>
<p>We&#8217;ve made up, and did a publicity photo-op together<br />
<a href="http://www.mywushublog.com/wp-content/uploads/2010/06/family-2010.05.12_20.29.03.jpg"><img class="aligncenter size-medium wp-image-977" title="family-2010.05.12_20.29.03" src="http://www.mywushublog.com/wp-content/uploads/2010/06/family-2010.05.12_20.29.03-300x200.jpg" alt="" width="300" height="200" /></a></p>
<h2>Caralyne&#8217;s Garden</h2>
<div id="attachment_982" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/06/family-2010.05.12_16.07.54.jpg"><img src="http://www.mywushublog.com/wp-content/uploads/2010/06/family-2010.05.12_16.07.54-300x200.jpg" alt="" title="family-2010.05.12_16.07.54" width="300" height="200" class="size-medium wp-image-982" /></a><p class="wp-caption-text">Caralyne is skillful with both tending plants, and stapling things.</p></div>
<h2>Dogs</h2>
<div id="attachment_980" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/06/family-2010.05.11_07.50.18.jpg"><img src="http://www.mywushublog.com/wp-content/uploads/2010/06/family-2010.05.11_07.50.18-300x200.jpg" alt="" title="family-2010.05.11_07.50.18" width="300" height="200" class="size-medium wp-image-980" /></a><p class="wp-caption-text">Zoey and Coal sharing the morning sun</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.mywushublog.com/2010/06/stuff-and-things/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gibson SG work</title>
		<link>http://www.mywushublog.com/2010/04/gibson-sg-work/</link>
		<comments>http://www.mywushublog.com/2010/04/gibson-sg-work/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 06:06:48 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Geekyness]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.mywushublog.com/?p=825</guid>
		<description><![CDATA[Last month when I helped my Friend Glenn,who now works at An Olde Town Tattoo Parlour in Monterey, move he was cool enough to lighten his load by giving me a very cool cream and black Gibson SG. The original heavy metal guitar made popular by Toni Iommi and Angus Young. The guitar&#8217;s neck was [...]]]></description>
			<content:encoded><![CDATA[<p>Last month when I helped my Friend <a href="http://www.myspace.com/peepeehedtattoo">Glenn</a>,who now works at <a href="http://oldetowntattoos.com/">An Olde Town Tattoo Parlour</a> in Monterey, move he was cool enough to lighten his load by giving me a very cool cream and black Gibson SG. The original heavy metal guitar made popular by Toni Iommi and Angus Young.</p>
<p>The guitar&#8217;s neck was broken at the body, and thankfully someone who knew what they were doing successfully glued it back on. Glenn put some heavy .11 gauge strings on it to keep a good amount of tension to help maintain structural integrity. I normally play with .10&#8242;s, so its really fun playing with the heavy strings and then switching back to my strat. I&#8217;ve decided to keep the heavy strings, and even down tune to D and C# just for fun. Keeping that in mind, I went ahead and picked up two Dimarzio X2N humbuckers, and since most of the brass parts on the SG went through some heavy usage, I also picked up a new tail-piece, bridge, and a new all black faceplate.</p>
<p>Replacing pickups is pretty easy, it required a little (de)soldering but that is the hardest part. What probably took me the most time was figuring out HOW I was supposed to re-wire the new 4 wire X2N pickups in a setup that only had 1 wire&#8230;</p>
<p>It seems modern humbuckers are REALLY fancy, and if you have a 5-way selector you can activate them in different combinations. Whereas the SG pickups had only 1 loop for the humbucker, the DiMarzio&#8217;s had a north loop and a south loop, and you could either wire them in series or parallel. There is no right way, its a matter of preference I guess, but since I&#8217;ve never hear either one, I chose a guide I found on Semour Duncan&#8217;s site.</p>
<p>I should point this out, even though I bought DiMarzio Pickups, I actually found more useful documentation on Seymour Duncan&#8217;s site. Not only did they have a really nice support section (http://www.seymourduncan.com/support/wiring-diagrams/), they also have color-code diagrams for each pickup vendor. So a big kudo&#8217;s for SD, maybe I&#8217;ll get those next time.</p>
<p>Okay, onto the work, let&#8217;s take a look at what we are working with:<br />
<a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_13.08.37.jpg"><img class="aligncenter size-medium wp-image-828" title="gibson-2010.04.17_13.08.37" src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_13.08.37-e1271568646390-200x300.jpg" alt="I'm going to need another wall mount now that I have two sweet guitars." width="200" height="300" /></a></p>
<div id="attachment_829" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_13.09.04.jpg"><img class="size-medium wp-image-829" title="gibson-2010.04.17_13.09.04" src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_13.09.04-300x200.jpg" alt="" width="300" height="200" /></a><p class="wp-caption-text">It is hard to see, but there is a good amount of corrosion on the pickup and the frets</p></div>
<div id="attachment_830" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_13.09.34.jpg"><img class="size-medium wp-image-830" title="gibson-2010.04.17_13.09.34" src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_13.09.34-300x200.jpg" alt="" width="300" height="200" /></a><p class="wp-caption-text">The saddles look very fragile from all the wear and tear</p></div>
<div id="attachment_831" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_13.09.55.jpg"><img class="size-medium wp-image-831" title="gibson-2010.04.17_13.09.55" src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_13.09.55-300x200.jpg" alt="" width="300" height="200" /></a><p class="wp-caption-text">A faded tail piece</p></div>
<div id="attachment_832" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_13.10.14.jpg"><img class="size-medium wp-image-832" title="gibson-2010.04.17_13.10.14" src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_13.10.14-300x200.jpg" alt="" width="300" height="200" /></a><p class="wp-caption-text">This is where the neck was broken, but I won&#39;t tackle that here. Or ever really <img src='http://www.mywushublog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p></div>
<p>Here are the new parts:</p>
<div id="attachment_833" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_14.16.46.jpg"><img class="size-medium wp-image-833" title="gibson-2010.04.17_14.16.46" src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_14.16.46-300x200.jpg" alt="" width="300" height="200" /></a><p class="wp-caption-text">Two black/black DiMarzio X2N&#39;s</p></div>
<div id="attachment_834" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_13.15.56.jpg"><img class="size-medium wp-image-834" title="gibson-2010.04.17_13.15.56" src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_13.15.56-300x200.jpg" alt="" width="300" height="200" /></a><p class="wp-caption-text">Old and New tail piece</p></div><br />
<div id="attachment_835" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_13.23.17.jpg"><img src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_13.23.17-300x200.jpg" alt="" title="gibson-2010.04.17_13.23.17" width="300" height="200" class="size-medium wp-image-835" /></a><p class="wp-caption-text">Old and new bridge, which turned out to be a problem</p></div>
<p>The real work begins:<br />
<div id="attachment_836" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_13.28.23.jpg"><img src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_13.28.23-300x200.jpg" alt="" title="gibson-2010.04.17_13.28.23" width="300" height="200" class="size-medium wp-image-836" /></a><p class="wp-caption-text">Original wiring, two Humbuckers, Two Volumes and Two Tones...</p></div><br />
<div id="attachment_837" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_14.01.07.jpg"><img src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_14.01.07-300x200.jpg" alt="" title="gibson-2010.04.17_14.01.07" width="300" height="200" class="size-medium wp-image-837" /></a><p class="wp-caption-text">Old faceplate and pickups de-soldered and removed</p></div><br />
<div id="attachment_838" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_14.01.17.jpg"><img src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_14.01.17-300x200.jpg" alt="" title="gibson-2010.04.17_14.01.17" width="300" height="200" class="size-medium wp-image-838" /></a><p class="wp-caption-text">Front...</p></div><br />
<div id="attachment_839" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_14.10.44.jpg"><img src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_14.10.44-300x200.jpg" alt="" title="gibson-2010.04.17_14.10.44" width="300" height="200" class="size-medium wp-image-839" /></a><p class="wp-caption-text">Since I only have one contact point, the ground and bottom south loop are wired together, as well as the top south and bottom north. That spot-light you see is my kick ass hiking head-lamp. I haven't used mine hiking yet, but it helped me out a LOT during all of this.</p></div><br />
<div id="attachment_840" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_14.17.27.jpg"><img src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_14.17.27-300x200.jpg" alt="" title="gibson-2010.04.17_14.17.27" width="300" height="200" class="size-medium wp-image-840" /></a><p class="wp-caption-text">The Neck pickup finished...</p></div><br />
<div id="attachment_841" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_14.28.40.jpg"><img src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_14.28.40-300x200.jpg" alt="" title="gibson-2010.04.17_14.28.40" width="300" height="200" class="size-medium wp-image-841" /></a><p class="wp-caption-text">... and the bridge pickup</p></div><br />
<div id="attachment_842" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_16.39.34.jpg"><img src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_16.39.34-300x200.jpg" alt="" title="gibson-2010.04.17_16.39.34" width="300" height="200" class="size-medium wp-image-842" /></a><p class="wp-caption-text">Faceplate is installed with the pickups attached.</p></div></p>
<p>Let me just say, getting the pickups screwed on to the face plate was HARD. There are two tension springs that keep the pickup stationary, and getting those compressed so the screw could reach the faceplate took a lot of effort. I almost lost two of the four twice since they would shoot off while I was struggling to screw the pickup on.<br />
<div id="attachment_843" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_16.51.42.jpg"><img src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_16.51.42-300x200.jpg" alt="" title="gibson-2010.04.17_16.51.42" width="300" height="200" class="size-medium wp-image-843" /></a><p class="wp-caption-text">New bridge and tail piece</p></div></p>
<p>I had a problem with the two screws that are used to adjust the bridge, the were slightly bigger than the old screws. I actually had to re-drill the holes for them, and this makes me a little uncomfortable. If it ever needs to be replaced, there is now a good chance the holes will have to be filled and re-drilled. Oh well.<br />
<div id="attachment_844" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_16.51.54.jpg"><img src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_16.51.54-300x200.jpg" alt="" title="gibson-2010.04.17_16.51.54" width="300" height="200" class="size-medium wp-image-844" /></a><p class="wp-caption-text">Another shot</p></div><br />
<div id="attachment_845" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_18.50.26.jpg"><img src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_18.50.26-300x200.jpg" alt="" title="gibson-2010.04.17_18.50.26" width="300" height="200" class="size-medium wp-image-845" /></a><p class="wp-caption-text">After cleaning the neck with mineral oil (finally found a use for that stuff), I re-strung it with a new set of .11's</p></div><br />
<div id="attachment_846" class="wp-caption aligncenter" style="width: 210px"><a href="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_18.50.16.jpg"><img src="http://www.mywushublog.com/wp-content/uploads/2010/04/gibson-2010.04.17_18.50.16-200x300.jpg" alt="" title="gibson-2010.04.17_18.50.16" width="200" height="300" class="size-medium wp-image-846" /></a><p class="wp-caption-text">All done, AND it works, two sometimes mutually exclusive outcomes <img src='http://www.mywushublog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p></div></p>
<p>This was a great way to spend a Saturday afternoon, working on a guitar while listening to a Buckethead/Praxis playlist on Pandora. I spent most of the evening playing the guitar, those new pickups are very hot! They are going to require special attention so they don&#8217;t overload the amp. The sound is killer though, nice and low, a stark contrast to the Stratocaster&#8217;s sound.</p>
<p>Reference Material:<br />
<a href='http://www.mywushublog.com/wp-content/uploads/2010/04/2h_2v_2t_3w.pdf'>2h_2v_2t_3w</a><br />
<a href='http://www.mywushublog.com/wp-content/uploads/2010/04/color_codes.pdf'>color_codes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywushublog.com/2010/04/gibson-sg-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Link Aggregation on FreeBSD</title>
		<link>http://www.mywushublog.com/2010/04/lagg-freebsd/</link>
		<comments>http://www.mywushublog.com/2010/04/lagg-freebsd/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 22:20:59 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Geekyness]]></category>
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://www.mywushublog.com/?p=784</guid>
		<description><![CDATA[I recently configured a NFS/Samba server with FreeBSD&#8217;s Link Aggregation protocol. Here is how I set it up. FreeBSD Configuration /boot/loader.conf I recommend adding the if_lagg_load=YES and kern.hz=&#8221;2000&#8243; to /boot/loader.conf. The OS will automatically load the lagg kernel module when your network configuration loads, I prefer to explicitly set it to load. ispfw_load="YES" kern.hz="2000" aio_load="YES" [...]]]></description>
			<content:encoded><![CDATA[<p>I recently configured a NFS/Samba server with FreeBSD&#8217;s Link Aggregation protocol. Here is how I set it up.</p>
<h3>FreeBSD Configuration</h3>
</h4>
<p>/boot/loader.conf</h4>
<p>I recommend adding the if_lagg_load=YES and kern.hz=&#8221;2000&#8243; to /boot/loader.conf.</p>
<p>The OS will automatically load the lagg kernel module when your network configuration loads, I prefer to explicitly set it to load.</p>
<pre>
ispfw_load="YES"
kern.hz="2000"
aio_load="YES"
hw.igb.rxd=4096
hw.igb.txd=4096
if_lagg_load="YES"
</pre>
<p>Since I am using the igb ethernet device (Intel 82575 and 82576 chipsets), I also set the max number of send and receive descriptors from the default from 256 to the maximum 4096. Give some thought to this step, increasing this will allocate more memory per interface. Since there are four in use in this setup, that is an order of magnitude higher than the stock configuration.</p>
<h4>/etc/rc.conf</h4>
<pre>
ifconfig_igb0="UP polling"
ifconfig_igb1="UP polling"
ifconfig_igb2="UP polling"
ifconfig_igb3="UP polling"
ifconfig_lagg0="create laggproto lacp laggport igb0 laggport igb1 laggport igb2 laggport igb3 128.115.132.165 netmask 255.255.255.0"
</pre>
<h5>Jumbo Frames</h5>
<p>Normally, I set a MTU of 9194 for my igb/82575 ethernet controllers.</p>
<p>Setting an arbitrary MTU size above the default 1500 can cause the unexpected, and decrease the stability in your environment. This configuration is using the Intel 82575 Quad Port 1000 VT adapter, which has the maximum MTU of 9194. Not all ethernet controllers support the same MTU sizes, for instance, Broadcom chipsets have a max MTU of 9022. Also, verify your switch can support Jumbo Frames, and have the ports in use set to the appropriate MTU.</p>
<p>Some Notes from Intel&#8217;s 8257[5-6] README:</p>
<p>- Only enable Jumbo Frames if your network infrastructure supports them.<br />
- To enable Jumbo Frames, increase the MTU size on the interface beyond<br />
1500.<br />
- The Jumbo Frames setting on the switch must be set to at least 22 bytes<br />
larger than that of the MTU.<br />
- The maximum MTU setting for Jumbo Frames is 9216.  This value coincides<br />
with the maximum Jumbo Frames size of 9234 bytes.<br />
- Using Jumbo Frames at 10 or 100 Mbps may result in poor performance or<br />
loss of link.</p>
<p>Since the Cisco hardware used can be set to a max MTU of 9216, our igb interfaces can be set to 9194.</p>
<p>Of course, the lagg interface wont let me set a mtu higher than 1500. If anyone has additional information on this, that would be great to know.</p>
<h4>Results</h4>
<p>[root@laggy ~]&gt; ifconfig lagg0</p>
<pre>lagg0: flags=8843 metric 0 mtu 9194
	options=1bb
	ether 00:26:b9:62:ae:c8
	inet 128.115.132.165 netmask 0xffffff00 broadcast 128.115.132.255
	media: Ethernet autoselect
	status: active
	laggproto lacp
	laggport: igb3 flags=1c
	laggport: igb2 flags=1c
	laggport: igb1 flags=1c
	laggport: igb0 flags=1c</pre>
<p>[root@laggy ~]&gt; netstat -I lagg0 -w 1</p>
<pre>            input        (lagg0)           output
   packets  errs      bytes    packets  errs      bytes colls
     87581     0  127400293          0     0          0     0
     85126     0  123891200          0     0          0     0
     84926     0  124237023          0     0          0     0</pre>
<p>[root@laggy ~]&gt; netstat -I igb0 -w 1</p>
<pre>            input         (igb0)           output
   packets  errs      bytes    packets  errs      bytes colls
     38118     0   54749173          0     0          0     0
     35833     0   51498282          0     0          0     0</pre>
<p>[root@laggy ~]&gt; netstat -I igb1 -w 1</p>
<pre>            input         (igb1)           output
   packets  errs      bytes    packets  errs      bytes colls
     12889     0   18315538          0     0          0     0
     16303     0   23159114          0     0          0     0
     27672     0   39275792          0     0          0     0</pre>
<p>[root@laggy ~]&gt; netstat -I igb2 -w 1</p>
<pre>            input         (igb2)           output
   packets  errs      bytes    packets  errs      bytes colls
     23709     0   35778378          0     0          0     0
     24445     0   36901194          0     0          0     0</pre>
<p>[root@laggy ~]&gt; netstat -I igb3 -w 1</p>
<pre>            input         (igb3)           output
   packets  errs      bytes    packets  errs      bytes colls
        11     0       1535          0     0          0     0
         1     0         60          0     0          0     0</pre>
<h3>Cisco Configuration</h3>
<pre>
interface GigabitEthernet 8/41
 description (L5D13) laggy
 switchport                           # Required for L2 Etherchannel
 switchport access vlan 132           # VLAN assignment (optional)
 spanning-tree portfast               # Recommended
 channel-group 4 mode active          # Required assign channel # and mode
                                         see table below
 channel-protocol lacp                # Required assign lacp or pagp
 no shutdown</pre>
<p>Verify the interface port-channel is not shutdown and add a description</p>
<pre>interface Port-channel 4
 description Test Channel 2/22/10 laggy
 switchport
 switchport access vlan 101
 switchport trunk encapsulation dot1q
 no shutdown</pre>
<p>This command will cause load balancing to occur for the source and destination IP addresses and applied to all Etherchannels on the switch. Other load balancing options exists.</p>
<p>port-channel load-balance src-dst-ip</p>
<p>Use the following show commands for verifying the condition of the Etherchannel</p>
<p>show interfaces port-channel ‘channel number’<br />
show etherchannel port-channel<br />
show etherchannel summary<br />
show Etherchannel load-balance</p>
<pre>Switch# show interfaces port-channel 4
Port-channel4 is up, line protocol is up (connected)
  Hardware is EtherChannel, address is 0017.9499.94ac (bia 0017.9499.94ae)
  Description: TEST CHANNEL 2/22/10 laggy
  MTU 9214 bytes, BW 4000000 Kbit, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 1000Mb/s
  input flow-control is off, output flow-control is on
  Members in this channel: Gi8/41 Gi8/43 Gi8/45 Gi8/47

Switch#show etherchannel port-channel
                Channel-group listing:
                -----------------------
Group: 4
----------
                Port-channels in the group:
                ----------------------
Port-channel: Po4    (Primary Aggregator)

------------
Age of the Port-channel   = 0d:05h:25m:33s
Logical slot/port   = 14/1          Number of ports = 4
Port state          = Port-channel Ag-Inuse
Protocol            =   LACP

Ports in the Port-channel: 

Index   Load   Port     EC state        No of bits
------+------+------+------------------+-----------
  1     11     Gi8/41   Active    2
  2     22     Gi8/43   Active    2
  3     44     Gi8/45   Active    2
  0     88     Gi8/47   Active    2

Time since last port bundled:    0d:04h:47m:26s    Gi8/41
Time since last port Un-bundled: 0d:05h:22m:14s    Gi8/47

Switch#show etherchannel summary
Flags:  D - down        P - bundled in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        R - Layer3      S - Layer2
        U - in use      f - failed to allocate aggregator

        M - not in use, minimum links not met
        u - unsuitable for bundling
        w - waiting to be aggregated
Number of channel-groups in use: 1
Number of aggregators:           1

Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
4      Po4(SU)         LACP      Gi8/41(P)  Gi8/43(P)  Gi8/45(P)  Gi8/47(P)
Switch#show Etherchannel load-balance
EtherChannel Load-Balancing Configuration:
        src-dst-ip
        mpls label-ip

EtherChannel Load-Balancing Addresses Used Per-Protocol:
Non-IP: Source XOR Destination MAC address
  IPv4: Source XOR Destination IP address
  IPv6: Source XOR Destination IP address
  MPLS: Label or IP</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.mywushublog.com/2010/04/lagg-freebsd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FreeBSD 8.0 = A Great NAS Server</title>
		<link>http://www.mywushublog.com/2009/12/freebsd-8-0-a-great-nas-server/</link>
		<comments>http://www.mywushublog.com/2009/12/freebsd-8-0-a-great-nas-server/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 04:30:23 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Geekyness]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[kickassery]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://www.mywushublog.com/?p=646</guid>
		<description><![CDATA[I need to share this. When I google for &#8220;Samba performance&#8221;, I never see real numbers, real configuration files, or real hardware environments. All I read are anecdotal recollections, and that is not good enough. I like numbers, and I&#8217;ll let the numbers speak for themselves: &#62; netstat -I em0 -w 1 input (em0) output [...]]]></description>
			<content:encoded><![CDATA[<p>I need to share this. When I google for &#8220;Samba performance&#8221;, I never see real numbers, real configuration files, or real hardware environments. All I read are anecdotal recollections, and that is not good enough. I like numbers, and I&#8217;ll let the numbers speak for themselves:</p>
<pre>    &gt; netstat -I em0 -w 1
                input          (em0)           output
       packets  errs      bytes    packets  errs      bytes colls
         90166     0   98762637      95363     0    5332847     0
         18131     0   24713156      20042     0    1123684     0
             4     0        310          1     0        178     0
             8     0        518          1     0        178     0
         10153     0   10952920      10696     0     598129     0
         92990     0  102837002      98476     0    5514994     0
         92025     0  102680574      97277     0    5439496     0
         92080     0  101799874      97403     0    5448637     0
         75348     0   90861608      80972     0    4537737     0
         90895     0  100323946      95781     0    5360948     0
         89313     0   97371154      94364     0    5278618     0
         81363     0   89229738      85861     0    4803589     0
             2     0        126          3     0        286     0</pre>
<p>I was so shocked that I had to use gstat and zpool iostat to verify the information:</p>
<pre>    dT: 1.002s  w: 1.000s  filter: da0
     L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w   %busy Name
       35   1476      0      0    0.0   1476 188421   23.7  100.0| da0

    &gt; zpool iostat  1
                   capacity     operations    bandwidth
    pool         used  avail   read  write   read  write
    ----------  -----  -----  -----  -----  -----  -----
    tank        5.68T  4.32T      1     81   250K  10.1M
    tank        5.68T  4.32T      0  1.37K      0   175M
    tank        5.68T  4.32T      0  1.44K      0   184M
    tank        5.68T  4.32T      0  1.44K      0   184M
    tank        5.68T  4.32T      0  1.44K      0   184M
    tank        5.68T  4.32T      0  1.44K      0   184M
    tank        5.68T  4.32T      0  1.44K      0   184M
    tank        5.68T  4.32T      0  1.44K      0   184M</pre>
<p>This is all through Samba (3.3.9), There was no local work being done. I unfortunately didn&#8217;t configure MRTG correctly, so it had built a malformed graph while all this happened. Having a picture from all of this would have been nice.</p>
<p>The underlying storage is a SATABoy2 RAID6 array, with a simple &#8220;flat&#8221; ZFS filesystem (version 13). As cheap as the SATABoy&#8217;s are (and come on, they have a terrible IIS web interface), they can at least keep up with the current load.</p>
<p>I have felt that if you are going to use ZFS, you should let it manage the RAID, and not bother with a hardware RAID controller. While the hardware RAID may be faster, ZFS&#8217;s ability to self-correct bad blocks is a great feature despite the performance set back. However, RAID6 is pretty good in itself, and having dual parity would ideally reduce the risk of a bad block being detrimental.</p>
<p>One thing I noticed with Samba is it doesn&#8217;t seem to be a threaded daemon. When I do a top(1) -H, there are only 2-3 smbd processes, and one of them is running around 30%. Though I don&#8217;t really know how well Samba can scale out, this environment only has about 10 users. I would like to see how samba reacts if there are a couple hundred active users. Furthermore, how does a native Windows server handle a couple hundred users? It may handle it a little better, however, I don&#8217;t think I would enjoy watching NTFS handling a multi-terabyte volume&#8230; it would be like watching a stroke victim eat a bowl of soup. I do admit I am biased and I have no working experience with Windows as a large file server, most of them that I have worked on are horribly limited and underpowered, and no one seems to care if they perform well or not.</p>
<h3>Hardware</h3>
<h4>CPU information</h4>
<pre>    Machine class:    amd64
    CPU Model:    Dual Core AMD Opteron(tm) Processor 285
    No. of Cores:    4
    Cores per CPU:</pre>
<h4>RAM information</h4>
<pre>    Memory information from dmidecode(8)
    Maximum Capacity: 8 GB
    Number Of Devices: 4
    Maximum Capacity: 8 GB
    Number Of Devices: 4

    INFO: Run `dmidecode -t memory` to see further information.

    System memory summary
    Total real memory available:    8048 MB
    Logically used memory:        2876 MB
    Logically available memory:    5172 MB

    Swap information
    Device          1K-blocks     Used    Avail Capacity
    /dev/da1s1b       8373844      28K     8.0G     0%</pre>
<h4>Storage information</h4>
<pre>    Available hard drives:
    cd0:  Removable CD-ROM SCSI-0 device
    cd0: 1.000MB/s transfers
    da2:  Fixed Direct Access SCSI-5 device
    da2: 300.000MB/s transfers
    da2: Command Queueing enabled
    da2: 140009MB (286739329 512 byte sectors: 255H 63S/T 17848C)
    da1:  Fixed Direct Access SCSI-2 device
    da1: 300.000MB/s transfers
    da1: Command Queueing enabled
    da1: 69618MB (142577664 512 byte sectors: 255H 63S/T 8875C)
    da0:  Fixed Direct Access SCSI-5 device
    da0: 200.000MB/s transfers
    da0: Command Queueing enabled
    da0: 10491861MB (21487333120 512 byte sectors: 255H 63S/T 1337524C)

    Raid controllers:
    umass-sim0:
    mpt0:
    vendor='LSI Logic (Was: Symbios Logic, NCR)'
    device='SAS 3000 series, 4-port with 1064 -StorPort'
    isp0:
    vendor='QLogic Corporation'
    device='QLA6322 Fibre Channel Adapter'

    Currently mounted filesystems:
    /dev/da1s1a on /
    devfs on /dev
    tank on /tank
    /dev/ufs/EXPORT on /export

    I/O statistics:
           tty             da0              da1              da2             cpu
     tin  tout  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
       0    40 63.61 167 10.36  16.53   2  0.03  61.65   0  0.00   1  0  4  0 94
    INFO: Run iostat(8) or gstat(8) to see live statistics.

    Disk usage:
    Filesystem         Size    Used   Avail Capacity  Mounted on
    /dev/da1s1a         58G    3.4G     50G     6%    /
    devfs              1.0K    1.0K      0B   100%    /dev
    tank               9.8T    5.7T    4.1T    58%    /tank
    /dev/ufs/EXPORT    126G    148K    116G     0%    /export</pre>
<h3>Software</h3>
<ul>
<li>FreeBSD 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 amd64</li>
<li>samba-3.3.9         A free SMB and CIFS client and server for UNIX</li>
</ul>
<h4>Samba 3.3.9 Compile-Time Config</h4>
<pre>&gt; make showconfig
===&gt; The following configuration options are available for samba-3.3.9:
     LDAP=on "With LDAP support"
     ADS=on "With Active Directory support"
     CUPS=off "With CUPS printing support"
     WINBIND=on "With WinBIND support"
     SWAT=off "With SWAT WebGUI"
     ACL_SUPPORT=on "With ACL support"
     AIO_SUPPORT=on "With Asyncronous IO support"
     FAM_SUPPORT=on "With File Alteration Monitor"
     SYSLOG=on "With Syslog support"
     QUOTAS=on "With Disk quota support"
     UTMP=off "With UTMP accounting support"
     PAM_SMBPASS=on "With PAM authentication vs passdb backends"
     DNSUPDATE=off "With dynamic DNS update(require ADS)"
     DNSSD=off "With DNS service discovery support"
     EXP_MODULES=on "With experimental modules"
     POPT=on "With system-wide POPT library"
     MAX_DEBUG=off "With maximum debugging"
     SMBTORTURE=off "With smbtorture"
===&gt; Use 'make config' to modify these settings</pre>
<h3>System Tuning</h3>
<h4>The Kernel</h4>
<p>I enabled device polling, and took out debugging in the kernel (Sanders, get it! Mmm, I&#8217;m hungry&#8230;)</p>
<pre>diff /usr/src/sys/amd64/conf/GENERIC /usr/src/sys/amd64/conf/SANDERS
    33d32
    &lt; makeoptions    DEBUG=-g        # Build kernel with gdb(1) debug symbols
    78c77
    &lt;
    ---
    &gt; options        DEVICE_POLLING</pre>
<h4>/boot/loader.conf</h4>
<pre>    ispfw_load="YES"
    kern.hz="2000"
    aio_load="YES"</pre>
<h4>/etc/sysctl.conf</h4>
<pre>    kern.coredump=0
    security.bsd.see_other_uids=0
    security.bsd.see_other_gids=0
    kern.ipc.maxsockbuf=16777216
    kern.ipc.nmbclusters=32768
    kern.ipc.somaxconn=32768
    kern.maxfiles=65536
    kern.maxfilesperproc=32768
    kern.maxvnodes=800000
    net.inet.tcp.delayed_ack=0
    net.inet.tcp.inflight.enable=0
    net.inet.tcp.path_mtu_discovery=0
    net.inet.tcp.recvbuf_auto=1
    net.inet.tcp.recvbuf_inc=524288
    net.inet.tcp.recvbuf_max=16777216
    net.inet.tcp.recvspace=65536
    net.inet.tcp.sendbuf_auto=1
    net.inet.tcp.sendbuf_inc=524288
    net.inet.tcp.sendspace=65536
    net.inet.udp.maxdgram=57344
    net.inet.udp.recvspace=65536
    net.local.stream.recvspace=65536
    net.inet.tcp.sendbuf_max=16777216
    net.inet.tcp.mssdflt=9142</pre>
<h4>rc.conf (em0 flags)</h4>
<p>I want to thank Zilla (see post comments) for the sysctl.conf help.</p>
<pre>    ifconfig_em0="inet xxx.xxx.xxx.xxx  netmask 255.255.255.0 polling tso mtu 9194"</pre>
<h4>smb.conf</h4>
<pre>        min receivefile size = 131072
        aio read size = 1
        aio write size = 1
        use sendfile = yes
        lock directory = /var/run/samba/
        keepalive = 300</pre>
<p>I&#8217;m also using LDAP users and group. I wasn&#8217;t sure if there would be a noticible performance hit for local users or LDAP users. There doesn&#8217;t seem to be one.</p>
<p>We use Active Directory, and since Quest/Vintela still won&#8217;t make a FreeBSD client for the Quest Authentication Servers ( a sales rep once told me &#8220;There are just too many versions of BSD&#8230;&#8221;) , I have to use all the open source utilities like OpenSSL, OpenLDAP Client and Kerberos. I don&#8217;t mind having to do it, but it is always nice if you can maintain one standard process across ALL systems, and we have a lot more Linux and Solaris systems than FreeBSD. I&#8217;m the odd one.</p>
<p>That aside, I use the latest OpenSSL in FreeBSD 8.0, OpenLDAP 2.4.20, and the built-in version of Heimdal Kerberos.</p>
<p>I get similar performance form NFS, however, most desktop users have are either on a Windows or OS X, and CIFS seems to be the unifying network storage protocol.</p>
<p>One thing I have yet to really figure out is configuring Samba to use proper NT ACL&#8217;s. However, if you can live with UNIX style permissions, a setup like this is pretty good at serving out lots and lots of data. Maybe that will be next.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywushublog.com/2009/12/freebsd-8-0-a-great-nas-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Why you should use disk labels</title>
		<link>http://www.mywushublog.com/2009/12/why-you-should-use-disk-labels/</link>
		<comments>http://www.mywushublog.com/2009/12/why-you-should-use-disk-labels/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 03:19:34 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Geekyness]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[GEOM]]></category>
		<category><![CDATA[Jenny]]></category>
		<category><![CDATA[Labels]]></category>

		<guid isPermaLink="false">http://www.mywushublog.com/?p=607</guid>
		<description><![CDATA[I recently had a little problem with a new FreeBSD install, and it is one of those times were I sort of appreciate how FreeBSD assigns device handles, yet at the same time hate it The setup is this: The OS was installed on a mirrored hardware raid device (using the mpt(4) driver), and then [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a little problem with a new FreeBSD install, and it is one of those times were I sort of appreciate how FreeBSD assigns device handles, yet at the same time hate it <img src='http://www.mywushublog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The setup is this:<br />
The OS was installed on a mirrored hardware raid device (using the <a href="http://www.freebsd.org/cgi/man.cgi?query=mpt&#038;sektion=4&#038;manpath=FreeBSD+8.0-RELEASE">mpt(4)</a> driver), and then I had a large RAID6 array attached via a FC controller (using the <a href="http://www.freebsd.org/cgi/man.cgi?query=isp&#038;sektion=4&#038;manpath=FreeBSD+8.0-RELEASE">isp(4)</a> driver). When I installed the OS, the mpt device was showing up as da0. So I went ahead with the install and rebooted the system, so far so good.</p>
<p>What I didn&#8217;t realize was the FC device was not seen yet, so after some fiddling, <a href="http://jettagirl.wordpress.com">Jenny</a> and I got the large RAID6 array to show up&#8230; unfortunately, the isp card was before the mpt card on the PCI bus:<br />
<code><br />
isp0@pci0:2:1:0:	class=0x0c0400 card=0x01321077 chip=0x63221077 rev=0x03 hdr=0x00<br />
    vendor     = 'QLogic Corporation'<br />
    device     = 'QLA6322 Fibre Channel Adapter'<br />
    class      = serial bus<br />
    subclass   = Fibre Channel<br />
mpt0@pci0:2:3:0:	class=0x010000 card=0x30601000 chip=0x00501000 rev=0x02 hdr=0x00<br />
    vendor     = 'LSI Logic (Was: Symbios Logic, NCR)'<br />
    device     = 'SAS 3000 series, 4-port with 1064 -StorPort'<br />
    class      = mass storage<br />
    subclass   = SCSI<br />
</code><br />
and the RAID6 now became da0, and the OS device now became da1. </p>
<p>Doh!</p>
<p>The system prompted for the / drive, so I had to call out the correct device at the mount> prompt:<br />
<code><br />
mount> ufs:/dev/da1s1a<br />
</code><br />
After that, the system continue to boot into mult-user mode, which cause some very strange console behavior (it acted like the return key was being held down), and my only option was to SSH in as local user, su to root, and then fix /etc/fstab.</p>
<p>This was not devastating, however, it show the importance of using disk labels instead of device handles in certain use cases. I haven&#8217;t fixed the / mount, but to get a comfort level with using GEOM labels I added another drive to the system and called it EXPORT.</p>
<p>You can assign a permanent label in two ways (that I know of). When you newfs the device, you can specify the L flag (BTW, -O2 means to use UFS2, and -U will use Soft-Updates):<br />
<code>[root@paper ~]&gt; newfs -O2 -U -L EXPORT /dev/da2s1a</code><br />
OR using glabel (which is what you would have to do for a non UFS filesystem.<br />
<code>[root@paper ~]&gt; glabel create EXPORT da2s1a</code><br />
Now we can see our newly labeled device in action:<br />
<code>[root@paper ~]&gt; ls /dev/label<br />
.      ..     EXPORT<br />
[root@paper ~]&gt; glabel status<br />
                  Name  Status  Components<br />
            label/EXPORT     N/A  da2s1a<br />
</code><br />
To add it to /etc/fstab, you can either edit the file, or append the correctly tab-delimited line like so:<br />
<code><br />
[root@paper ~]&gt; echo "/dev/label/EXPORT\t/export\tufs\trw\t2\t2" &gt;&gt; /etc/fstab<br />
[root@paper ~]&gt; mkdir /export<br />
[root@paper ~]&gt; mount export<br />
</code><br />
Hurray!<br />
<code><br />
[root@paper ~]&gt; df<br />
Filesystem      1K-blocks        Used       Avail Capacity  Mounted on<br />
/dev/da1s1a        60931274   4754540    51302234     8%    /<br />
devfs                     1         1           0   100%    /dev<br />
tank            10569645824 107237376 10462408448     1%    /tank<br />
/dev/label/EXPORT   132022788         4   121460962     0%    /export</p>
<p>[root@paper ~]&gt; mount<br />
/dev/da1s1a on / (ufs, local, soft-updates)<br />
devfs on /dev (devfs, local, multilabel)<br />
tank on /tank (zfs, NFS exported, local)<br />
/dev/label/EXPORT on /export (ufs, local)<br />
</code></p>
<p>This is now a persistent label. To be safe, I&#8217;ll have to boot off of a CD/USB drive and modify the root device.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywushublog.com/2009/12/why-you-should-use-disk-labels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>64bit nVidia driver for FreeBSD</title>
		<link>http://www.mywushublog.com/2009/12/64bit-nvidia-driver-for-freebsd/</link>
		<comments>http://www.mywushublog.com/2009/12/64bit-nvidia-driver-for-freebsd/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 23:10:22 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Geekyness]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[nvidia]]></category>

		<guid isPermaLink="false">http://www.mywushublog.com/?p=604</guid>
		<description><![CDATA[I&#8217;ve always had a vested interest in the entire nvidia display driver for FreeBSD project, and I&#8217;ve pretty attached to the project. So much, that back in 2001 I started a little petition, got enough attention (and more importantly, a large list of people who signed my petition), and ever since 2002 FreeBSD users have [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always had a vested interest in the entire nvidia display driver for FreeBSD project, and I&#8217;ve pretty attached to the project. So much, that back in 2001 I started a little petition, got enough attention (and more importantly, a large list of people who signed my petition), and ever since 2002 FreeBSD users have been able to use high quality nvidia drivers. It wasn&#8217;t all me, whoever ran nvidia.netexplorer.org asked me to combine efforts, and I gave them my list, and they continued to market it and work with some folks at nvidia.</p>
<p>It is really nice to see that both the FreeBSD team and nvidia have worked together to do the necessary kernel development and get a 64bit driver. I used to use FreeBSD as my primary desktop at work, and it was great to use the hardware drivers for my displays. What is also nice is people in the nvidia forums are also asking for CUDA drivers on FreeBSD, that would be slick as well.</p>
<p>Digg the story if you want too:<br />
<a href="http://digg.com/linux_unix/Official_64bit_NVIDIA_drivers_for_FreeBSD">http://digg.com/linux_unix/Official_64bit_NVIDIA_drivers_for_FreeBSD</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywushublog.com/2009/12/64bit-nvidia-driver-for-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD 8.0 is (un-officially) available</title>
		<link>http://www.mywushublog.com/2009/11/freebsd-8-0-is-available/</link>
		<comments>http://www.mywushublog.com/2009/11/freebsd-8-0-is-available/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 05:34:53 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Geekyness]]></category>
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://www.mywushublog.com/?p=598</guid>
		<description><![CDATA[So, it looks like FreeBSD 8.0 has been pre-released; the official date is going to be 11/25, as noted in src/UPDATING: Updating Information for FreeBSD current users This file is maintained and copyrighted by M. Warner Losh . See end of file for further details. For commonly done items, please see the COMMON ITEMS: section [...]]]></description>
			<content:encoded><![CDATA[<p>So, it looks like FreeBSD 8.0 has been pre-released; the official date is going to be 11/25, as noted in src/UPDATING:</p>
<pre>Updating Information for FreeBSD current users

This file is maintained and copyrighted by M. Warner Losh
.  See end of file for further details.  For commonly
done items, please see the COMMON ITEMS: section later in the file.

Items affecting the ports and packages system can be found in
/usr/ports/UPDATING.  Please read that file before running
portupgrade.

NOTE TO PEOPLE WHO THINK THAT FreeBSD 8.x IS SLOW ON IA64 OR SUN4V:
        For ia64 the INVARIANTS and INVARIANT_SUPPORT kernel options
        were left in the GENERIC kernel because the kernel does not
        work properly without them.  For sun4v all of the normal kernel
        debugging tools present in HEAD were left in place because
        sun4v support still needs work to become production ready.

20091125:
        8.0-RELEASE.
...</pre>
<p>Thanks for the warning, and I don&#8217;t feel that 8.0 is slow in any way <img src='http://www.mywushublog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can now update to FreeBSD 8.0 with either syncing your source with csup:<br />
<code><br />
*default host=cvsup.FreeBSD.org<br />
*default base=/usr<br />
*default prefix=/usr<br />
*default delete use-rel-suffix<br />
*default compress<br />
src-all         release=cvs tag=RELENG_8_0<br />
</code><br />
Or with freebsd-update(8):<br />
<code><br />
# freebsd-update -r 8.0-RELEASE upgrade<br />
</code><br />
then<br />
<code><br />
# freebsd-update install<br />
</code><br />
and after the reboot, possibly another round of &#8216;freebsd-update install&#8221; to finish things up. You can actually upgrade from 7.2 to 8.0, which is pretty impressive since they are considered major releases (and minor release upgrades work just fine as well).</p>
<p>Why would you upgrade to 8.0 over 7.2? Well, Ivan Voras already has a very nice page on the notable features in 8:<br />
<a href="http://ivoras.sharanet.org/freebsd/freebsd8.html">http://ivoras.sharanet.org/freebsd/freebsd8.html</a><br />
In case you want my short list version of that, here are the big highlights for me:</p>
<ul>
<li><strong>Kernel Stuff</strong>
<ul>
<li>Kernel limit on amd64 increased (this greatly benefits ZFS)</li>
<li>Superpages</li>
<li>Network stack virtualization, equal cost multipath routing and other really cool network improvements</li>
<li>NGROUPS has been increased from 16 to 1024</li>
<li>Other kernel improvements like light weight threads, the new ULE 3.0 Scheduler</li>
<li>NFS Locking</li>
<li>Qlogic 8GB HBA support</li>
<li>New AHCI driver</li>
</ul>
</li>
<li><strong>Userland Stuff</strong>
<ul>
<li>Parallel port builds</li>
<li>Jails v2</li>
<li>Dtrace</li>
<li>CLANG/LLVM Compiler</li>
</ul>
</li>
</ul>
<p>One of the cool things about FreeBSD is its focus on improving what is there. There have been some really big additions to FreeBSD from time to time, but overall, the goal has been to constantly refine and improve the performance. That is what I&#8217;m mostly excited about, the continual refinement of an already robust OS.</p>
<p>There are other features, like CLANG and LLVM or Dtrace, where I&#8217;m excited about them, but only because I can&#8217;t wait to see how others use them. I myself cannot obtain a lot of useful information from Dtrace, however, a kernel developer who knows what they are doing probably can, and that helps them out (which sometimes helps me out).</p>
<p>I&#8217;ve used the BETA and RC versions of 8.0, so not only was I pleased with the experience, I&#8217;m also excited to see its adoption with the new improvements. I&#8217;ve seen some PostgreSQL and MySQL benchmarks and there was a clear performance gain between 7 and 8.</p>
<p>Now is also a good time to mention that the <a href="http://www.freebsdfoundation.org/donate/">FreeBSD Foundation</a> is rounding up this years donations. </p>
<p>It&#8217;s pretty amazing that FreeBSD is a non-profit group; they do not have a CEO, a marketing department, or a horde of full-time developers&#8230; and yet they put out a extremely well engineered OS ( that is the boon of not having a marketing department <img src='http://www.mywushublog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  all decisions are driven by the community demand and the developers, and not buzz-words like &#8220;the cloud&#8221;) with a killer network stack, and over 22,000 available ports.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywushublog.com/2009/11/freebsd-8-0-is-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Coffee Experiment</title>
		<link>http://www.mywushublog.com/2009/11/the-coffee-experiment/</link>
		<comments>http://www.mywushublog.com/2009/11/the-coffee-experiment/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 22:50:35 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Geekyness]]></category>
		<category><![CDATA[blind taste test]]></category>
		<category><![CDATA[coffee]]></category>
		<category><![CDATA[Good Eats]]></category>
		<category><![CDATA[the scientific method]]></category>

		<guid isPermaLink="false">http://www.mywushublog.com/?p=574</guid>
		<description><![CDATA[Step 1: The Question Background: I was watching a new episode of Good Eats (Season 13, Episode 7) and Alton Brown was going over a good coffee recipe he called &#8220;Man Coffee&#8221;. It had a decent ratio of grounds to water, a coarse grind, and he employed the use of a French Press. Then, to [...]]]></description>
			<content:encoded><![CDATA[<h4>Step 1: The Question</h4>
<p><strong>Background:</strong><br />
I was watching a new episode of Good Eats (Season 13, Episode 7) and Alton Brown was going over a good coffee recipe he called &#8220;Man Coffee&#8221;. It had a decent ratio of grounds to water, a coarse grind, and he employed the use of a French Press. Then, to my surprise, he added a bit of Kosher Salt.</p>
<p>So, being the unapologetic AB fan that I am, I decided to see how the addition of salt would taste. I had it on my coffee over the last two weeks, off and on, and I decided that I liked the additional flavor. Michele was skeptical, and didn&#8217;t think I could actually tell the difference and it was all in my fan-boy head. I admitted this was a likely scenario, and as a good scientist I have to be honest with the data; and that is the Placebo Effect does have a measurable outcome. So, I told her that I would do a blind taste test and see if there was any noticeable flavor in salted coffee.</p>
<p>So, the question is: <strong>Can I taste the difference between regular coffee, and coffee brewed with kosher salt.</strong></p>
<h4>Step 2: Research</h4>
<p>I did a little google-ing about why people put salt in their coffee. The consensus seemed to be that it can help take away the bitterness, however, if you use enough coffee grounds you should not taste any of the acidic bitterness. Coffee becomes bitter for two reasons:</p>
<ul>
<li>the essential oils are washed away during the extraction process, leaving the acidic compounds (those coffee compounds are volatile, so you also have to grind the beans and brew them quickly!)</li>
<li>the coffee is left on a burner longer than it should</li>
</ul>
<p>Okay, there are more than two, but I&#8217;m not a barista or a chemist so that is all I can cover <img src='http://www.mywushublog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I normally grind and brew immediately, and I use about 6 tablespoons for 4 cups of coffee which is &#8220;a lot&#8221;. I think I avoid the common bitterness pitfalls, and adding salt (to me) just seemed to add more body to the coffee.</p>
<p>The test is only to answer the question about detection, and not if it enhances the coffee&#8217;s flavor. That would have to be another trial, and I would need more voulenteers and cups&#8230;</p>
<h4>Step 3: Propose a Hypothesis</h4>
<p>I hypothesize that a pinch of salt to the coffee grounds does add a noticeable effect.</p>
<p>That is pretty straight-forward</p>
<h4>Step 4: Test with an Experiment</h4>
<p>I decided on a regular blind taste test. I wanted to do a double blind test, however, since I was the subject and Caralyne can&#8217;t make coffee, Michele had to brew and pour the samples. I also had to settle for 4 cups (those were the only clean and similar cups we had), I wanted a dozen at least so I would have a large enough sample size.</p>
<p>The problem with this test is that both Michele and I are biased; she knew which cup had what, and I knew what the test was about and what I was looking for in the coffee.</p>
<p>The test is simple, I ground up about 12 tablespoon&#8217;s worth of Kirkland Coffee.</p>
<div id="attachment_575" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2009/11/coffee001.jpg"><img class="size-medium wp-image-575" title="coffee001" src="http://www.mywushublog.com/wp-content/uploads/2009/11/coffee001-300x200.jpg" alt="Materials used." width="300" height="200" /></a><p class="wp-caption-text">Materials usd.</p></div>
<p>I put 6 in a cup with a pinch of salt, and 6 all alone. Each one was brewed with the same coffee maker, with 4 &#8220;cups&#8221; of water and poured into identical plastic pitchers.</p>
<div id="attachment_576" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2009/11/coffee004.jpg"><img class="size-medium wp-image-576" title="coffee004" src="http://www.mywushublog.com/wp-content/uploads/2009/11/coffee004-300x200.jpg" alt="Containers and Sampling cups" width="300" height="200" /></a><p class="wp-caption-text">Containers and Sampling cups</p></div>
<p>Michele labeled the tasting cups, and I sat down to have a taste of each one, marking which ones I liked more than the others.</p>
<div id="attachment_577" class="wp-caption aligncenter" style="width: 210px"><a href="http://www.mywushublog.com/wp-content/uploads/2009/11/coffee005.jpg"><img class="size-medium wp-image-577" title="coffee005" src="http://www.mywushublog.com/wp-content/uploads/2009/11/coffee005-200x300.jpg" alt="Start your day off with a good cup of SCIENCE!" width="200" height="300" /></a><p class="wp-caption-text">Start your day off with a good cup of SCIENCE!</p></div>
<h4>Step 5: Analyze Results, Draw a Conclusion</h4>
<p>After my 4 samples, Michele and I both decided that there was a difference in taste, and I did prefer the one with salt. She didn&#8217;t like either, but that is normal since she doesn&#8217;t like the strong coffee I make anyway (she calls it &#8220;Cat Pee coffee&#8221;, which makes me think of Tiger Brand Coffee:</p>
<blockquote><p>Tiger Brand Coffee is a real treat, even tigers prefer a cup of it to real meat</p></blockquote>
<p>).</p>
<h4>Conclusion</h4>
<p>The salt does add flavor, so this is almost like me drinking a Holiday Spice or Hazelnut coffee. It&#8217;s not real untampered coffee, but it is a nice treat. I also tend to drink more water in the morning when I have it, so thats not a bad thing since coffee is a diuretic.</p>
<p>I&#8217;d like to acknowledge</p>
<ul>
<li><a href="http://www.altonbrown.com/">Alton Brown</a> and his excellent show Good Eats</li>
<li><a href="http://www.sciencebuddies.org/">Science Buddies dot org</a> for their excellent page on The Scientific Method</li>
<li>Wikipedia for their articles on Blind and Double Blind Testing</li>
<li>My good friend and co-worker, <a href="http://jettagirl.wordpress.com/">Jenny</a>, for giving me some great ideas on how to help narrow the test down to get useful results.</li>
<li>Mr Swarm, my 7th grade science teacher at Park Jr. High, who introduced an entire class to the Scientific Method and let us perform real experiments with fire and food.</li>
<li><a href="http://www.theskepticsguide.org/">The Skeptics Guide to the Universe</a>, a great science podcast that teaches me the difference between &#8220;theory&#8221; and &#8220;hypothesis&#8221;</li>
</ul>
<p>Have a Scien-tastic day!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywushublog.com/2009/11/the-coffee-experiment/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows 7</title>
		<link>http://www.mywushublog.com/2009/10/windows-7/</link>
		<comments>http://www.mywushublog.com/2009/10/windows-7/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 06:05:30 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Geekyness]]></category>
		<category><![CDATA[Packard Bell]]></category>
		<category><![CDATA[timeline]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.mywushublog.com/?p=553</guid>
		<description><![CDATA[I&#8217;ve been a &#8220;PC&#8221; user since I was in grade school. Well, technically, the first computer I owned was a hand-me-down Atari ST that had a broken printer and a flight simulator. That almost makes me a &#8220;Mac&#8221; user since it was based on the same hardware (Motorola 68K cpu). All of my (3) friends [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been a &#8220;PC&#8221; user since I was in grade school. Well, technically, the first computer I owned was a hand-me-down <a href="http://en.wikipedia.org/wiki/Atari_ST">Atari ST</a> that had a broken printer and a flight simulator. That almost makes me a &#8220;Mac&#8221; user since it was based on the same hardware (Motorola 68K cpu). All of my (3) friends had computers, all PC&#8217;s running DOS, and their primary motivation was to play all of the cool adventure games from Sierra Entertainment. So, when I had a very unsuccessful time getting <a href="http://en.wikipedia.org/wiki/Conquests_of_Camelot:_The_Search_for_the_Grail">Conquests of Camelot</a> to run on my Atari ST I was pretty motivated to join my geeky buddies. Oh the months of begging and pleading that followed, fun times indeed.</p>
<p>Nostalgia aside,  I&#8217;ve been using a computer primarily for games (only around 98 did I start running other OS&#8217;s) for a large portion of my life. I started with MS-DOS 5.0 on a Packard Bell 386SX 20Mhz with 1MB shared memory:</p>
<div id="attachment_559" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.mywushublog.com/wp-content/uploads/2009/10/packard-bell-ad.jpg"><img class="size-medium wp-image-559" title="packard-bell-ad" src="http://www.mywushublog.com/wp-content/uploads/2009/10/packard-bell-ad-300x214.jpg" alt="The one I got was the floor model, and it didn't even POST..." width="300" height="214" /></a><p class="wp-caption-text">The one I got was the floor model, and it didn&#39;t even POST...</p></div>
<p>All the while, I&#8217;ve never actually paid for an operating system. I bought a copy of SuSE Linux once, and a copy of FreeBSD at CompUSA years ago. Those were only  $10 &#8211; $20 at most. Commercial OS&#8217;s have always been pretty pricey from my point of view, and they have only gotten more expensive over the years. What typically happens is I find a way to get the OS for free:</p>
<ul>
<li>Vista &#8211; Free, I took a survey and ran some monitoring software for 3 months</li>
<li>XP &#8211; Free, I got an academic license from DVC</li>
<li>Windows 2000 Pro &#8211; Free, I got a copy when I worked at Great Entertaining.com. So I could &#8220;work from home&#8221;&#8230;</li>
<li>Windows 98SE &#8211; &#8220;Free&#8221;&#8230; a friend of a friend brought a few copies back from Taiwan.</li>
</ul>
<p>Every OS before that was either OEM (like from a Packard Bell), or a friend let me copy it&#8230; there, I admit it. I used my friends copy of MS-DOS 6.20, Windows 3.11 as well. To be fair, it was so un-usable on my 486 that I had to remove it. It also took up a large portion of my 100MB Dae Woo hard drive.</p>
<p>So what has changed? Why did I actually BUY a copy??? It is not because of features or my love for Microsoft. It is for three reasons:</p>
<ul>
<li>I have a copy of Vista Ultimate (64bit) that I got for FREE by taking a survey and running software for 3 months.</li>
<li>I have a Directx10 GFX card and a decent catalog of DX10 games now.</li>
<li>Getting a free and legitimate copy has become very difficult now.</li>
</ul>
<p>With that, I was able to purchase the Upgrade edition which revoked my Vista product ID. I never used Vista because I disliked it, and it wouldn&#8217;t boot after its first round of updates. The install of Windows 7 was much nicer, and a lot quicker. I do enjoy its substantially faster boot times, even compared to XP, and it is really nice not to have to fetch drivers for all my hardware. Even the all-in-one canon printer we just got, it worked right off the bat which is normally unheard of in the Windows world.</p>
<p>There are a few things I wish Windows would do; mostly things that I enjoy from other coolers OS&#8217;s like FreeBSD and Linux:</p>
<ul>
<li>Virtual CD/DVD devices &#8211; I still have to use a 3rd party tool to mount ISO&#8217;s</li>
<li>Mount Points &#8211; I HATE referring to device handles like &#8216;C:&#8217; and &#8216;D:&#8217;, it reminds me of VMS</li>
<li>Support for the mouse wheel in everything. The Gnome environment excels at this. It is such a simple concept that I&#8217;m really amazed other OS&#8217;s don&#8217;t do it</li>
<li>Built-in SSH client &#8211; This is knit-picking, but it would be awesome to have</li>
<li>Cool GNU tools like md5sum, gunzip, tar, lynx, etc&#8230;</li>
</ul>
<p>I can still accomplish all of the above with toolsets like gnuwin32, putty, etc.. it would have been nice not to rely on that.</p>
<p>Nice trip down memory lane, and how about that timeline huh? That took me a while to figure out, it is called SIMILE Timeline, and they had a nice example in their documentation. It&#8217;s fun to find new ways to represent information.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywushublog.com/2009/10/windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
