<?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>HostingFu &#187; vps</title>
	<atom:link href="http://hostingfu.com/tag/vps/feed" rel="self" type="application/rss+xml" />
	<link>http://hostingfu.com</link>
	<description>Web Hosting Blog by a Software Developer</description>
	<lastBuildDate>Mon, 19 Jul 2010 09:27:08 +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>32 or 64 Bit for Your VPS?</title>
		<link>http://hostingfu.com/article/32-or-64-bit-your-vps</link>
		<comments>http://hostingfu.com/article/32-or-64-bit-your-vps#comments</comments>
		<pubDate>Mon, 16 Mar 2009 07:20:38 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://hostingfu.com/?p=182</guid>
		<description><![CDATA[There&#8217;s an interesting discussion on SliceHost forum that I spotted a while ago &#8212; &#8220;Might I have to say goodbye to Slicehost? (64-bit vs. 32-bit)&#8221;. Someone is thinking of leaving SliceHost because all its OS templates are running 64 bit Linux. That means your sizeof(long) and sizeof(void*) are now 8 bytes instead of 4, which [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://hostingfu.com/files/images/64bit.png" width="100" height="107" alt="64 bit" style="float:right;margin:0 0 1ex 1ex"/> There&#8217;s an interesting discussion on SliceHost forum that I spotted a while ago &#8212; <a href="http://forum.slicehost.com/comments.php?DiscussionID=2875">&#8220;Might I have to say goodbye to Slicehost? (64-bit vs. 32-bit)&#8221;</a>. Someone is thinking of leaving <a href="http://hostingfu.com/tag/slicehost">SliceHost</a> because all its OS templates are running 64 bit Linux. That means your <code>sizeof(long)</code> and <code>sizeof(void*)</code> are now 8 bytes instead of 4, which actually can <em>significantly increase the memory usage</em> depending on the applications you run.</p>
<p><span id="more-182"></span></p>
<p>The same has also been said in this <a href="http://journal.dedasys.com/2008/11/24/slicehost-vs-linode">SliceHost vs. Linode comparison</a> &#8212; x86_64 simply uses more memory than the plain old x86. So now you not only paying the same for less memory ($20/month gets you 256MB on SliceHost vs. 384MB on Linode), your applications are also using more memory due to its 64 bit architecture &#8212; enough to force you to step up the plan. One of my friends has <a href="http://pyrmontvillage.com.au/">his WordPress website</a> running at SliceHost. It&#8217;s a typical LAMB setup with no control panel, but originally I thought a 256MB Slice would suffice. Apparently not, and the amount of swapping due to possibly bad-optimisation and fat 30+MB Apache processes force him to upgrade to a 512MB slice. But 512MB just to run a low-medium WordPress site? That&#8217;s pathetic.</p>
<p>I too have similar experience. Two Ubuntu boxes. One 32 bit at <a href="http://hostingfu.com/tag/vpslink">VPSLink</a> and one 64 bit at SliceHost. Both running pretty much my standard LAMP stack serving WordPress and Drupal sites (except Nginx instead of Apache). No opcode cache loaded. Minimum number of extensions. A <code>php-cgi</code> process is around 35MB VSZ and 14MB RSS on 32 bit, but 120MB VSZ and 25MB RSS on 64 bit. That means I can run almost twice the number of FastCGI processes, which can be beneficial on a busy site.</p>
<p>I guess for a standard web app stack, unless I <em>really</em> have a specific need for 64 bit, I&#8217;ll probably stick to that plain old 32 bit.</p>
]]></content:encoded>
			<wfw:commentRss>http://hostingfu.com/article/32-or-64-bit-your-vps/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>NCL Hosting Sydney VMWare VPS Review</title>
		<link>http://hostingfu.com/article/ncl-hosting-sydney-vmware-vps-review</link>
		<comments>http://hostingfu.com/article/ncl-hosting-sydney-vmware-vps-review#comments</comments>
		<pubDate>Tue, 19 Aug 2008 01:32:52 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[nclhosting]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://hostingfu.com/?p=169</guid>
		<description><![CDATA[When I first saw NCL Hosting&#8217;s end of financial year sale back in June (Australia&#8217;s financial year starts from July), I just could not resist it. From their VPS hosting plan page, they are offering 100GB of data transfer for $36.75 (ex GST) per month, and 500GB of data transfer for only $66.75 (ex GST) [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://hostingfu.com/files/nclhosting/ncl-logo.png" width="206" height="105" alt="NCL Hosting" style="float:right;margin:0 0 1ex 1ex"/> When I first saw <a href="http://www.webhostingtalk.com.au/f18/end-of-financial-year-sale-50-off-vps-7384/">NCL Hosting&#8217;s end of financial year sale</a> back in June (Australia&#8217;s financial year starts from July), I just could not resist it. From their <a href="http://www.ncl.com.au/vps-hosting.php">VPS hosting plan page</a>, they are offering 100GB of data transfer for $36.75 (ex GST) per month, and <b>500GB</b> of data transfer for only <b>$66.75</b> (ex GST) per month! Bandwidth at this price level might be common place with servers in US, but for <a href="http://www.ncl.com.au/">NCL Hosting</a>, a Sydney based private company having their servers in Equinix DC (Mascot, Sydney), providing this much Australian bandwidth would be <b>insane</b>!</p>
<p>So basically I asked a few questions in the forums (I am &#8220;scotty&#8221; on WHT.au) &#8211;</p>
<ul>
<li>Q: Virtualisation? <b>A: Combination of MSFT and Xen</b></li>
<li>Q: Debian or Ubuntu? <b>A: Yes</b></li>
<li>Q: Data Centre? <b>A: Sydney</b> (later I found out it&#8217;s Equinix)</li>
<li>Q: You insane? <b>A: (1) Limited offer (2) Bandwidth is subsidised</b> (I guess subsidised == oversold)</li>
</ul>
<p>Well. It&#8217;s only around 40 bucks so a few days later I signed up to give it a test. Almost 2 months later I am now writing this review.</p>
<p><span id="more-169"></span></p>
<h3 id="toc-vps-plans-cheap-australian-bandwidth">VPS Plans &#8212; Cheap Australian Bandwidth</h3>
<p>Rule of thumb #1 &#8212; when someone said it&#8217;s &#8220;limited offer&#8221;, never believe in it! At least I don&#8217;t mind in this case, as their &#8220;special price&#8221; is still available today, 2<sup>nd</sup> month into our new financial year. Here&#8217;s their pricing table (taken from their website):</p>
<p><a href="http://hostingfu.com/files/nclhosting/ncl-pricing.png"><img src="http://hostingfu.com/files/nclhosting/ncl-pricing.jpg" width="497" height="560" alt="NCL Hosting - VPS Pricing" style="padding:3px; border:#ccc solid 1px"/></a></p>
<p>$40/month for 100GB is hard to beat, and $70/month for 500GB (AUD$0.14/GB) is way below cost. Storage is on RAID, and the amount of memory is more than enough for what I intended to use this VPS for &#8212; serving static data to Australian visitors (as an alternative to <a href="http://hostingfu.com/article/checking-out-cachefly">using a CDN like CacheFly</a>). I planned to just install Nginx and let it serve Javascript, CSS and small images.</p>
<h3 id="toc-signing-up">Signing Up</h3>
<p>Signing up was straight forward although a bit of manual process is involved. Within 10 minutes of paying by credit card, Nathan from NCL emailed me asking which OS I would like to install. &#8220;Ubuntu 8.10&#8243; I replied, and then got the welcome email with IP address and &#8220;admin&#8221; password within two hours &#8212; on a Sunday evening at 10pm!</p>
<p>Although the account activation is not instant, NCL and Nathan still got my thumb up for the fast process.</p>
<h3 id="toc-initial-impression">Initial Impression</h3>
<p><img src="http://hostingfu.com/files/nclhosting/ncl-revolution.png" width="276" height="132" alt="NCL Hosting Revolution" style="float:left;margin:0 1ex 1ex 0"/> So I have now received my IP address and the password, what am I waiting for?!</p>
<p><b>There is no SSH access</b>!</p>
<p>There is <b>nothing</b> listening on port 22. Having used several unmanaged Linux VPS for the last two and half years and it&#8217;s the first time that I was given a freshly-installed Linux VPS <b>without</b> SSH access. It turns out that instead of installing the minimum Ubuntu Server, the standard Ubuntu was installed. On top of that they have also installed Webmin + other packages that I don&#8217;t intend to use (Apache, mod_php, etc). The password in the welcome email was actually the Webmin password.</p>
<p>So for the next hour I was trying to figure out how to log into Webmin and then install the OpenSSH server. A bit of fiddling around I have finally got the Bash prompt as root, and the first thing I did was <code>apt-get remove</code> all the extra packages to strip the VPS back to bare minimum.</p>
<p>Then I tried to check out what kind of hardware I got.</p>
<pre class="code">
<b>$ uname -a</b>
Linux localhost 2.6.24-16-server #1 SMP Thu Apr 10 13:58:00 UTC 2008 i686 GNU/Linux
<b>$ cat /proc/cpuinfo</b>
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Xeon(TM) CPU 3.40GHz
stepping        : 8
cpu MHz         : 3400.777
cache size      : 1024 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss constant_tsc up pebs bts sync_rdtsc pni
bogomips        : 6857.87
clflush size    : 64
</pre>
<p>Well. Looks like the previous era of Xeon processor, and I only have access to one of the cores. It is running 32bit Linux with kernel 2.6.24. Here is the result of disk performance test:</p>
<pre class="code">
<b># hdparm -tT /dev/sda1</b>

/dev/sda1:
 Timing cached reads:   782 MB in  2.00 seconds = 391.53 MB/sec
 Timing buffered disk reads:   70 MB in  3.07 seconds =  22.81 MB/seca

<b># ./seeker /dev/sda1</b>
Seeker v2.0, 2007-01-15, http://www.linuxinsight.com/how_fast_is_your_disk.html
Benchmarking /dev/sda1 [19751MB], wait 30 seconds..............................
Results: 501 seeks/second, 1.99 ms random access time
</pre>
<p>Interesting result! The throughput is a little bit disappointing for a RAID storage but 2ms seek time on a VPS?! You have to do a RAID10 on 15k RPM drives or SSD to get that! Or maybe the virtualisation layer is doing some tricks on me?!</p>
<h3 id="toc-not-xen-not-msft-its-a-vmware">Not Xen, Not MSFT &#8212; It&#8217;s a VMWare</h3>
<p>It turns out, that my VPS is not on a Xen node. Nor on a MS Virtual Server/Hyper-V node. In fact it is running <b>VMWare</b>.</p>
<pre class="code">
<b># lspci</b>
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:0f.0 VGA compatible controller: <span style="background-color:#f0f0ff">VMware Inc</span> Abstract SVGA II Adapter
00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)
00:11.0 PCI bridge: <span style="background-color:#f0f0ff">VMware Inc</span> Unknown device 0790 (rev 02)
02:00.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10)
</pre>
<p>When you list out all the processes, you can also see <code>vmware-guestd</code> running. Is NCL Hosting running ESXi? Infrastructure? I have no idea but at least the VPS performs alright over the last 2 months.</p>
<p>I think the main issue I have with VMWare is the leaky <code>vmware-guestd</code>. It uses quite a bit of CPU, and the memory usage grows from 1.2MB to 20MB within a month. I have to run <code>/etc/init.d/vmware-tools restart</code> to claim the memory back every now and then although I have no idea whether it will introduce any ill effect on a VMWare-based VPS.</p>
<h3 id="toc-2-months-later">2 Months Later&#8230;</h3>
<p>So how is it after 2 months? I installed Nginx to serve up static data so I am not running anything CPU intensive. The load pretty much stays at 0 most of the time. The VPS itself is rock stable &#8212; no reboots, no downtime, the network is always up. Basically I got nothing to complain about.</p>
<p>As I am only serving the Javascript, CSS and small images, I used around 30GB last month so I have not yet had a chance to test the limit. Bandwidth wise it seems to be buying from the <a href="http://wcg.net.au/">Wholesale Communication Group</a>, and I am getting Teleglobe.net for international traffic and Optus for Australia-wide traffic. Bandwidth also seems to be capped at 10Mbps which is fine for me. From a work server I had at Optus DC at Ultimo, I can fully saturated the 10Mbps link. However from both my home and work ADSL2+ link I can&#8217;t even sustain 1Mbps, for some reason that I have not yet investigated.</p>
<p>Overall it is pretty much &#8220;set and forget&#8221; and the server has no problem handling the traffic. However I am still hesitated to bring my site back to Australia (after <a href="http://hostingfu.com/article/moved-web24-linode">moving it to US earlier this year</a>), as I think I still trust Linode more if a disaster strikes.</p>
<p>However if you have high bandwidth requirement in Australia, I doubt you can find anyone cheaper.</p>
]]></content:encoded>
			<wfw:commentRss>http://hostingfu.com/article/ncl-hosting-sydney-vmware-vps-review/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>VPSLink Xen VPS 2 Weeks Review</title>
		<link>http://hostingfu.com/article/vpslink-xen-vps-2-weeks-review</link>
		<comments>http://hostingfu.com/article/vpslink-xen-vps-2-weeks-review#comments</comments>
		<pubDate>Tue, 06 Nov 2007 07:23:24 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[vpslink]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://hostingfu.com/?p=136</guid>
		<description><![CDATA[This review is a follow up from my previous blog entry. Long story short &#8212; I have been a customer of VPSLink for 17 months and have been using their OpenVZ VPS to host various projects. Recently they launched their Xen VPS hosting product, and Cameron from VPSLink has provided me a Xen Link-3 account [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://hostingfu.com/files/images/vpslink-logo.png" width="142" height="60" alt="VPSLink Logo" class="floaty" style="border:#aaa solid 1px;padding:3px;"/> This review is a follow up from my <a href="http://hostingfu.com/article/xen-or-openvz">previous blog entry</a>. Long story short &#8212; I have been a customer of <a href="http://www.vpslink.com/">VPSLink</a> for 17 months and have been using their OpenVZ VPS to host various projects. Recently they launched their <a href="http://www.vpslink.com/xen-vps/">Xen VPS hosting</a> product, and Cameron from VPSLink has provided me a Xen Link-3 account to play around.</p>
<p>Before I go on, I feel that I might need to make some disclaimer. VPSLink has also been a regular sponsor of this blog since June this year (in case you have not spotted their skyscraper ads on the right), but I will try to keep my review unbiased :) I was going to give their <a href="http://forums.vpslink.com/showthread.php?t=1974">Xen beta program</a> a try any way when it was announced 2 months ago, but was too busy to do so.</p>
<p><span id="more-136"></span></p>
<div style="border:#117 1px solid;background-color:#ddf;padding:10px 20px;margin-bottom:2ex;">
<h3 id="toc-update-september-2008">Update September 2008</h3>
<p>If you find this review helpful and wish to sign up with VPSLink, feel free to use my referral code (if there&#8217;s no better discount currently available). Here&#8217;s my referral link:</p>
<p><a href="http://vpslink.com/?ref=NF34R3"><b>vpslink.com/?ref=NF34R3</b></a></p>
<p>Or quote the code <b>NF34R3</b> during sign up. You will receive a <b>10% off life time discount</b>, and I will get a one-time service credit from VPSLink, if your account is in good standing for 30 days. Don&#8217;t feel obligated to use my code if there&#8217;s special discount going on :)</p>
</div>
<h3 id="toc-the-product">The Product</h3>
<p><img src="http://hostingfu.com/files/images/xen-logo.png" width="200" height="97" alt="Xen" class="floaty"/> VPSLink <a href="http://blog.spry.com/2007/10/03/vpslink-launches-xen-vps/">launched their Xen VPS hosting</a> product a month ago after one month of public beta testing. You can read about their Xen Virtual Private Server <a href="http://www.vpslink.com/xen-vps/">here</a>:</p>
<blockquote>
<p>New Features available in XEN:</p>
<ul>
<li>Swap space</li>
<li>Full control of all iptables modules</li>
<li>Loadable kernel modules (please note you can not run a fully custom kernel)</li>
<li>Access to remote console for troubleshooting</li>
</ul>
<p>XEN differs greatly than OpenVZ and there are several factors to keep in mind when selecting a XEN based VPS account.</p>
</blockquote>
<p>Then it listed out a few things to consider to choose between Xen and OpenVZ. None of those matters to me anyway, and it failed to explain how Xen and OpenVZ are in fact <em>intrinsically</em> different, especially how memory model differences will turn a perfectly fine application on Xen to instability on OpenVZ, which I sort-of explained <a href="http://hostingfu.com/article/xen-or-openvz">here</a>.</p>
<p>The plan price is nowhere near low-end, however they are <em>very cheap</em> consider VPSLink/Spry&#8217;s reputation. My test VPS is a &#8220;Link-3&#8243;, which comes with:</p>
<ul>
<li>10GB disk space</li>
<li>300GB bandwidth</li>
<li>1 dedicated IP</li>
<li>256MB dedicated RAM</li>
</ul>
<p>It costs between $20.79 &#8211; $24.95, depending on the length of your billing cycle.</p>
<h3 id="toc-signing-up-and-setting-up">Signing Up and Setting Up</h3>
<p>Signing up is the easy bit &#8212; it has all been done for me when I asked Cameron for a test VPS! However from my previous sign up experience (over 17 months ago), the provisioning is instantaneous (if you pass through their automated fraud check). You should be receiving instructions within minutes of payment.</p>
<p>VPSLink uses its internally developed control panel for both OpenVZ and Xen VPS. It is easy to navigate and the layout is pretty much task-driven. The first things I do were logging into control panel, select my new VPS, click on &#8220;Manage OS&#8221; and then &#8220;Install OS&#8221;. Ubuntu 7.10 came out <a href="http://www.ubuntu.com/news/ubuntu710">around 2 weeks ago</a>, and it was already available on the list of OS images to install. &#8220;Why not give the latest Ubuntu a try as well?&#8221; so I clicked on Submit and waited.</p>
<p style="text-align:center"><img src="http://hostingfu.com/files/images/vpslink-install-xen.jpg" width="640" height="321" alt="Installing Ubuntu 7.10 on VPSLink Xen VPS" style="border:#aaa solid 1px;padding:3px;"/></p>
<p>It took only a few minutes for VPSLink to rebuild the server with a base Ubuntu installation (which is one thing I really like about VPS). An email is sent out containing the root password, and I am <b>in</b> with a root shell in minutes!</p>
<h3 id="toc-software-and-hardware">Software and Hardware</h3>
<p>As it is paravirtualisation and you cannot run your own kernel, VPSLink dictates the kernel version on all the Xen VPS. Here is the <code>uname -a</code> output.</p>
<pre class="code">
# uname -a
Linux vpslink 2.6.18-8.1.15.el5xen #1 SMP Mon Oct 22 09:33:52 EDT 2007 i686 GNU/Linux
</pre>
<p>Looks like it is running the kernel from CentOS 5 (or RHEL 5). You can build your own kernel modules but if you are not running CentOS 5, you&#8217;ll need to grab the Linux 2.6.18 kernel source and compile your kernel module against that.</p>
<p>Hardware wise it is not that fancy. Basically VPSLink has two classes of servers &#8212; dual core single proc for Link-1 to Link-3 customers, and dual core dual proc Xen for Link-4 to Link-6 customers. So what do I get with my Link-3 account?</p>
<pre class="code">
# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU          4400  @ 2.00GHz
stepping        : 2
cpu MHz         : 1994.998
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc up pni monitor ds_cpl est tm2 cx16 xtpr lahf_lm
bogomips        : 4989.56
</pre>
<p>Basically an Intel Core 2 Duo E4400 CPU with 2MB L2 cache running at 2.0Ghz, i.e. &#8220;low-end&#8221;. Moreover, my VPS has only been assigned to one of the two CPU cores so it is impossible to burst my CPU usage to the full potential of the CPU. A single E4400 core is still plenty of power for a 256MB VPS and my neighbours will be happy to know that my &#8220;make -j4&#8243; will not affect the whole node.</p>
<p>Still, while a single E4400 core packs enough power for a low-end VPS (and VPSLink probably keeps the number of domU low), it is nothing to be boasted about. I have no CPU performance problem though over these two weeks, as web-serving VPS usually have their bottleneck in disk IO.</p>
<p>There are plenty of disk IO bench mark programs, but I just use something that is readily available &#8212; <code>hdparm</code>.</p>
<pre class="code">
<b># hdparm --direct -t /dev/sda1</b>

/dev/sda1:
Timing O_DIRECT disk reads:  486 MB in  3.00 seconds = 161.88 MB/sec

<b># hdparm -T /dev/sda1</b>

/dev/sda1:
Timing cached reads:   2330 MB in  2.00 seconds = 1165.09 MB/sec
</pre>
<p>Direct disk read at 161 MB/sec &#8212; that&#8217;s pretty impressive! Reading from disk cache at 1.1GB/sec &#8212; Jeez! It probably has the best disk read speed comparing with my other VPS.</p>
<h3 id="toc-network">Network</h3>
<p>VPSLink is in Seattle, inside Spry&#8217;s own data centre. Network performance has been great around the clock, and there has not been any downtime that has been detected (polling at 5 minutes interval).</p>
<p>But you know what is good about hosting in Seattle? Three words &#8212; <a href="http://aws.amazon.com/">Amazon Web Services</a>. Amazon is also in Seattle, and if you are a heavy user of services like Amazon S3, or want a static IP front-end for your fleet of Amazon EC2 slaves, the latency and bandwidth between your servers and Amazon can make a <b>huge</b> difference.</p>
<p>Check out these benchmarks.</p>
<pre class="code">
<b># tcptraceroute s3.amazonaws.com</b>
Selected device eth0, address 209.40.199.168, port 39897 for outgoing packets
Tracing the path to s3.amazonaws.com (207.171.181.225) on TCP port 80 (www), 30 hops max
 1  64.79.219.1  0.671 ms  0.370 ms  0.433 ms
 2  64.79.223.1  0.429 ms  0.458 ms  0.470 ms
 3  ge1-4.cr01.sea02.mzima.net (72.37.232.33)  9.481 ms  0.933 ms  0.466 ms
 4  xe0-1.cr01.sea01.mzima.net (216.193.255.193)  1.470 ms  10.979 ms  0.912 ms
 5  ge-6-2.car3.Seattle1.Level3.net (4.71.152.1)  0.931 ms  0.943 ms  0.996 ms
 6  ae-12-55.car2.Seattle1.Level3.net (4.68.105.131)  0.951 ms  0.965 ms  0.976 ms
 7  * * *
 8  185-33.amazon.com (207.171.185.33)  1.459 ms  0.953 ms  0.973 ms
 9  177-159.amazon.com (207.171.177.159)  0.976 ms  1.449 ms  0.968 ms
10  207-171-181-225.amazon.com (207.171.181.225) [open]  0.982 ms  0.946 ms  0.960 ms

<b># wget http://s3.amazonaws.com/ec2/assets/aws_console_screencast_1.mov</b>
--06:45:35--  http://s3.amazonaws.com/ec2/assets/aws_console_screencast_1.mov
           =&gt; `aws_console_screencast_1.mov'
Resolving s3.amazonaws.com... 207.171.183.113
Connecting to s3.amazonaws.com|207.171.183.113|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11,004,220 (10M) [video/quicktime]

100%[==========================================================================&gt;] 11,004,220    11.36M/s

06:45:36 (11.34 MB/s) - `aws_console_screencast_1.mov' saved [11004220/11004220]
</pre>
<p>Yes, read that! Less than 1ms latency to <a href="http://aws.amazon.com/s3">Amazon S3</a>, and pulls a 10MB movie file down at <b>11.36MB/sec</b>! Awesome.</p>
<h3 id="toc-still-with-bugs">Still with Bugs</h3>
<p>Great performance aside, somehow I feel that VPSLink&#8217;s Xen VPS is still not 100% ready. There has been a few issues with their console panel and OS images.</p>
<ul>
<li>Somehow <code>/etc/fstab</code> wasn&#8217;t set up properly on the Ubuntu 7.10 image. It is emptied out, so commands like <code>df</code> and <code>mount</code> do not show the root directory is mounted, thus you can&#8217;t find out how much space has been used. It wasn&#8217;t an issue with Debian 4 OS image that I&#8217;ve tried.</p>
<li>Getty wasn&#8217;t initialised on console for my Ubuntu 7.10 image either, but then console access from control panel does not work for me either (always got connection timeout). The <a href="http://youtube.com/watch?v=aeSmolFIr7o">screen cast</a> with CentOS shows it&#8217;s working fine so it might just be Ubuntu OS image again.</li>
<li>Other glitches like <a href="http://forums.vpslink.com/showthread.php?t=2149">hostname is not persistent</a>.</li>
</ul>
<p>None of that are show stoppers, and VPSLink is actively working on resolving these issues. Hopefully they will be resolved soon.</p>
<h3 id="toc-conclusion">Conclusion</h3>
<p>Xen VPS at VPSLink provides solid performance and great network connectivity especially to Amazon Web Services. The low-end VPS might not get state of the art hardware, but disk IO is certainly not the issue in my own experiment.</p>
<p>Moreover, it has a <a href="http://forums.vpslink.com/">great community</a> and good support. Recommended if you are looking for a West coast VPS.</p>
]]></content:encoded>
			<wfw:commentRss>http://hostingfu.com/article/vpslink-xen-vps-2-weeks-review/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Xen or OpenVZ VPS?</title>
		<link>http://hostingfu.com/article/xen-or-openvz</link>
		<comments>http://hostingfu.com/article/xen-or-openvz#comments</comments>
		<pubDate>Tue, 06 Nov 2007 05:07:29 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[openvz]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[vpslink]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://hostingfu.com/?p=135</guid>
		<description><![CDATA[I have been a VPSLink customer for about as long as they have been offering the service &#8212; since June 2006 I think &#8212; although I rarely blogged about them here. Recently I had an opportunity to test out their recently launched Xen VPS hosting. VPSLink now offers both OpenVZ and Xen based VPS hosting [...]]]></description>
			<content:encoded><![CDATA[<p>I have been a <a href="http://www.vpslink.com/">VPSLink</a> customer for about as long as they have been offering the service &#8212; since June 2006 I think &#8212; although I rarely blogged about them here. Recently I had an opportunity to test out their <a href="http://blog.spry.com/2007/10/03/vpslink-launches-xen-vps/">recently launched Xen VPS hosting</a>. VPSLink now offers both OpenVZ and Xen based VPS hosting at the same price point, and I will be reviewing their Xen offering here shortly. However I would like to look into an obvious question &#8212; Xen or OpenVZ VPS &#8212; which one is suitable for me? I will be looking at the differences between Xen and OpenVZ especially in memory model, and how it is affecting us the VPS customers.</p>
<p><span id="more-135"></span></p>
<h3 id="toc-xen-and-openvz-whats-the-difference">Xen and OpenVZ &#8212; What&#8217;s The Difference?</h3>
<p>While both <a href="http://xen.xensource.com/">Xen</a> and <a href="http://openvz.org/">OpenVZ</a> are open source server virtualisation technology, there exists some big differences between the two. I think potential VPS customers might need to check the applications that need to be hosted to determine which one is the preferable virtualisation technology.</p>
<p style="text-align:center"><img src="http://hostingfu.com/files/images/xen-vs-openvz.png" width="415" height="59" alt="Xen vs. OpenVZ"/></p>
<p>On one hand you have Xen, a <a href="http://en.wikipedia.org/wiki/Paravirtualization">para-virtualisation</a> platform that gives you much of the dedicated server behaviour. You run your own instance of Linux kernel, you can load your own kernel modules, you have properly virtualised memory, IO and scheduler, and it&#8217;s stable and <em>predictable</em>. On the other hand you have OpenVZ, an <a href="http://en.wikipedia.org/wiki/Operating_system-level_virtualization">operating-system level virtualisation system</a> that is just a thin layer on top of the underlying OS. It is simple to understand, has lower overhead, which usually translates to better performance.</p>
<p>VPSLink is offering both <a href="http://www.vpslink.com/openvz-vps/">OpenVZ</a> and <a href="http://www.vpslink.com/xen-vps/">Xen</a> VPS of similar specs <b>at the same price</b>. For example, I have a Link-3 OpenVZ VPS running CentOS 4.5, and it has 256MB memory, 10GB storage space and 300GB data transfer per month. VPSLink has also provided me a Link-3 Xen VPS for my review running the latest Ubuntu 7.10 ,and it too has 256MB memory, 10GB storage and 300GB data transfer per month. Same price for both &#8212; <b>$24.95/month</b> if you pay monthly. Now, which one should I buy?</p>
<h3 id="toc-openvz-memory-model">OpenVZ Memory Model</h3>
<p>First of all, when VPSLink&#8217;s <a href="http://wiki.vpslink.com/index.php?title=Vpslink3">OpenVZ Link-3</a> says &#8220;256MB guaranteed&#8221;, it actually means around 232MB of &#8220;privvmpages&#8221;, 14MB of &#8220;kmemsize&#8221; and other miscellaneous resources. When an application calls <a href="http://en.wikipedia.org/wiki/Malloc">malloc()</a>, the allocated amount will be added to &#8220;privvmpages&#8221;. However when &#8220;privvmpages&#8221; hits the limit, malloc() will fail with a NULL. When the host server ran out of memory, then processes in VE (virtual environment, OpenVZ&#8217;s term for a VPS) that exceeded &#8220;oomguarpages&#8221; will be terminated, although I do not think it will ever apply to VPSLink.</p>
<p>There are a few problems and a few advantages with OpenVZ&#8217;s approach to memory management. One of the biggest problem is the amount of memory an application <b>uses</b> and the amount of memory an application <b>allocates</b> is actually different, and the difference can vary a lot depending on the application. Take Java for example, it usually allocates a huge chunk of memory &#8212; usually everything it can see the host node has &#8212; but it might only use/commit a small fraction of allocated memory. It can usually render a Java program unusable as you will pretty much hit the privvmpages limit straight away. A bit of tweaking on bootstrapping parameters might fix it, but it is definitely not as clean as Xen or a dedicated server. In fact, almost all applications that use internal memory allocator suffer from this issue under OpenVZ.</p>
<p>Then there are issues associated with <code>/proc/meminfo</code> itself. While OpenVZ has already provided a way to virtualise it, &#8220;free&#8221; command on my OpenVZ VPS at VPSLink still shows the memory size of the host node. It makes some tasks, like running Java or <a href="http://hostingfu.com/article/compiling-with-gcc-on-low-memory-vps">heavy compilation with gcc</a> almost impossible on a small VPS.</p>
<p>The advantage of OpenVZ&#8217;s memory model is that it is simple to understand &#8212; you are pretty much limited by only privvmpages on a VPSLink OpenVZ VPS. Unlike a dedicated server or Xen, your disk cache and your buffered pages are <b>not</b> counted against your overall memory usage. Therefore on an under-sold OpenVZ system with lots of cache and buffer memory on the host server, it might actually perform better than a similar spec&#8217;ed Xen VPS.</p>
<h3 id="toc-xen-memory-model">Xen Memory Model</h3>
<p>Memory model for Xen VPS is much easier to explain. A 256MB Xen VPS is just like a 256MB dedicated server &#8212; that segment of memory is reserved for this VPS only, and no other VPS nodes can touch it. Like a real dedicated server, it counts only resident pages, i.e. only the memory blocks are allocated <b>and</b> used.</p>
<p>Moreover, what happens when you run out of memory? You VPS starts to <b>swap</b>. Each VPSLink Xen VPS comes with a swap partition that is twice the size of memory. When your application requires more memory, least-often used pages will be swapped out to make more rooms. Therefore a 256MB Xen VPS actually has 768MB of total memory (256MB RAM + 512MB swap), and believe me, swap space is <em>very useful</em> to handle that sudden spike of demand.</p>
<p>So Xen is always much better than OpenVZ? Not quite. While your 256MB VPS can theoretical use up to 768MB of memory, in reality</p>
<ol>
<li>Kernel, cache, buffer &#8212; they all take up memory.</li>
<li>Swapping kills performance.</li>
</ol>
<p>Yes, you can tune the swappiness so you can keep on reducing cached and buffers without touching swap, however performance will suck. On the other hand you can bump up memory usage on an OpenVZ VPS all the way to the privvmpages limit without much degrading of performance, provided the host node still has room to spare. It is a good thing but can also a bad thing, which I will explain later.</p>
<h3 id="toc-performance-vs-predictability">Performance vs. Predictability</h3>
<p>At the end it comes down to performance and predictability, and my preference has always been with Xen.</p>
<p>While Xen has more overhead thus possibly slower VPS, its out-of-memory behaviour is much more predictable than OpenVZ, and this predictability won me over. As I have already said, that OpenVZ will continue to perform well when its memory usage approaches the limit. However, if privvmpages has been exhausted, the next <code>malloc()</code> will return a NULL pointer, and depending on how the applications handle NULL pointer, they either die gracefully or die with a segmentation fault (usually the later). It is like driving at 100km/hour and then suddenly hits a brick wall. You do not even know that there is a memory shortage issue because everything just sails so smoothly.</p>
<p>On the other hand, when a Xen VPS used up free memory, it will start taking memory from buffers and cached pages. Then it will start swapping. And then it will finally die when the last bit of swap partition gets exhausted. Performance will start to degrade when it started swapping. The load will go up, and the server will get less and less responsive. Your Xen VPS will spend more of its time swapping pages in and out than actually handling tasks. Even if it dies at the end, it will be a <em>very noticeable</em> long struggle than a head-on smash&#8230;</p>
<p>&#8230; just like a dedicated server!</p>
<p>My preference? Predictable performance. I&#8217;ll rather have my sites slowing down to its knees, than having it crash and burn when the memory is exhausted.</p>
<h3 id="toc-what-about-burstable-memory-in-openvz">What About Burstable Memory in OpenVZ?</h3>
<p>&#8220;Burstable memory&#8221; in OpenVZ is <em>overrated</em> IMHO, as it makes the behaviour of your VPS even less predictable. It is often advised to set <code>privvmpages</code> (burstable amount) at twice the amount as <code>vmguarpages</code> (guaranteed amount) as allocated amount vs. used amount is usually 2:1. However it is not always the case. At work where we had lots of Java development it&#8217;s a bit like 5:1, but on my VPSLink OpenVZ VPS where it is mostly Lighttpd, MySQL and PHP, the ratio is about as low as 1.45:1.</p>
<p>Therefore out-of-memory could still happen when you have burstable (<code>privvmpages</code>) set to twice the guaranteed (<code>vmguarpages</code>). On the other hand, VPSLink&#8217;s &#8220;no burst, no swap&#8221; policy, i.e. making burstable amount the same as guaranteed amount, actually gives each VPS <em>less</em> memory to play with, at least it guarantees that when OOM occurs, no VE will be held responsible as all of them will be under their guaranteed limit.</p>
<h3 id="toc-conclusion">Conclusion</h3>
<p>By looking at OpenVZ and Xen&#8217;s memory model and their handling of out of memory situation, I am leaning towards Xen, if I am going out to buy a VPS now. Especially when they are sold at the same price per month at VPSLink, I personally cannot see why someone would prefer OpenVZ over Xen.</p>
<p>Except if there is a discount on OpenVZ VPS :)</p>
<p>I have seen a few promotions coupons from VPSLink (last one being 31% discount from Halloween) but none of them can be used on VPSLink&#8217;s Xen VPS. I for one will switch from OpenVZ to their Xen VPS in a heart beat, except I am still on the initial 50% discount for my OpenVZ VPS that is just too hard to let go :)</p>
<p>Alright. Enough Xen vs. OpenVZ. I will be reviewing VPSLink&#8217;s new Xen VPS hosting in <a href="http://hostingfu.com/article/vpslink-xen-vps-2-weeks-review">my next post</a>, on what&#8217;s good (+ what&#8217;s not so good) about them.</p>
]]></content:encoded>
			<wfw:commentRss>http://hostingfu.com/article/xen-or-openvz/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Which market is VPS for?</title>
		<link>http://hostingfu.com/article/which-market-is-vps-for</link>
		<comments>http://hostingfu.com/article/which-market-is-vps-for#comments</comments>
		<pubDate>Sun, 04 Feb 2007 11:26:59 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[vps hosting]]></category>

		<guid isPermaLink="false">http://hostingfu.com/?p=87</guid>
		<description><![CDATA[Robert Cichon of CrystalTech wrote on theWHIR blog about getting ready to start up a VPS solution for his hosting company. He asked &#8220;Are we making the best choice for what the customers will want?&#8221;, and tried to explain what VPS is for. I mean it&#8217;s pretty obvious why some would want to buy VPS; [...]]]></description>
			<content:encoded><![CDATA[<p>Robert Cichon of CrystalTech <a href="http://www.thewhir.com/blogs/Robert-Cichon/index.cfm/2007/1/31/Building-a-VPS-solution">wrote on theWHIR blog</a> about getting ready to start up a VPS solution for his hosting company. He asked &#8220;Are we making the best choice for what the customers will want?&#8221;, and tried to explain what VPS is for.</p>
<blockquote><p>I mean it&#8217;s pretty obvious why some would want to buy VPS; for the value of course compared to true dedicated server offerings. It&#8217;s just a <strong>perfect next step from shared</strong> without having to incur all the expense of a dedicated. <em>(Emphasis mine)</em></p></blockquote>
<p>Is virtual private server the &#8220;perfect next step from shared hosting&#8221;? Is VPS the logical step-stone between $10/month shared hostings and $100+/month dedicated servers? Is it something you buy when your hosting company kicks you out for resource overage, and are too poor to buy your own &#8220;real&#8221; server? What do you think?</p>
<p><span id="more-87"></span></p>
<p>One thing I found interesting is where is VPS marketing at. If you are a hosting company, and are selling both shared hosting and dedicated servers, what will you put on their specification pages?</p>
<table class="data" cellpadding="1" cellspacing="0">
<tr>
<th width="50%">Shared Hosting</th>
<th width="50%">Dedicated Servers</th>
</tr>
<tr valign="top">
<td>
<ul>
<li>Storage space <em>x</em> Gb</li>
<li>Bandwidth/transfer <em>y</em> Gb/month</li>
<li># of Add-on domains</li>
<li># of POP3/IMAP accounts</li>
<li># of MySQL database</li>
<li># of Pre-installed scripts</li>
<li>&#8230;</li>
</ul>
</td>
<td>
<ul>
<li>CPU (model/<em>x</em> Ghz)</li>
<li>RAM (<em>y</em> Mb)</li>
<li>Storage (type of drive, RAID setup, amount of space)</li>
<li>Bandwidth/transfer <em>z</em> Gb/month</li>
<li>Operating system (Win/Lin/xBSD)</li>
<li>Managed vs. unmanaged</li>
<li>&#8230;</li>
</ul>
</td>
</tr>
</table>
<p>It is very obvious that these two products are for two completely different markets. You don&#8217;t see a lot of shared hosting company boasting about their RAID10 disk arrays and quad-core Xeons, nor many dedicated server companies see &#8220;unlimited domains&#8221; and &#8220;blog software included&#8221; as necessary in marketing their products.</p>
<p>Now, go down to the <a href="http://www.webhostingtalk.com/forumdisplay.php?f=104">VPS offering section</a> of <a href="http://www.webhostingtalk.com/">WebHostingTalk</a>, and check out how VPS providers market their products. Now tell me which side of the table above resembles the VPS specifications?</p>
<p>From my own understanding, VPS is more of a &#8220;small dedicated server&#8221;, than a &#8220;big shared hosting account&#8221;. It is intended for those on dedicated servers to scale down (server consolidation, for example), than for those on crowded shared hosting to scale up. It has all the characteristics of a dedicated server &#8212; more so if the provider is using hardware/para-virtualization. It also requires similar commitment as a dedicated server. Application installation, security, administration, system tune up/optimization, etc.</p>
<p>Personally I find it is a perfect hosting solution for me, who want the power of root, but don&#8217;t want to pay for (nor require) the whole box.</p>
<p>However, I have seen VPS frequently recommended as the next level up from shared hosting to novice who happens to have a busy website. Because of the required server administration skills, people either come back 2 days later complaining how crappy VPS is, or they ended up purchasing cPanel + 256Mb extra memory + managed service in order to make that VPS &#8220;functional&#8221;. I think that is just so wrong.</p>
<p>No, I don&#8217;t think VPS is a suitable candidate for hosting resellers. VPS is one level down from dedicated servers, but one level up from shared hosting should be managed shared hosting with cluster servers instead (MediaTemple&#8217;s <a href="http://hostingfu.com/article/media-temples-grid-server">Grid Server</a> and Rackspace&#8217;s <a href="http://www.mosso.com/">Mosso</a> for example). You don&#8217;t need to be a shell whiz-bang to use them, and the cluster servers, if implemented correctly, should easily scale up when the traffic soars.</p>
]]></content:encoded>
			<wfw:commentRss>http://hostingfu.com/article/which-market-is-vps-for/feed</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Media Temple and Its New MySQL Containers</title>
		<link>http://hostingfu.com/article/media-temple-and-its-new-mysql-containers</link>
		<comments>http://hostingfu.com/article/media-temple-and-its-new-mysql-containers#comments</comments>
		<pubDate>Sat, 20 Jan 2007 13:34:29 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mediatemple]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://hostingfu.com/?p=84</guid>
		<description><![CDATA[Media Temple, home of the Grid Server which I wrote about here, has just posted an excellent post on their blog, titled Anatomy of MySQL on the Grid Server. It Acknowledge MySQL issues in the current grid server platform. Talk about their old load balancing system for MySQL, and why it did not work. Discuss [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://hostingfu.com/files/images/mediatemple-logo.png" width="230" height="23" alt="Media Temple" style="float:right;margin:0 0 1ex 1ex"/> <a href="http://www.mediatemple.com/">Media Temple</a>, home of the <a href="http://www.mediatemple.net/webhosting/gs/">Grid Server</a> which I wrote about <a href="http://hostingfu.com/article/media-temples-grid-server">here</a>, has just posted an excellent post on their blog, titled <a href="http://www.mediatemple.net/weblog/2007/01/19/anatomy-of-mysql-on-the-grid/">Anatomy of MySQL on the Grid Server</a>. It</p>
<ol>
<li>Acknowledge MySQL issues in the current grid server platform.</li>
<li>Talk about their old load balancing system for MySQL, and why it did not work.</li>
<li>Discuss their new VPS based MySQL solution that will be switched on in March.</li>
</ol>
<p><span id="more-84"></span></p>
<p>Scaling databases on a shared multi-tenant system has to be one of the most challenging exercise for system administrators, and I am sure the Media Temple would agree. Because of the way web applications are usually written these days, scaling your PHP apps can be trivial. PHP&#8217;s <a href="http://www.zefhemel.com/archives/2004/09/01/the-share-nothing-architecture">share nothing</a> architecture makes scalability native to the language itself, and you can simply add more boxes to take care the load on the web servers.</p>
<p>However, with &#8220;share-nothing&#8221;, the design is that all states are pushed into the database, and the assumption is that database is scalable. <strong>Is the database scalable</strong>? That alone is worth a separate discussion article. To cut the story short, you cannot simply add more hardware to scale up a busy database server. It usually requires the application to optimise the way data are queried. Setting up replication. Distribute heavy queries. Partition the dataset. Rewrite big queries into smaller ones in case of MySQL. Etc etc.</p>
<p>With shared hosting, you&#8217;ll get even more problems. As a web hosting provider you need to optimise your database to cater for your customers who might install random or home-made apps with badly designed queries.</p>
<p>Media Temple&#8217;s old design was pretty interesting &#8212; a load balancer for MySQL database clusters. From the description, it looks like it constantly monitor all MySQL servers in the system, and live-migrate busy databases onto servers that are less loaded. However it does not work as hostile DB users can still bring the entire database server to its knees, where anyone else on the same server will suffer.</p>
<p>Media Temple&#8217;s new approach is even more interesting &#8212; they will put MySQL into &#8220;containers&#8221;, i.e. a VPS-like environment with restricted CPU and RAM. From the description I think the new MySQL container approach will be even easier to manage than the current load balancing cluster approach.</p>
<p>Each account would have its own MySQL server running inside a VPS. Instead of continuously monitoring the load and move the offending DBs around, they can just rely on the virtualisation software to keep each instance in check. A busy user will only crash his own MySQL container and won&#8217;t affect other accounts. Likewise, a light user should always receive guaranteed CPU and IO.</p>
<p>That&#8217;s quite revolutionary for shared hosts. Well done! It also demonstrated a great use case for VPS &#8212; partition otherwise shared resources.</p>
]]></content:encoded>
			<wfw:commentRss>http://hostingfu.com/article/media-temple-and-its-new-mysql-containers/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dedicated or Virtual Private Servers?</title>
		<link>http://hostingfu.com/article/dedicated-or-virtual-private-servers</link>
		<comments>http://hostingfu.com/article/dedicated-or-virtual-private-servers#comments</comments>
		<pubDate>Fri, 29 Sep 2006 08:39:15 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dedicated]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://hostingfu.com/?p=51</guid>
		<description><![CDATA[When a web site or hosted application out grown the shared hosting accounts, the natural progression is usually stepping up to a VPS or a dedicated server. I have seen quite a few times on WHT where people ask whether they should go to dedicated or virtual private server &#8212; usually those with budget slightly [...]]]></description>
			<content:encoded><![CDATA[<p>When a web site or hosted application out grown the shared hosting accounts, the natural progression is usually stepping up to a VPS or a dedicated server. I have seen quite a few times on <a href="http://www.webhostingtalk.com/">WHT</a> where people ask whether they should go to dedicated or virtual private server &#8212; usually those with budget slightly more than a good shared hosting, and looking for places to run their busy websites. Surprisingly I have seen <em>a lot</em> of people putting their preference on cheap dedicated servers.</p>
<p>I will go for a VPS, if I have limited budget, and have a busy site to host.</p>
<p><span id="more-51"></span></p>
<p>For example, you happen to have $70/month to get something semi-decent. On one hand, you have a cheap dedicated server from a <a href="http://www.serverpronto.com/">ServerPronto</a> (one of the cheapest dedicated server providers), on the other hand, you have a top-level Xen setup on <a href="http://www.slicehost.com/">SliceHost</a>.</p>
<table class="data" cellspacing="0" cellpadding="2">
<thead>
<tr>
<th>&nbsp;</th>
<th width="50%">ServerPronto &#8211; AMD Power</th>
<th width="50%">SliceHost &#8211; 1024slice</th>
</tr>
</thead>
<tbody>
<tr>
<th>CPU</th>
<td>AMD 2600+</td>
<td>2x Opteron 265</td>
</tr>
<tr>
<th>Memory</th>
<td>512Mb</td>
<td>1024Mb</td>
</tr>
<tr>
<th>Storage</th>
<td>80Gb</td>
<td>40Gb</td>
</tr>
<tr>
<th>Transfer</th>
<td>400Gb</td>
<td>160Gb</td>
</tr>
<tr>
<th>Cost</th>
<td>$69.95/mo + $69 setup</td>
<td>$70/mo</td>
</tr>
</tbody>
</table>
<p>They look &#8220;somehow&#8221; comparable, aren&#8217;t they? SliceHost has slightly better CPU power &#8212; remember their physical box has quad core but they are shared with 4-7 other 1024slices on those 8Gb Opteron boxes, plus very minimal overhead on Xen. Twice the memory will be very helpful to keep your Apache processes from swapping in and out of disks. Storage and transfer are lacking, but (1) they are soft-limit on SliceHost, and (2) they don&#8217;t oversell bandwidth.</p>
<p>Note that I have no experience with ServerPronto. I did have some <a href="http://hostingfu.com/article/slicehost-initial-impression">recent experience</a> with SliceHost. However if I do have a budget of $70/mo I would be giving <a href="http://serveraxis.com/vds.php">ServerAxis</a> a try, who is actually cheaper with their better-equipped VPSs.</p>
<p>Alright &#8212; so they are on-par on paper. But let me show you why getting a VPS is <em>much better</em>.</p>
<ul>
<li>
<p><strong>CPU is burstable</strong>. When all the virtual servers are fighting for CPU, you might feel like running on the same speed as a AMD 2600+. However, when there are idle cycles, you are free to grab them. So the end result can be <em>much faster</em> than that 3-year-old chip in that cheap dedicated, <em>sometimes</em>.</p>
</li>
<li>
<p><strong>I/O is burstable</strong>. Slow disk IO is usually the most criticised short-coming of VPS, but I noticed that it usually only happen on crowded Xen or oversold Virtuozzo servers. Well in SliceHost&#8217;s case, you don&#8217;t get a dedicated 40Gb hard disk for your slice, but on a shared RAID1 storage of much bigger and faster drives. End result? <em>Much faster</em> disk I/O when other VPS&#8217;s are not fighting for it. Many other VPS providers use RAID5, RAID10 or 0+1 on very fast SATA, SCSI or SAN volumes.</p>
</li>
<li>
<p><strong>Redundant storage</strong>. Most VPS have RAID on their drives, because everyone knows &#8212; hard drives will die. After quite a few incidents at home, I will not trust my data on anything that is not RAIDed. Not only do they provide redundancy, but also faster recovery if one of the drives does die, to minimise down time.</p>
</li>
<li>
<p><strong>Server grade hardware</strong>. What do you think your AMD 2600+ box is? A well designed rack unit with redundant power supply and sufficient cooling? Server grade motherboard with ECC memory? Most likely a beige desktop box. Whereas other dual Xeon/Opteron boxes used to host VPSs are definitely better designed and equipped.</p>
</li>
<li>
<p><strong>Extra management</strong>. Both VPS and dedicated servers are &#8220;unmanaged&#8221;, but I&#8217;ll argue that VPS are <em>more managed</em> than a dedicated server. The host&#8217;s administrator will look out for hardware issues. They&#8217;ll help you to make sure your VPS boots. Some of them even provide virtual console so you can diagnose issues yourself. Remote console, reboot support, etc can all cost extra on dedicated servers.</p>
</li>
<li>
<p><strong>Better for the environment</strong>. Not sure whether you care, but you can squeeze in more VPS into the same rack than cheap dedicated servers. Thus less electricity is used. Somehow it is better for the environment, making your providers less depending on the more and more expensive energy price.</p>
</li>
</ul>
<p>Well. I am sure there are more reasons, but all these should have concluded that there&#8217;s few reason to get &#8220;cheap dedicated&#8221; these days. Moreover, the real <em>sweet spot</em> of VPS is less than $50/month, which is enough to get a medium-level VPS to host multiple website or a &#8220;single purpose&#8221; web application. What kind of dedicated do you expect to get with that amount of money?</p>
<p>Hosts can also take advantage of virtualization. Besides &#8220;better for environment&#8221;, better CPU utilization, VPS also has advantage of faster provisioning. Most dedicated servers take a few hours to provision a new server request, and <em>longer</em> if hardware is not available. Most VPS provisioning can be scripted and automated, provided there&#8217;s enough room on the host node.</p>
<p>Yes, dedicated servers do get more consistent performance. More consistent CPU response. More consistent IO throughput. But, choosing between being consistent with a AMD 2600+ performance, or burstable to dual Opteron 265 performance &#8212; I think I know which one I&#8217;ll go.</p>
]]></content:encoded>
			<wfw:commentRss>http://hostingfu.com/article/dedicated-or-virtual-private-servers/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Amazon Announced Elastic Compute Cloud (EC2)</title>
		<link>http://hostingfu.com/article/amazon-announced-elastic-compute-cloud-ec2</link>
		<comments>http://hostingfu.com/article/amazon-announced-elastic-compute-cloud-ec2#comments</comments>
		<pubDate>Fri, 25 Aug 2006 07:30:36 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://hostingfu.com/?p=41</guid>
		<description><![CDATA[I am an Australian, and Australia is a tiny place. Well, the land is big, but majority of 20+ million people chose to squeeze into a few coastal cities. Web hosting is expensive here, and everyone went &#8220;wow&#8221; when Aussie HQ introduced their million-dollar real time provisioning dedicated server this month (see all the buzz [...]]]></description>
			<content:encoded><![CDATA[<p>I am an Australian, and Australia is a tiny place. Well, the land is big, but majority of 20+ million people chose to squeeze into a few coastal cities. Web hosting is expensive here, and everyone went &#8220;wow&#8221; when <a href="http://www.aussiehq.com.au/">Aussie HQ</a> introduced their million-dollar <a href="http://www.aussiehq.com.au/dedicated/">real time provisioning dedicated server</a> this month (see all the buzz on this <a href="http://forums.whirlpool.net.au/forum-replies.cfm?t=560925">Whirlpool thread</a>). I mean, you have enough customers and servers in Australia to provision dedicated servers in real time? Instead of hours or even days of waiting? No wonder they claimed to be Australia&#8217;s first.</p>
<p>But it is a dwarf in comparison to Amazon&#8217;s <a href="http://www.amazon.com/gp/browse.html?node=201590011">Elastic Compute Cloud</a> (EC2), which is currently at limited beta.</p>
<p><span id="more-41"></span></p>
<p>What is EC2? From Amazon&#8217;s page:</p>
<blockquote><p>Amazon EC2 presents a true virtual computing environment, allowing you to use web service interfaces to requisition machines for use, load them with your custom application environment, manage your network&#8217;s access permissions, and run your image using as many or few systems as you desire.</p></blockquote>
<p>And how is it different from other hosting service? From their <a href="http://www.amazon.com/b/ref=sc_fe_c_0_201590011_4/103-7198745-1639022?ie=UTF8&amp;node=201591011&amp;no=201590011&amp;me=A36L942TSJ2AJA">FAQ page</a>:</p>
<blockquote><p>Traditional hosting services generally provide a pre-configured resource for a fixed amount of time and at a predetermined cost. Amazon EC2 differs fundamentally in the flexibility, control and significant cost savings it offers developers, allowing them to treat Amazon EC2 as their own personal data center with the benefit of Amazon.com&#8217;s robust infrastructure.</p></blockquote>
<p>Basically, it is a virtual private server hosting service that (1) servers can be instantiated and destroyed in real time with web service API calls (2) you only pay for the resource you are utilising. Pricing structure is pretty easy to understand:</p>
<ol>
<li>$0.10 per hour when your VPS is running.</li>
<li>$0.20 per GB of data transferred outside of Amazon.</li>
<li>$0.15 per GB per month of data stored.</li>
</ol>
<p>Each VPS instantiated has a spec of 1.7Ghz Xeon equivalent, 1.75Gb of RAM, 160Gb of local disk and 250Mb/s network bandwidth, so it is not the $20/month VPS that people rent to run their blogs. So to have a server running 24&#215;7, a 30 day month would cost $72 &#8212; and that is not including data transfer and storage. Even with 40Gb of storage and 250Gb of data transfer it would still cost <em>only</em> $128.</p>
<p>However we need to remember that you are only paying what you are using. That means Amazon is <strong>not</strong> overselling &#8212; they don&#8217;t promise their customers 1,000Gb of data transfer, hoping that some are only using 20Gb to offset other hungry customers. It is certainly very refreshing from the current dedicated/shared hosting market.</p>
<p>Also from the pricing structure above, (2) and (3) come directly from <a href="http://aws.amazon.com/s3">Amazon S3</a>, a storage infrastructure that is scalable, reliable, fast and cheap. Like another <a href="http://hostingfu.com/node/34">SAN-backed VPS hosting</a>, if the physical server that hosts your VPS happen to burn in flames, it is easy to re-instantiate the same image on another physical server to reduce down time. It is not the luxury you can get from other $100/month dedicated servers.</p>
<p>From its <a href="http://docs.amazonwebservices.com/AmazonEC2/dg/2006-06-26/">developers&#8217; documentation</a>, EC2 appears to be powered by Xen, but you <a href="http://docs.amazonwebservices.com/AmazonEC2/dg/2006-06-26/TechnicalFAQ.html#d0e6522">cannot yet run your own kernel</a>. That seems to contradict the claim that <a href="http://www.zdnet.com.au/news/software/soa/Xen_not_ready_for_prime_time_says_Red_Hat/0,2000061733,39265136,00.htm">Xen is not yet ready for production use</a>.</p>
<p>What differentiates EC2 from other Xen providers is, this web service API that allows real time provisioning. Need a 20 Xeon server farm for your secret project in the next 10 minutes? Amazon says no problem. Only use them for 10 days? No problem either, and you are only paying for the amount of time you are using. EC2&#8242;s API is <a href="http://developer.amazonwebservices.com/connect/kbcategory.jspa?categoryID=84">clearly documented</a>, and from the look it could do some amazing things like grouping instances, etc.</p>
<p>It is going to be very useful when you need that computation power suddenly. For example, <del>need to crack that hash</del> getting Slashdotted or Dugged. Just use the API to create a few more instances. Provided that your software can scale, adding new hardware has never been easier.</p>
<p>With S3, EC2 and other services, Amazon has clearly taken the path to be centrepiece to the developers, like how Google is to average web users. As software developer, you just need to focus on your application&#8217;s scalability, and Amazon will take care of the scalability of computation and storage.</p>
<p>On the other hand, this service might not yet be suitable for general web hosting &#8212; not when it is in beta anyway. Your VPS&#8217;s IP is <a href="http://docs.amazonwebservices.com/AmazonEC2/dg/2006-06-26/TechnicalFAQ.html#d0e6487">allocated on DHCP</a> so no static IP address, which cannot be easily used to host web and mail services without going down to the dynamic DNS hack. Also there is no persistent storage other than S3 &#8212; rebooting your VPS and you&#8217;ll be surprised to find out all data you kept on the 160Gb partition has disappeared. Otherwise, I can forsee EC2 as a popular platform to build shared hosting, as you can easily oversell on non-overselling resources.</p>
<p>Too bad beta has already been closed, but I am sure I will be eagerly waiting for this one.</p>
]]></content:encoded>
			<wfw:commentRss>http://hostingfu.com/article/amazon-announced-elastic-compute-cloud-ec2/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
