<?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>awhitlock.net</title>
	<atom:link href="http://awhitlock.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://awhitlock.net</link>
	<description>Journal of Andrew Whitlock</description>
	<lastBuildDate>Mon, 07 Mar 2011 23:28:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>kos-mos is dead, meet t-elos</title>
		<link>http://awhitlock.net/2011/03/kos-mos-is-dead-meet-t-elos/</link>
		<comments>http://awhitlock.net/2011/03/kos-mos-is-dead-meet-t-elos/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 23:28:25 +0000</pubDate>
		<dc:creator>agw</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://awhitlock.net/?p=206</guid>
		<description><![CDATA[The old file server was a beast. 2 2.4GHz dual-core Opterons, the old 90nm chips. 5GB (don&#8217;t ask) of RAM. And&#8230;2.7TB of storage, with a big pile of 250GB and 500GB drives mashed together into several arrays that were dumped into a volume group. The whole thing was encrypted just for kicks. There was also [...]]]></description>
			<content:encoded><![CDATA[<p>The old file server was a beast.  2 2.4GHz dual-core Opterons, the old 90nm chips.  5GB (don&#8217;t ask) of RAM.  And&#8230;2.7TB of storage, with a big pile of 250GB and 500GB drives mashed together into several arrays that were dumped into a volume group.  The whole thing was encrypted just for kicks.  There was also an Nvidia 7800GT board hooked up to two wide-screen displays, a PCHDTV card, a USB hub&#8230;</p>
<p>All told, it consumed 280W of power at <em>idle</em>.  That&#8217;s with the CPUs sitting at 1GHz each, video card in low-power mode, etc.  Was it fast?  Very.  But I never really got around to using the machine as intended since it had to stay up all the time: it&#8217;s a file server.  The torrents run on it, mp3s stream off it, videos and data are there, etc.  The idea was to use it as a fileserver, and with the leftover capacity &#8212; which, let&#8217;s be honest, there is way too much &#8212; would be used to drive a 3-display <a href="http://www.flightgear.org/">Flightgear</a> setup.  The stable release of Debian is great for a fileserver.  Not so much if you want to run the latest iteration of a game under heavy development.  Inevitably, dependencies crop up which are not available in stable.  So that never got off the ground (see what I did there?) and it was just sucking down a lot of power for no real reason.</p>
<p>I replaced it&#8230;.with this.</p>
<div id="attachment_208" class="wp-caption alignnone" style="width: 310px"><a href="http://awhitlock.net/2011/03/kos-mos-is-dead-meet-t-elos/img00042-20110217-1725/" rel="attachment wp-att-208"><img src="http://awhitlock.net/wp-content/uploads/2011/03/IMG00042-20110217-1725-300x225.jpg" alt="" title="IMG00042-20110217-1725" width="300" height="225" class="size-medium wp-image-208" /></a><p class="wp-caption-text">Nanbara the K6-2 webserver with t-elos, kos-mos&#039; replacement</p></div>
<p>It&#8217;s a Sun Blade 100 with 1GB of RAM and the drive cage from kos-mos sitting atop it.  It&#8217;s ugly but well thought out.  It uses 90W of power, and that&#8217;s with 3 2TB drives, 2 250GB drives used to back up things, and the little 20GB IDE drives the system boots off of.  With the CPU at 500MHz, it&#8217;s not going to break any speed records.  The important thing was that it have ECC memory (it does), and is fast enough to stream over the wireless setup I have at full speed (it is) while using as little power as possible.  It runs Debian, naturally, and aside from a few issues using the onboard sungem NIC &#8212; replaced with a generic rtl8139 board &#8212; it has been issue free under quite heavy loads.  All the PCI slots are full, there are two SATA cards and the NIC installed.</p>
<p>This system is <em>just</em> fast enough.  There are two easily reachable limits: the PCI bus, which is 33MHz and 32-bits wide only; and the CPU&#8217;s capacity to Do Stuff.  The bus, with my configuration, seems to tap out at a bit shy of 25MB/sec of actual throughput, roughly judged by watching the speed of the RAID-1 resync on the two 250GB drives.  At the same time, the RAID-5 XOR operations pretty much max out the CPU at about 20-ishMB/sec (missing the SSE/MMX optimized routines here!).  Throw in software and hardware interrupts and additional traffic from the NIC&#8230;and it&#8217;s just right.  It handles multiple download streams, torrents, aMule, etc without a hiccup.  It stays responsive when the arrays are doing monthly parity checks.  It streams HD video with all this going on.  But a gigabit NIC would be pointless, as would a SATA-II controller &#8212; I tried the latter and observed identical performance to the old SATA-I cards.  The additional overhead from encryption was also out of the question, but that&#8217;s fine&#8230;it was more of a &#8216;because I can&#8217; thing with kos-mos.  It&#8217;s not a laptop.</p>
<p>So here&#8217;s to hopefully years of faithful service, and thanks to the Debian team for such a solid SPARC port!  And the eventual creation of the Flightgear box&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://awhitlock.net/2011/03/kos-mos-is-dead-meet-t-elos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pulseaudio suc&#8211; wait, it works??</title>
		<link>http://awhitlock.net/2011/02/pulseaudio-suc-wait-it-works/</link>
		<comments>http://awhitlock.net/2011/02/pulseaudio-suc-wait-it-works/#comments</comments>
		<pubDate>Tue, 01 Feb 2011 21:07:06 +0000</pubDate>
		<dc:creator>agw</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[alsa]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[pulseaudio]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://awhitlock.net/?p=198</guid>
		<description><![CDATA[The other day, I wiped the media PC which was running Windows 7 and installed Ubuntu 10.10. I was tired of everything &#8220;just working&#8221; and not having to screw around with anything just to watch a Flash video or 1080p movies. I went with the AMD64 release because I feel like less of a man [...]]]></description>
			<content:encoded><![CDATA[<p>The other day, I wiped the media PC which was running Windows 7 and installed Ubuntu 10.10.  I was tired of everything &#8220;just working&#8221; and not having to screw around with anything just to watch a Flash video or 1080p movies.</p>
<p>I went with the AMD64 release because I feel like less of a man running a 32-bit OS on 64-bit hardware.  Unlike when you put 64-bit Windows on a box, with Linux typically this means your entire userland is 64-bit &#8212; all applications including, notably, the web browser.  This wouldn&#8217;t be a problem except for the Adobe Flash plugin.  There is now a 64-bit &#8216;preview&#8217;&#8230;again&#8230;since it obviously takes close to a decade to get it ready for release.  This actually works decently until you try to watch video full-screen.  Luxury, right?  Wait what&#8217;s this??  There&#8217;s a 10.2 release candidate!  Oh, gee, they only support 32-bit Linux.  There&#8217;s a shocker.</p>
<p>The irony here is that the 32-bit release-candidate plugin runs faster with nspluginwrapper than the &#8216;native&#8217; 64-bit plugin.  Can actually watch videos fullscreen, etc, mostly glitch free.</p>
<p>But I digress.  The biggest change for me since the last time I use plain ol&#8217; Debian unstable on the media PC is that Ubuntu has switched to Pulseaudio as its default audio framework.  The last time I encountered this, it couldn&#8217;t even play MP3s without weird pauses, static, skipping, and high latency.  There were still things to contend with for me here, today, but it&#8217;s a lot better than the last time.</p>
<ul>
<li>Glitchy audio, latency, etc.  This is pretty much gone.  The login sound stuttered all over the place, but I disable that anyway and everything else works well.  Simultaneous MP3 player, flash, and VLC  works nicely.</li>
<li>IEC958 output works.  GIANT CAVEAT: for stereo output.  This is still a huge improvement from before, when I was unable to get it to work at all without resorting to ALSA directly.</li>
<li>VLC/mplayer ac3/dts passthrough&#8230;sorta works.  I&#8217;ve switched to VLC for my media player and it works with audio output set to ALSA, &#8220;Use S/PDIF when available&#8221; is checked, and the default non-IEC958 device is selected.  It automagically sends ac3/dts unmodified <em>if there is no other sound application using Pulseaudio</em>.  Otherwise, it degrades to stereo and plays fine that way.  More on this behavior later.</li>
<li>Mixing multiple apps is trouble free.  This is sort of &#8220;the point&#8221; to Pulseaudio.  ALSA can do this too but Pulseaudio is apparently more flexible.  For example, applications that support it receive individual volume controls.</li>
<li>Configuring sound cards is no longer black magic&#8230;if it actually worked right for me.  It shows me all the outputs and speaker configurations my card supports, but none aside from stereo and possibly 4.0 surround worked properly.  This will be fantastic once it becomes more mature.  ALSA can be very unfriendly if the default settings do not work for you.</li>
</ul>
<p>The marriage of ALSA and Pulseaudio seems a lot more harmonious than it was before.  ALSA is still your bare-metal interface to the sound card.  However, by default in Ubuntu 10.10 it is tied to the Pulseaudio daemons.  The applications all send their sound to the daemon which does its thing, including mixing if necessary, before sending it onto ALSA where it hopefully becomes the expected sound from your speakers.  Selecting ALSA as an output option in programs which support it, such as VLC and Audacious, no longer results in a message stating that the sound device could not be opened (except for the passthrough note above) and it gets routed through Pulseaudio anyway.</p>
<p>It&#8217;s not perfect.  Would I prefer straight ALSA?  At this point, probably&#8230;but I&#8217;m used to dealing with it.  For a regular user I believe this new configuration is much nicer for most applications, particularly for plain ol&#8217; users that don&#8217;t want to dig around on the command line to get sound to work the way that they want.  I plan to leave it in place on the media PC and see how it progresses.  I look forward to the day when surround sound works properly on my setup &#8212; as I only use the S/PDIF for output this is lower priority for me.  I&#8217;m less optimistic about the ac3/dts passthrough&#8230;but who knows?  The rest of my machines running straight Debian will continue to use ALSA for the foreseeable future but I was pleasantly surprised with Pulseaudio this time around on Ubuntu.</p>
<p>As an aside, in the course of trying to get passthrough to work I did consider getting rid of Pulseaudio.  Here is the most concise, least intrusive guide I could find to disabling it instead of removing it: <a href="https://help.ubuntu.com/community/UbuntuStudioPreparation#Disabling%20PulseAudio">https://help.ubuntu.com/community/UbuntuStudioPreparation#Disabling%20PulseAudio</a></p>
]]></content:encoded>
			<wfw:commentRss>http://awhitlock.net/2011/02/pulseaudio-suc-wait-it-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Refinanced at last</title>
		<link>http://awhitlock.net/2010/10/refinanced-at-last/</link>
		<comments>http://awhitlock.net/2010/10/refinanced-at-last/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 17:31:01 +0000</pubDate>
		<dc:creator>agw</dc:creator>
				<category><![CDATA[Finance]]></category>
		<category><![CDATA[House]]></category>
		<category><![CDATA[make home affordable]]></category>
		<category><![CDATA[refinance]]></category>

		<guid isPermaLink="false">http://awhitlock.net/?p=193</guid>
		<description><![CDATA[After I gave up on the Make Home Affordable (ha!) program, I pretty much gave up on refinancing entirely. I guess one benefit of the awful economy, though, is that interest rates remained low and actually continued to drop substantially. When the spread between what I was paying and what was available went over two [...]]]></description>
			<content:encoded><![CDATA[<p>After I gave up on the Make Home Affordable (ha!) program, I pretty much gave up on refinancing entirely.  I guess one benefit of the awful economy, though, is that interest rates remained low and actually continued to drop substantially.  When the spread between what I was paying and what was available went over two points&#8230;I could no longer ignore it.</p>
<p>The first task was getting quotes.  I didn&#8217;t want to pay for points, and it was important that closing costs were very reasonable.  I didn&#8217;t want to refinance at all unless cash flow improved markedly and the savings paid for the costs of obtaining the loan within a year.  What I did was use <a href="http://www.zillow.com/">Zillow&#8217;s</a> rate quote tool.  It gave me better rates than the banks I checked, and it was easy to understand what the costs were going to be.  I picked the quote that gave me the best 5 year cost with the lowest closing costs and set the process in motion.</p>
<p>I hate to spend money.  But here, I thought, is a no-brainer.  I&#8217;m dropping my rate more than two points.  I&#8217;m saving almost $300(!) per month.  It&#8217;ll pay for itself in less than a year and really help with cash flow.  In this market, screw equity&#8230;as long as I don&#8217;t increase my debt I want more money to stay in my pocket.</p>
<p>So the house needs to be appraised.  Anyone who has refinanced traditionally lately probably knows where this is headed already!  I prep the house, clean from top to bottom.  A string trimmer and leaf blower are purchased so the back yard can be navigated without a machete.  Tons of work, money spent, and the guy is in and out in like ten minutes.  Ok.  Now we wait.</p>
<p>Naturally the appraisal comes in later than promised.  There was also an unpleasant surprise within: it came in low.  Unreasonably low in my opinion, as it amounted to a 17% drop.  Foreclosures and short sales are the new normal though, so it is what it is.  This brought the loan-to-value (LTV) to 93%.</p>
<p>This caused a number of things to happen.  First, the interest rate.  I had been able to float the rate down to 4%.  With the low appraisal, that was no longer &#8216;free&#8217; and I would pay $500 to save about $10 per month.  No thanks.  So back up it goes to 4.125%.  Next, mortgage insurance (PMI).  This jumped from $25 on the old mortgage, to $45 anticipating a higher appraisal, to $87 with the new appraisal.  Ok, still saving lots of money.  A couple of days go by, and the insurer declines the loan for, in the broker&#8217;s words, &#8216;no apparent reason.&#8217;  Another company has to be used, and the PMI is now $113.  Per month.</p>
<p>Now I&#8217;m going to vent a little.  My PMI is over five times what it is on the old note, and I am financing the same house with less money and better credit.  The reason is really nothing to do with me &#8211; it&#8217;s the appraisal.  Included in the comparisons was a foreclosed property and a house down the street listed for a surprisingly low amount.  Two days after the appraisal another house on the street went up for sale, smaller than mine, listed for what I figured my appraisal would come in at.</p>
<p>Still saving over $200 per month, which is incredible considering the PMI increase.  I&#8217;m just miffed that a low-ball appraisal is basically costing me $80 a month.</p>
]]></content:encoded>
			<wfw:commentRss>http://awhitlock.net/2010/10/refinanced-at-last/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ISA is not fast</title>
		<link>http://awhitlock.net/2010/03/isa-is-not-fast/</link>
		<comments>http://awhitlock.net/2010/03/isa-is-not-fast/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 18:10:06 +0000</pubDate>
		<dc:creator>agw</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[ISA]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://awhitlock.net/?p=180</guid>
		<description><![CDATA[Using a pair of ISA IDE controllers for a mirror, and an ISA NIC is a recipe for sloooooow. md2 : active raid1 sda3[2] sdb3[1] 425600 blocks [2/1] [_U] [====>................] recovery = 24.3% (104064/425600) finish=10.5min speed=508K/sec Oh yeah.]]></description>
			<content:encoded><![CDATA[<p>Using a pair of ISA IDE controllers for a mirror, and an ISA NIC is a recipe for sloooooow.</p>
<p><code>md2 : active raid1 sda3[2] sdb3[1]<br />
425600 blocks [2/1] [_U]<br />
[====>................]  recovery = 24.3% (104064/425600) finish=10.5min speed=508K/sec</code></p>
<p>Oh yeah.</p>
]]></content:encoded>
			<wfw:commentRss>http://awhitlock.net/2010/03/isa-is-not-fast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wireless network revamp completed</title>
		<link>http://awhitlock.net/2010/03/wireless-network-revamp-completed/</link>
		<comments>http://awhitlock.net/2010/03/wireless-network-revamp-completed/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 22:08:18 +0000</pubDate>
		<dc:creator>agw</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://awhitlock.net/?p=178</guid>
		<description><![CDATA[Nearly completed, anyway. The way it wound up is the old WRT54GL with DD-WRT still holds the internet connection. The WRT610N is bridged to it over LAN, and both the 2.4GHz and 5GHz networks are in use there. Final result is three wireless APs set up. The G network contains devices that only want to [...]]]></description>
			<content:encoded><![CDATA[<p>Nearly completed, anyway.  The way it wound up is the old WRT54GL with DD-WRT still holds the internet connection.  The WRT610N is bridged to it over LAN, and both the 2.4GHz and 5GHz networks are in use there.  Final result is three wireless APs set up.  The G network contains devices that only want to use the internet, like my roommate&#8217;s stuff, my work phone, etc.  The 2.4GHz N network supports the living room media such as the PC and consoles.  Finally, the 5GHz N network contains the stuff in the basement including the file server.</p>
<p>In the long run, it cost more than I expected to get everything the way I wanted.  However, I&#8217;m really pleased with the throughput I&#8217;m getting on all the various devices.  For example, from the basement to the second floor is now 7-8MB/sec!  With the use of wireless bridges I was able to avoid putting wireless adapters in everything, so the machines still connect over plain old ethernet.</p>
<p>The only thing I have left to do really, besides cleaning up all the cabling I hastily laid out, is to reflash the WRT610N with DD-WRT once the warranty expires in June.  Having freed up the powerline adapters, I&#8217;m thinking of doing some VLANs for certain equipment and setting up an old PC in the garage for use when I&#8217;m working on the cars.  I&#8217;m surprised how frequently I need to look something up, which means I have to wash my hands, make sure my shoes aren&#8217;t dirty, etc, etc, before heading back inside to take a look.</p>
]]></content:encoded>
			<wfw:commentRss>http://awhitlock.net/2010/03/wireless-network-revamp-completed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make Home Affordable: Conventional refi out of the question</title>
		<link>http://awhitlock.net/2010/03/make-home-affordable-conventional-refi-out-of-the-question/</link>
		<comments>http://awhitlock.net/2010/03/make-home-affordable-conventional-refi-out-of-the-question/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 14:55:19 +0000</pubDate>
		<dc:creator>agw</dc:creator>
				<category><![CDATA[Finance]]></category>
		<category><![CDATA[House]]></category>
		<category><![CDATA[make home affordable]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[refinance]]></category>

		<guid isPermaLink="false">http://awhitlock.net/?p=174</guid>
		<description><![CDATA[Almost forgot to mention this. Obviously, US Bank never got back to me about a Home Affordable Refinance. Funny, I&#8217;m pretty sure that if I missed a payment I wouldn&#8217;t even have to ask them to call me! Anyway, with rates low again I looked into a conventional refinance. I obtained a few quotes, none [...]]]></description>
			<content:encoded><![CDATA[<p>Almost forgot to mention this.  Obviously, <a href="http://www.usbankhomemortage/">US Bank</a> never got back to me about a <a href="http://makinghomeaffordable.gov/refinance_eligibility.html">Home Affordable Refinance</a>.  Funny, I&#8217;m pretty sure that if I missed a payment I wouldn&#8217;t even have to ask them to call me!  Anyway, with rates low again I looked into a conventional refinance.  I obtained a few quotes, none of them made me want to seal the deal.</p>
<p>First, it seems impossible to drop private mortgage insurance (PMI) because the value of the house has probably decreased.  This is actually what makes the refinance really questionable.  I can drop my rate nearly 2 points, but mortgage insurance premiums have gone up drastically since I financed the new house in August 2008.</p>
<p>Second, if you have PMI, you can&#8217;t drop escrows.  That was something else I wanted to be rid of since it&#8217;s always off, and I have that nagging doubt of whether or not taxes and insurance bills will be paid on time.  I would rather pay for it myself.</p>
<p>Third, if you don&#8217;t want to pay points, the rates are higher.  This is obvious of course, but many advertised rates are with points.  It was harder than it should be to find rates that really didn&#8217;t have points, or high initiation fees, etc.</p>
<p>Put all of this together and it worked out to basically $5000-$6000 out of pocket (or tacked onto the loan) to save $100 a month or less on the payment.  Even assuming the cost turned out to be only $4000, it would take 40 months to recoup the expense.  Not worth it.  Yeah, if I knew for a fact I would be in the house until it was paid off, or ten years or whatever, maybe I would do it.  But for me, money in the bank now is worth more than that money in the future.</p>
<p>I wish the Home Affordable thing would have worked out.  I have seen that these cost between $2000-$3000 when all is said and done, in which case it would definitely make more sense to go ahead and refinance.  <strong>Thanks for nothing, US Bank.</strong>  Good to see my timely payments are reciprocated.</p>
]]></content:encoded>
			<wfw:commentRss>http://awhitlock.net/2010/03/make-home-affordable-conventional-refi-out-of-the-question/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This post served over wireless</title>
		<link>http://awhitlock.net/2010/03/this-post-served-over-wireless/</link>
		<comments>http://awhitlock.net/2010/03/this-post-served-over-wireless/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 12:14:38 +0000</pubDate>
		<dc:creator>agw</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[dd-wrt]]></category>
		<category><![CDATA[home lan]]></category>
		<category><![CDATA[powerline networking]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://awhitlock.net/?p=169</guid>
		<description><![CDATA[After deciding I was probably never actually going to get around to running CAT-5 in the new house, at least not in the near term, it was time to do something about the abysmal transfer rates offered by the powerline networking I had been using.]]></description>
			<content:encoded><![CDATA[<p>After deciding I was probably never actually going to get around to running CAT-5 in the new house, at least not in the near term, it was time to do something about the abysmal transfer rates offered by the powerline networking I had been using.  This uses the electrical wiring in your home to transmit data.  There are similar systems for phoneline and coaxial cable.</p>
<p>Powerline networking <a href="http://www.netgear.com/Products/PowerlineNetworking/PowerlineEthernetAdapters/XEB1004.aspx">suggests speeds &#8220;up to 85 megabit&#8221;</a>, some promise even higher speeds today.  I imagine that it&#8217;s possible to get decent performance in a small home or between outlets in the same room, or with quiet circuits.  With the setup I had, the breaker box in the basement becomes the &#8220;switch&#8221; for the powerline network.  I had three access points: one upstairs in the computer room with the router and desktop/gaming machine, one downstairs in the living room for the media PC and consoles, and one in the basement for the servers.  Between any two points I never saw speeds over 10 megabit, and it was usually 4-5 megabit, even lower from living room to router.  Connectivity to the basement was always dependable since it was right underneath the breaker box.  The living room PC, however, frequently lost connection to the internet which could only be cured by going upstairs, unplugging the powerline adapter, and plugging it back in.</p>
<p>More issues were caused by other electrical devices in the house.  Mainly lighting, but also cell phone chargers, using the microwave, etc.  If I turn on the porch light, for example, ping goes from 10ms to bouncing between 30-200+ms <em>with packet loss</em> from the living room to the router!  Certain cell phone chargers plugged into a particular outlet in the computer room caused connectivity issues.  Turning on the desktop fluorescent light would wreck transfer speed to the basement.  Etc, etc, etc.</p>
<p>Without running CAT-5 in the walls, the only other solution is really wireless.  I have a <a href="http://www.linksysbycisco.com/US/en/products/WRT54GL">WRT54GL</a> running <a href="http://www.dd-wrt.com/site/index">DD-WRT</a> upstairs.  With my laptop I noted I still had a good signal in the basement.  Rather than buying a bunch of wireless cards, I purchased a <a href="http://www.trendnet.com/products/proddetail.asp?prod=195_TEW-647GA&#038;cat=66">Wireless N &#8220;gaming adapter&#8221;</a>, commonly used to connect XBOX 360 consoles to wireless since Microsoft&#8217;s proprietary adapter is ridiculously expensive, like most other 360 accessories.  After configuring it for my network, I plugged it into the switch downstairs and just like that, the machines are on the wireless.</p>
<p>Transfer speed is much improved from upstairs to the basement, fast enough to stream HD video.  Removing the third powerline adapter better than doubled transfer speed from the living room to the upstairs router as well.  I&#8217;m getting 2.5-2.8MB/s, which is way faster&#8230;and that&#8217;s just wireless G, WPA2, down two floors and on the other side of the house.</p>
<p>Next is a rework of the wireless network.  I ordered a <a href="http://www.linksysbycisco.com/US/en/products/WRT610N">WRT610N</a> to replace the upstairs router.  That should dramatically increase the speed of the adapter in the basement.  I plan to use the old router as a wireless bridge in the living room to avoid purchasing another gaming adapter and provide service to wireless G enabled stuff, to keep the 610N wireless N only.</p>
]]></content:encoded>
			<wfw:commentRss>http://awhitlock.net/2010/03/this-post-served-over-wireless/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dead hard drives from flight sim project: 2</title>
		<link>http://awhitlock.net/2009/12/dead-hard-drives-from-flight-sim-project-2/</link>
		<comments>http://awhitlock.net/2009/12/dead-hard-drives-from-flight-sim-project-2/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 00:53:38 +0000</pubDate>
		<dc:creator>agw</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://awhitlock.net/?p=167</guid>
		<description><![CDATA[I like to say all hard drives fail, it&#8217;s just a matter of when. Well while going through hardware to build these flight sim boxes, so far two drives have turned up bad. Both were working when stored. Mirror everything unless you want to lose it!]]></description>
			<content:encoded><![CDATA[<p>I like to say all hard drives fail, it&#8217;s just a matter of when.  Well while going through hardware to build these flight sim boxes, so far two drives have turned up bad.  Both were working when stored.  Mirror everything unless you want to lose it!</p>
]]></content:encoded>
			<wfw:commentRss>http://awhitlock.net/2009/12/dead-hard-drives-from-flight-sim-project-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>leftwing sputters to life</title>
		<link>http://awhitlock.net/2009/12/leftwing-sputters-to-life/</link>
		<comments>http://awhitlock.net/2009/12/leftwing-sputters-to-life/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 00:42:42 +0000</pubDate>
		<dc:creator>agw</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Flying]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[flightgear]]></category>
		<category><![CDATA[leftwing]]></category>
		<category><![CDATA[simulator]]></category>

		<guid isPermaLink="false">http://awhitlock.net/?p=163</guid>
		<description><![CDATA[The machine I plan to use for the view out the left hand side of the aircraft is now up and running. This machine wound up with the following specs: * Athlon XP 1800+ (1.533GHz) CPU * 1GB PC 2100 * NVidia FX 6200A 256MB * 8GB HD * Some CMedia sound card * Debian [...]]]></description>
			<content:encoded><![CDATA[<p>The machine I plan to use for the view out the left hand side of the aircraft is now up and running.  This machine wound up with the following specs:</p>
<p>* Athlon XP 1800+ (1.533GHz) CPU<br />
* 1GB PC 2100<br />
* NVidia FX 6200A 256MB<br />
* 8GB HD<br />
* Some CMedia sound card<br />
* Debian unstable, minimally configured 2.6.32 kernel.  Running Window Maker as the window manager, the only app besides Flightgear installed is an xterm (rxvt-unicode).</p>
<p>With this, running at 1680&#215;1050 resulted in 20-26FPS in the fairly busy environment of San Francisco.  This should be perfectly adequate for a view out the left window.  It makes me worry a bit about the Celeron 1400 though, although the video card should be slightly faster to make up for it.</p>
<p>Building the central machine now, it&#8217;ll hold all the scenery files and coordinate the left and right wing views.  It&#8217;s a 2.2GHz Athlon 64 system, I don&#8217;t expect issues with speed, but I&#8217;m wondering how the graphical performance will be.  It&#8217;ll have a Radeon 9600 and be using the open source driver.</p>
]]></content:encoded>
			<wfw:commentRss>http://awhitlock.net/2009/12/leftwing-sputters-to-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building the airplane: engines</title>
		<link>http://awhitlock.net/2009/12/building-the-airplane-engines/</link>
		<comments>http://awhitlock.net/2009/12/building-the-airplane-engines/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 17:22:20 +0000</pubDate>
		<dc:creator>agw</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Flying]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[flightgear]]></category>
		<category><![CDATA[simulator]]></category>

		<guid isPermaLink="false">http://awhitlock.net/?p=161</guid>
		<description><![CDATA[With a new display for my main workspace upstairs, I now have three identical displays for use building my flight sim machine! Things have shifted around a bit hardware wise since the last time I attempted this. Then, I used a single dual-core system (Athlon 64 X2 4400+) with two Nvidia 7800GT cards to drive [...]]]></description>
			<content:encoded><![CDATA[<p>With a new display for my main workspace upstairs, I now have three identical displays for use building my flight sim machine!  Things have shifted around a bit hardware wise since the last time I attempted this.  Then, I used a single dual-core system (Athlon 64 X2 4400+) with two Nvidia 7800GT cards to drive three displays.  This worked, more or less, but at that time the multi-display stuff for <a href="http://www.flightgear.org/">Flightgear</a> required running three different instances of the simulator.  This caused some stuttering from time to time, since there were three tasks demanding all the CPU available and just two cores to execute them.  Displays weren&#8217;t a problem&#8230;7800GT was way more power than Flightgear needed.</p>
<p>Now there is multi-display code built in, so you only need to run one &#8220;engine.&#8221;  However, that dual-core machine is now serving as a media PC.  I was using a slower machine with HW accelerated video, but Flash &#8211; of which there is more and more being used for relatively high-end media &#8211; couldn&#8217;t keep up.  So now it&#8217;s a big dual-core machine.  To run Flash.  That says a lot.</p>
<p>So, I need three &#8220;engines&#8221; since the remaining hardware is single-core with low-end video cards.  The cards I am using:</p>
<p>* ATI Radeon 9600 256MB<br />
* Nvidia FX6200A 256MB<br />
* Nvidia FX5700 256MB</p>
<p>These are all AGP cards.  It&#8217;s too bad I don&#8217;t have any PCI-E hardware left, I have two 7800GTs just lying around!  The three machines, short specs:</p>
<p>* Athlon 64 2200MHz, 1GB DDR<br />
* Athlon XP 1533MHz, 1GB DDR<br />
* Celeron 1400MHz, 768MB PC100 registered(!)</p>
<p>The last machine I&#8217;m really pushing my luck with, but it&#8217;s all I have left.  Used to be a file server until I had kos-mos back in service, so I&#8217;ll need to remove a ton of hard-drives and the extra noisy fans.  It&#8217;s actually a slot-1 machine with a Tualatin core Celeron hacked on via a third-party module.  It works pretty well, believe it or not.  My main concern is memory bandwidth.</p>
<p>These will all be running Debian unstable and Flightgear 1.9.1 from the repositories.  If it struggles on the Athlon XP or Celeron systems I might do a CPU-optimized rebuild, but I hope it won&#8217;t be necessary.  So there will be one 64-bit machine that will drive the primary display, and the other boxes will be left-wing and right-wing.  They&#8217;ll be stripped down as much as possible, no full desktop etc, custom kernels&#8230;we&#8217;ll see how it goes.</p>
]]></content:encoded>
			<wfw:commentRss>http://awhitlock.net/2009/12/building-the-airplane-engines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

