<?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>Life Pattern &#187; it</title>
	<atom:link href="http://blog.lifepattern.org/tag/it/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lifepattern.org</link>
	<description>There must be a better way...</description>
	<lastBuildDate>Fri, 30 Apr 2010 08:36:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TLS SNI &#8211; almost there&#8230; or not?</title>
		<link>http://blog.lifepattern.org/2009/08/14/tls-sni-almost-there-or-not/</link>
		<comments>http://blog.lifepattern.org/2009/08/14/tls-sni-almost-there-or-not/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 20:14:48 +0000</pubDate>
		<dc:creator>zimage</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[it]]></category>

		<guid isPermaLink="false">http://blog.lifepattern.org/?p=76</guid>
		<description><![CDATA[As e-commerce is gaining momentum all over the world, so is the need of e-commerce platforms and infrastructure. For 2008 US eCommerce and Online Retail sales alone projected to reach $204 billion, an increase of 17 percent over 2007. And that&#8217;s not only the big players &#8211; more and more smaller brick and mortar shops [...]


Related posts:<ol><li><a href='http://blog.lifepattern.org/2008/08/23/virtual-private-servers/' rel='bookmark' title='Permanent Link: Virtual Private Servers'>Virtual Private Servers</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>As e-commerce is gaining momentum all over the world, so is the need of e-commerce platforms and infrastructure. For 2008 US eCommerce and Online Retail sales alone projected to reach $204 billion, an increase of 17 percent over 2007. And that&#8217;s not only the big players &#8211; more and more smaller brick and mortar shops open their on-line versions and many individuals are also selling their products or services on-line.</p>
<p>One very important aspect is the need for secure connection between sellers and prospective buyers. That&#8217;s were SSL/TLS come into play. The TLS protocol allows applications to communicate across Internet in a way designed to prevent eavesdropping, tampering, and message forgery. TLS provides endpoint authentication and communications confidentiality by using cryptography. If we talk about web that&#8217;s the https protocol.</p>
<p>With virtual web hosting, which is the most common type of shared hosting, one web server provides many domains through the same IP address and port. The server examines each request to determine which domain is being served by looking at HTTP request headers.  Unfortunately, when the appropriate headers are received the server has already established the secure connection and cannot change to another SSL certificate.</p>
<p>So, SSL enabled virtual hosting isn&#8217;t exactly possible. Every SSL site need it&#8217;s own dedicated IP address. And there are quite a lot SSL sites out there lately, so quite a lot IP addresses are wasted.</p>
<p>An extension to TLS called Server Name Indication (SNI) addresses this issue. By sending the name of the virtual domain as part of the TLS negotiation it enables the server to &#8220;switch&#8221; to the correct virtual domain early and present the browser with correct SSL certificate.</p>
<p>The most popular web server software on the Internet, the apache web server, has had support for TLS SNI as external patch for some time (in combination with OpenSSL). It&#8217;s integrated since version 2.12 and recently even entered the Debian testing repository.</p>
<p>All major browsers have TLS SNI support as well, so we are almost there. Current versions of Firefox, Internet Explorer, Opera, Google Chrome, Safari do support TLS SNI. Or&#8230; wait&#8230; Internet Explorer for Windows XP doesn&#8217;t support it? Yeah, that&#8217;s right. Seems we are out of luck, because despite Microsoft releasing Vista and Windows 7, the now eight years old Windows XP is still the most popular desktop operating system on the planet.</p>
<div style="float: left; width: 42px; padding-right: 45px; margin: 0 45px 0 0;">
		<script type="text/javascript">
		<!--
		digg_url = "http://blog.lifepattern.org/2009/08/14/tls-sni-almost-there-or-not/";
		digg_bgcolor = "#FFFFFF";
		digg_skin = "compact";
		digg_window = "";
		digg_title = "TLS+SNI+%26%238211%3B+almost+there%26%238230%3B+or+not%3F";
		digg_bodytext = "";
		digg_media = "news";
		digg_topic = "";
		//-->
		</script>
		<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div><div style="clear:both;"></div>

<p>Related posts:<ol><li><a href='http://blog.lifepattern.org/2008/08/23/virtual-private-servers/' rel='bookmark' title='Permanent Link: Virtual Private Servers'>Virtual Private Servers</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.lifepattern.org/2009/08/14/tls-sni-almost-there-or-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IO performance monitoring</title>
		<link>http://blog.lifepattern.org/2009/04/11/io-performance-monitoring/</link>
		<comments>http://blog.lifepattern.org/2009/04/11/io-performance-monitoring/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 12:08:21 +0000</pubDate>
		<dc:creator>zimage</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nexenta]]></category>
		<category><![CDATA[opensolaris]]></category>

		<guid isPermaLink="false">http://blog.lifepattern.org/?p=62</guid>
		<description><![CDATA[If you can measure it, you can manage it. I&#8217;m a measurement, monitoring, analysis and statistics addict  
That&#8217;s why I&#8217;ve always wanted to be able to monitor the IO load of the Linux systems I&#8217;ve worked with. While there are well established monitoring and accounting tools for the CPU usage &#8211; both system wide [...]


Related posts:<ol><li><a href='http://blog.lifepattern.org/2008/09/05/mysql-usage-accounting/' rel='bookmark' title='Permanent Link: MySQL Usage Accounting'>MySQL Usage Accounting</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>If you can measure it, you can manage it. I&#8217;m a measurement, monitoring, analysis and statistics addict <img src='http://blog.lifepattern.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>That&#8217;s why I&#8217;ve always wanted to be able to monitor the IO load of the Linux systems I&#8217;ve worked with. While there are well established monitoring and accounting tools for the CPU usage &#8211; both system wide and per process &#8211; there were virtually none for the IO system until very recently.</p>
<p>Two of the more important reasons why I&#8217;d like to see better IO load monitoring are:</p>
<ul>
<li>The mechanical drives have big latency. In general the CPU feels much better than the disks when overloaded. For example if load average 10 is caused by CPU bound processes the system feels much more responsive than the same load but caused by IO bond processes. CPU load average 10 on a server system with two processors isn&#8217;t very noticeable. At the same time IO load average of 10 on the same system with 2x 7200 rpm disk drives in RAID1 feels very sluggish.</li>
<li>The hard disk drives failed to keep up with the performance improvements in microprocessor technologies. Disk capacity has grown quite well, but the speed and especially access times are far behind. The IO performance is the most common bottleneck and most precious resource in today&#8217;s systems. Or at least the systems I work with <img src='http://blog.lifepattern.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
<p>At the beginning of my Linux career, ten years ago, there was only one metric &#8211; blocks read/written. And that&#8217;s it. How busy the disk is you can guess only by looking at load average and checking how many processes are stuck in D state. I wish there are separate load average readings for CPU and IO&#8230;</p>
<p>At some point (linux 2.5 times?) extended statistics were added and things like queue size, utilization in % etc. became available. Much better. Still it was hard to tell who exactly is causing the load. If we speak of multi user system all you can see is multiple processes in D state. It&#8217;s unclear whether these are the ones causing the IO havoc or just victims of the already overloaded IO subsystem waiting.</p>
<p>In Linux 2.6.20 another step was made by adding per process IO accounting. I was very excited when I heard about this feature and eager to try it. It turned out that this per process IO accounting counts only the bytes read/written by a process. Not that better. A modern 7200 rpm SATA drive is only capable of about 90 IOPS so it could be choked with the pathetic 90 bytes per second&#8230;</p>
<p>Then there are the atop patches. These add per process IO occupation percentage. That sounds great but&#8230; when you have a lot of small random writes they go to the page cache first and only then are periodically flushed to the physical device. This is performance feature and is generally a (very) good thing as it allows the elevators to group writes together etc. Unfortunately, atop ends up accounting all these writes and IO utilization to pdflush and kjournald.</p>
<p>Ok, lets see what&#8217;s the state of the affairs in some other operating system. Everybody talks about dtrace so it&#8217;s time to check it out. Linux doesn&#8217;t have dtrace. At least yet. There is work in progress by Paul Fox. On the other hand Linux has system tap but it doesn&#8217;t look very mature to me. Anyway, there are number of operating systems that support dtrace: as it is create by Sun engineers first come Solaris and OpenSolaris. Then there is the FreeBSD port and Apple OS X. I&#8217;m familiar with FreeBSD but I wanted to check the current state of OpenSolaris kernel. On the other hand I wanted to keep the learning curve less sloppy, so I opted for Nexenta core 2 rc1. Nexenta is GNU userspace (Debian/Ubuntu) and OpenSolaris kernel.</p>
<p>Download, install &#8211; everything was smooth. The install defaulted to root fs on ZFS. Good! I was thinking about playing with ZFS these days anyway.
<p>And the moment of truth:</p>
<p>I started dbench -S 1, run dtrace -s iotop.d and here&#8217;s the output:</p>
<pre>
  UID    PID   PPID CMD              DEVICE  MAJ MIN D   %I/O
    0      0      0 sched            cmdk0   102   0 W     17
</pre>
<p>Hm, that looks somewhat familiar. I see a pattern there. Isn&#8217;t sched the ZFS cousin of pdflush/kjournald? Oh, well it is: http://opensolaris.org/jive/thread.jspa?threadID=39545&#038;tstart=285</p>
<p>No luck&#8230; dtrace&#8217;s iotop works with UFS but has problem with ZFS.</p>
<p>Turns out the proper IO monitoring is a very tricky business.</p>
<div style="float: left; width: 42px; padding-right: 45px; margin: 0 45px 0 0;">
		<script type="text/javascript">
		<!--
		digg_url = "http://blog.lifepattern.org/2009/04/11/io-performance-monitoring/";
		digg_bgcolor = "#FFFFFF";
		digg_skin = "compact";
		digg_window = "";
		digg_title = "IO+performance+monitoring";
		digg_bodytext = "";
		digg_media = "news";
		digg_topic = "";
		//-->
		</script>
		<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div><div style="clear:both;"></div>

<p>Related posts:<ol><li><a href='http://blog.lifepattern.org/2008/09/05/mysql-usage-accounting/' rel='bookmark' title='Permanent Link: MySQL Usage Accounting'>MySQL Usage Accounting</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.lifepattern.org/2009/04/11/io-performance-monitoring/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>The Internet Tablet Revolution</title>
		<link>http://blog.lifepattern.org/2008/12/31/the-internet-tablet-revolution/</link>
		<comments>http://blog.lifepattern.org/2008/12/31/the-internet-tablet-revolution/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 16:55:00 +0000</pubDate>
		<dc:creator>zimage</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[internet tablet]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[n810]]></category>

		<guid isPermaLink="false">http://blog.lifepattern.org/?p=50</guid>
		<description><![CDATA[Since the introduction of the first Palm devices back in 1997 I was tracking the evolution of pocket computers with great interest. However, for a very long time I couldn&#8217;t find the combination of factors that would make me buy one. The first device I seriously considered was N770 from Nokia. It was breakthrough in [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Since the introduction of the first <a href="http://en.wikipedia.org/wiki/Palm_%28PDA%29">Palm</a> devices back in 1997 I was tracking the evolution of pocket computers with great interest. However, for a very long time I couldn&#8217;t find the combination of factors that would make me buy one. The first device I seriously considered was N770 from Nokia. It was breakthrough in many ways but still quite limited in it&#8217;s memory and processing speed. I kept an eye on its development and when Nokia released it&#8217;s successor N800 I was sold. I bought one and used it for about 9 months when <a type="amzn">N810</a> was released. I immediately upgraded. I wear my <a type="amzn">N810</a> wherever I go for more than a year now and I&#8217;m very satisfied.</p>
<p>Some of the reasons I didn&#8217;t like any of the previous generations of PDA were their small screens, the use of closed operating systems or their high price tag. So the main <strong>advantages of <a type="amzn">N810</a></strong> over it&#8217;s rivals at least for me are:</p>
<blockquote>
<p><strong>Superior display</strong> than most of the PDAs. <strong>4.1&#8243;</strong> is very good and balanced size. Any bigger and it won&#8217;t fit in your pocket. Superb <strong>800&#215;480</strong> screen resolution &#8211; you can&#8217;t go better for a display of this size. And due to the fact this display is <strong><a href="http://en.wikipedia.org/wiki/Transreflective_liquid_crystal_display">transflective</a></strong> it&#8217;s readable even in bright daylight.</p>
<p><a type="amzn">N810</a> is <strong>more mobile than the netbooks</strong>, which are gaining popularity recently. It&#8217;s <strong>smaller and lighter</strong> and it <strong>fits in your pocket</strong> or in a lather sleeve like <a href="http://www.amazon.com/gp/product/B0013KH30Q?ie=UTF8&#038;tag=lifepatt-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B0013KH30Q">this one</a>. Better mobility is also aided by the <strong>very good battery life</strong>. I use mine to read while commuting, some internet browsing and I might turn on the gps once in a while. That&#8217;s about 1.5 hrs daily and I keep it in off-line suspended mode (but instant on &#8211; less than a second) for the rest of the time. Its <strong>battery lasts about 5 days</strong> between recharges with this usage pattern.</p>
<p><a type="amzn">N810</a> runs an <strong>open source, linux based</strong> OS and application stack designed for use with touchscreens. Openness, flexibility, best of breed package management (debian&#8217;s <a href="http://ianmurdock.com/2007/07/21/how-package-management-changed-everything/">apt</a>). Want <a href="https://garage.maemo.org/projects/maemo-mapper/">maemo mapper</a> + <a href="http://www.openstreetmap.org/">openstreetmap</a>, xterm + openssh, <a href="http://maemo.org/downloads/product/OS2008/lxdoom/">Doom</a> or other popular application? No problem &#8211; check out <a href="http://maemo.org/downloads/OS2008/">http://maemo.org/downloads/OS2008/</a>. Not strictly related but it&#8217;s <strong>browser is gecko based</strong> (that&#8217;s mozilla &amp; firefox engine) and <strong>has flash</strong> support. Some of the greatest apps for <a type="amzn">N810</a> are written by the community.</p>
<p><a type="amzn">N810</a> has <strong>built-in gps</strong> and comes with <a href="http://www.wayfinder.com/">Wayfinder</a> pre-installed. If you want turn by turn navigation you&#8217;ll have to pay a modest subscription fee to use this option. maemo mapper is a <strong>free mapping and navigation alternative</strong>. maemo mapper&#8217;s routing capabilities are not as extensive and route recalculation needs an Internet connection but it&#8217;s very good app nevertheless. Go try it. There&#8217;s also <a href="http://www.navit-project.org/">navit</a> &#8211; a very promising navigation app in the making. This gps <a href="http://blog.lifepattern.org/2008/11/18/two-months-without-blogging/">led us trough most of the southern Spain few months ago.</a></p>
<p>As expected for an Internet Tablet <a type="amzn">N810</a> has <strong>bluetooth and wifi</strong>. No device is useful without good connectivity options in this day and age. Hook it to the nearest WiFi hotspot or your 3g enabled bluetooth phone. And it&#8217;s WiFi is among the best I&#8217;ve used &#8211; very good range and compatibility with hot spots around the world.</p>
<p>One of the great surprises was the quality of the <strong>built-in qwerty keyboard</strong>. I didn&#8217;t expected nearly as comfortable typing. Sometimes I have this feeling that I didn&#8217;t hit the right key but when I look at the screen it&#8217;s all correct. Very good job, Nokia.</p>
<p>Another surprise was the <strong>amazing sound</strong> for a device this small. It actually sounds better than my ThinkPad X41. It&#8217;s <a href="http://last.fm/">last.fm</a> player, <a href="http://vagalume.igalia.com/">vagalume</a>, is killer app. Use it like a portable personalized radio.</p>
<p>There are <strong>built-in camera and mic</strong> as well. Combined with the pre-loaded software like jabber client with voice and video support (and gtalk), gizmo and skype it&#8217;s the ultimate communicator.</p>
<p>It&#8217;s <strong>light sensor</strong> is very handy. Based on the current light conditions the display brightness is adjusted to save power and make work with the tablet more comfortable.</p>
<p>And last but not least the <strong>price</strong>: it was first released at $450 and is currently (Dec 2008) being sold for about $335 in various on-line stores.</p>
</blockquote>
<p>What&#8217;s next? There are quite a lot people that prefer their internet tablet to have some built-in long range connectivity options in addition to WiFi like GPRS, 3G or WiMAX. Nokia responded to this demand with <a type="amzn">N810 WiMAX edition</a>. I personally am completely satisfied with 3G via bluetooth phone.</p>
<p>But what&#8217;s more interesting is the upcoming fourth generation internet tablet (N900?). Rumours  are that it will be OMAP3 based, will have built-in <a href="http://en.wikipedia.org/wiki/High_Speed_Packet_Access">HSPA</a> connectivity, high definition camera and hardware based graphics acceleration. Recently nokia released the <a href="http://maemo.org/news/announcements/first_maemo_5_sdk_release_targeting_platform_developers/">Maemo 5 SDK</a> which is targeted at this future device&#8217;s developers.</p>
<p>I&#8217;m glad someone (Nokia) finally has taken this technological way. I hope they continue evolving the internet tablet series in the same way and spirit. Can&#8217;t wait to see what N9xx will look like&#8230;</p>
<div style="float: left; width: 42px; padding-right: 45px; margin: 0 45px 0 0;">
		<script type="text/javascript">
		<!--
		digg_url = "http://blog.lifepattern.org/2008/12/31/the-internet-tablet-revolution/";
		digg_bgcolor = "#FFFFFF";
		digg_skin = "compact";
		digg_window = "";
		digg_title = "The+Internet+Tablet+Revolution";
		digg_bodytext = "";
		digg_media = "news";
		digg_topic = "";
		//-->
		</script>
		<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div><div style="clear:both;"></div>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.lifepattern.org/2008/12/31/the-internet-tablet-revolution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Usage Accounting</title>
		<link>http://blog.lifepattern.org/2008/09/05/mysql-usage-accounting/</link>
		<comments>http://blog.lifepattern.org/2008/09/05/mysql-usage-accounting/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 08:00:54 +0000</pubDate>
		<dc:creator>zimage</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[it]]></category>

		<guid isPermaLink="false">http://blog.lifepattern.org/?p=54</guid>
		<description><![CDATA[Those of you who use MySQL in a multi-user environment are probably disappointed by it&#8217;s lack of per user usage statistics. For example in Linux there are BSD process accounting for CPU usage and IO accounting for disk usage tracking. Most applications like apache, ftp servers and mail servers provide some sort of usage statistics [...]


Related posts:<ol><li><a href='http://blog.lifepattern.org/2009/04/11/io-performance-monitoring/' rel='bookmark' title='Permanent Link: IO performance monitoring'>IO performance monitoring</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Those of you who use MySQL in a multi-user environment are probably disappointed by it&#8217;s lack of per user usage statistics. For example in Linux there are <a href="http://savannah.gnu.org/projects/acct/">BSD process accounting</a> for CPU usage and <a href="http://kernelnewbies.org/Linux_2_6_20#head-bc56a9724daca612776dded22c281ca9ab54bb12">IO accounting</a> for disk usage tracking. Most applications like apache, ftp servers and mail servers provide some sort of usage statistics as well. But MySQL is the great anonymizer.</p>
<p>Not anymore, thanks to the people at Percona for their <a href="http://www.mysqlperformanceblog.com/2008/04/20/updated-msl-microslow-patch-installation-walk-through/">microslow</a> patch and Google for the <a href="http://code.google.com/p/google-mysql-tools/wiki/UserTableMonitoring">UserTableMonitoring</a> patch.</p>
<p>Latest version of the patches can be found <a href="http://www.mysqlperformanceblog.com/mysql/5.0/patches/">here</a> but at the time of this writing they are against MySQL 5.0.62 and the current MySQL version is 5.0.67. So I tweaked the patches to apply cleanly to MySQL 5.0.67 and placed them for download: <a href="http://blog.lifepattern.org/wp-content/uploads/2008/09/microslow_innodb-5.0.67.patch">microslow</a>, <a href="http://blog.lifepattern.org/wp-content/uploads/2008/09/userstats-5.0.67.patch">userstats</a>, <a href="http://blog.lifepattern.org/wp-content/uploads/2008/09/microslow_innodb_and_userstats-5.0.67.patch">microslow+userstats</a>.</p>
<div style="float: left; width: 42px; padding-right: 45px; margin: 0 45px 0 0;">
		<script type="text/javascript">
		<!--
		digg_url = "http://blog.lifepattern.org/2008/09/05/mysql-usage-accounting/";
		digg_bgcolor = "#FFFFFF";
		digg_skin = "compact";
		digg_window = "";
		digg_title = "MySQL+Usage+Accounting";
		digg_bodytext = "";
		digg_media = "news";
		digg_topic = "";
		//-->
		</script>
		<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div><div style="clear:both;"></div>

<p>Related posts:<ol><li><a href='http://blog.lifepattern.org/2009/04/11/io-performance-monitoring/' rel='bookmark' title='Permanent Link: IO performance monitoring'>IO performance monitoring</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.lifepattern.org/2008/09/05/mysql-usage-accounting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtual Private Servers</title>
		<link>http://blog.lifepattern.org/2008/08/23/virtual-private-servers/</link>
		<comments>http://blog.lifepattern.org/2008/08/23/virtual-private-servers/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 07:59:23 +0000</pubDate>
		<dc:creator>zimage</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.lifepattern.org/?p=28</guid>
		<description><![CDATA[A year ago I decided it&#8217;s about time to get a Virtual Private Server for my pet projects. Prior to that I had 2 sites on a shared hosting server and some other non-web network related apps spread around workstations that are always on. But at some point it all started to get messy and [...]


Related posts:<ol><li><a href='http://blog.lifepattern.org/2009/08/14/tls-sni-almost-there-or-not/' rel='bookmark' title='Permanent Link: TLS SNI &#8211; almost there&#8230; or not?'>TLS SNI &#8211; almost there&#8230; or not?</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>A year ago I decided it&#8217;s about time to get a Virtual Private Server for my pet projects. Prior to that I had 2 sites on a shared hosting server and some other non-web network related apps spread around workstations that are always on. But at some point it all started to get messy and moreover I needed to put a few more things online. So I decided to get a VPS and consolidate all of my projects in one place. Compared to shared hosting environment the VPS gives me more freedom and fine grained control over the exact versions of applications and libraries I use among other things. It requires more work on my part though.</p>
<p>The fact that I have 10 years of experience working as a (unix) systems and network administrator is very handy when it comes to installing, configuring and troubleshooting the software I use on my VPS. Unfortunately it doesn&#8217;t help that much with the selections process so I had to sit down and filter the myriad of VPS providers out there.</p>
<p>I dug through blogs &#038; forums, asked friends. <a href="http://www.webhostingtalk.com/forumdisplay.php?f=1">Web Hosting Talk forums</a> were particularly useful. Finally I have chosen Future Hosting. It turned out to be a good choice indeed. I&#8217;m with them for almost a year already and there weren&#8217;t any major issues. I asked for PTR RRs (that&#8217;s reverse resolving from IP to hostname) and their support staff quickly added these for me.</p>
<p>However good a hosting provider is you must keep a backup of your own. I was rather passively looking for second VPS provider for some time. One day I saw (can&#8217;t remember where) a Comfy Host&#8217;s ad. It looked suspiciously cheap at $10/mo to me and I haven&#8217;t heard anything about them before. But this was supposed to be a backup VPS so I decided to give it a try. I placed my order with Comfy Host using my PayPal account and started waiting for a welcome email. One day later I received an email saying that due to the surplus of orders my VPS setup will be delayed a little bit. Ok it happens. Few days later I had to submit a support ticket to ask what&#8217;s going on with my account. After some more back and forth support tickets I got my VPS up and running.</p>
<p>I used it for three months and it was pretty stable. I used it only for my automated daily backup and monitored it with <a href="http://www.nagios.org/">nagios</a>. Then one day suddenly the monitoring lost connection with the VPS. Since it is a backup server and I was busy with other things I let it stay this way for a week. Finally I logged into the control panel and guess what&#8230; I was paying on a monthly basis after receiving an invoice from Comfy Host. Last month I didn&#8217;t receive an invoice. And I couldn&#8217;t pay either because according to the control panel I didn&#8217;t owe money despite being late with the payment. Hm&#8230; I submitted a ticket to ask why is that. I had to wait several days for a reply that read:</p>
<p>&#8220;Sorry about the late reply. The ticket seems to have been overlooked without a response. We received no payment and therefore your VPS was shut off.&#8221;</p>
<p>Enough. I went looking for another backup VPS. I remembered that <a href="http://zenhabits.net/">Leo from Zen Habits</a> once said <a href="http://zenhabits.net/2008/07/experiments-in-blogging-the-open-source-model-write-to-done-and-other-tidbits/">he is satisfied with his current provider</a> &#8211; namely <a href="http://slicehost.com/">slicehost.com</a>. So I&#8217;m with <a href="http://slicehost.com/">slicehost.com</a> as my backup VPS for about a month now. So far so good.</p>
<div style="float: left; width: 42px; padding-right: 45px; margin: 0 45px 0 0;">
		<script type="text/javascript">
		<!--
		digg_url = "http://blog.lifepattern.org/2008/08/23/virtual-private-servers/";
		digg_bgcolor = "#FFFFFF";
		digg_skin = "compact";
		digg_window = "";
		digg_title = "Virtual+Private+Servers";
		digg_bodytext = "";
		digg_media = "news";
		digg_topic = "";
		//-->
		</script>
		<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div><div style="clear:both;"></div>

<p>Related posts:<ol><li><a href='http://blog.lifepattern.org/2009/08/14/tls-sni-almost-there-or-not/' rel='bookmark' title='Permanent Link: TLS SNI &#8211; almost there&#8230; or not?'>TLS SNI &#8211; almost there&#8230; or not?</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.lifepattern.org/2008/08/23/virtual-private-servers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Family&#8217;s IT Consultant: The Computer Display</title>
		<link>http://blog.lifepattern.org/2008/06/17/familys-it-consultant-the-computer-display/</link>
		<comments>http://blog.lifepattern.org/2008/06/17/familys-it-consultant-the-computer-display/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 10:08:44 +0000</pubDate>
		<dc:creator>zimage</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.lifepattern.org/2008/06/17/familys-it-consultant-the-computer-display/</guid>
		<description><![CDATA[In today&#8217;s world of technological wonders few of us wouldn&#8217;t welcome some guidance. And since my friends and relatives know I work with computers they often ask me to help solve various issues and help them choose their new electronic devices. Actually it might have been worse&#8230; not that I&#8217;m not helpful guy (I am [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>In today&#8217;s world of technological wonders few of us wouldn&#8217;t welcome some guidance. And since my friends and relatives know I work with computers they often ask me to help solve various issues and help them choose their new electronic devices. Actually it might have been worse&#8230; not that I&#8217;m not helpful guy (I <strong>am</strong> friendly) but I&#8217;m not the most communicative person out there so they don&#8217;t bother me as much as they might probably wanted to. On the other hand quite a lot of my friends are IT experts <img src='http://blog.lifepattern.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Anyway, my little niece Teda will be starting school this fall. She already has a room of her own, her parents are buying her textbooks and other school aids and finally a computer. We decided to use an older computer to keep the cost down and invest instead in a good display.</p>
<p>The computers I work with are quite specific and I had to brush up a little bit my knowledge of general purpose desktop systems. For example my personal computer is a 3 years old IBM ThinkPad X41 (12&#8243; screen) and I&#8217;m totally satisfied with it&#8217;s performance and features. The rest are servers with 8 or more hard drives and 8 CPU cores each.</p>
<p>We decided to go for a 19&#8243; or 20&#8243; wide screen TFT LCD display but also weren&#8217;t willing to pay more than 450 leva (~$350). First things first and I went for learning more about various types of current TFT technologies on the market. I almost instantly ruled out TN displays and focused on MVA panels since IPS wouldn&#8217;t fit in our price range. Most of the MVA panels are more pricey than we liked but finally I spotted an Asus PW201 that according to the manufacturer&#8217;s specifications was built with a P-MVA panel and also its price has recently dropped from about 700 leva to 449 leva.</p>
<p>This price drop seemed suspicious to me so I called the shop to make sure that this particular model and batch is P-MVA and not TN. After they assured me several times that this is a P-MVA panel (they called their warehouse) I proceeded to order but still suspicious I wrote in the order&#8217;s comment field: &#8220;If you are not sure whether this monitor is of P-MVA type please cancel the order&#8221;.</p>
<p>Finally the display arrived. I paid to the delivery guy and opened the box. Oh boy, this thing looks splendid. Very stylish. It has integrated stereo speakers although expectedly the sound quality is mediocre. The integrated USB hub is very convenient because you don&#8217;t need to crawl under the desk in order to plug USB devices. Audio, USB and VGA cables run together so despite using DVI for video you&#8217;ll have to use the VGA cable as well. The buttons on the front are actually small touch sensitive areas and react somewhat erratically. My overall impressions about PW201 are very good. It is definitely worth its price.</p>
<p>I intended to install Kubuntu 8.04 (Hardy Heron) so I hooked up monitor&#8217;s DVI port to the PC, attached the keyboard and&#8230; suddenly realised I don&#8217;t have an optical drive on this PC. Okay let&#8217;s try network install <img src='http://blog.lifepattern.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  I followed the instructions listed at <a href="http://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install">http://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install</a> but since I wanted to install Kubuntu I opted for &#8220;console only&#8221; installation in the Ubuntu installer. After the installation had finished I installed the rest of the Kubuntu with:</p>
<blockquote><p>sudo apt-get install kubuntu-desktop</p></blockquote>
<p>So far so good. The X server detected the Nvidia GeForce4 MX 440 graphics adapter and used <a href="http://xorg.freedesktop.org/wiki/nv">nv</a> to drive it. It properly detected the monitor&#8217;s properties and started in the panel&#8217;s native resolution of 1680&#215;1050. Unfortunately the nv opnesource driver lacks 3D acceleration (because Nvidia refuses to provide the hardware specifications needed to add 3D support) and this is where I spent 3 hours trying to get the proprietary <a href="http://www.nvidia.com/object/unix.html">nvidia</a> driver to work properly with my setup. Most of the time was spent trying to set it up to use 1680&#215;1050 but nvidia driver kept thinking that PW201 has maximum pixel clock of 135 MHz when it&#8217;s actually 146 MHz. Finally I found this set of options working for me:</p>
<blockquote><p>
Section &#8220;Device&#8221;<br />
        Identifier &#8220;GeForce4 MX 440 with AGP8X&#8221;<br />
        Driver &#8220;nvidia&#8221;<br />
        <strong>Option &#8220;ExactModeTimingsDVI&#8221; &#8220;true&#8221;</strong><br />
        <strong>Option &#8220;NoBandWidthTest&#8221; &#8220;true&#8221;</strong><br />
        <strong>Option &#8220;ModeValidation&#8221; &#8220;NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck&#8221;</strong><br />
EndSection
</p></blockquote>
<p>This did the trick but after only few minutes of playing video with <a href="http://www.mplayerhq.hu/">mplayer</a> and Xv (Xvideo) output driver the video window started to show only colorful noise. Tried OpenGL output driver and worked better but used 95% of the CPU vs. 55% for Xv (that&#8217;s AMD Athlon XP 1800+). Moreover after half an hour video artefacts started to appear all over the screen and I reverted to the &#8220;nv&#8221; driver.</p>
<p>I don&#8217;t know whether this is a software/driver problem or maybe the graphics adapter is having some issues but since it works with the nv driver (and my niece doesn&#8217;t need 3D acceleration) I&#8217;ll stick with it for now.</p>
<div style="float: left; width: 42px; padding-right: 45px; margin: 0 45px 0 0;">
		<script type="text/javascript">
		<!--
		digg_url = "http://blog.lifepattern.org/2008/06/17/familys-it-consultant-the-computer-display/";
		digg_bgcolor = "#FFFFFF";
		digg_skin = "compact";
		digg_window = "";
		digg_title = "Family%26%238217%3Bs+IT+Consultant%3A+The+Computer+Display";
		digg_bodytext = "";
		digg_media = "news";
		digg_topic = "";
		//-->
		</script>
		<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div><div style="clear:both;"></div>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.lifepattern.org/2008/06/17/familys-it-consultant-the-computer-display/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
