The Truth About Virtual Private Servers in 2009
It is 3:00 PM on a Tuesday. Your monitoring scripts start firing alerts. HTTP response times on your Apache server have jumped from 200ms to 2.5 seconds. You log in via SSH, run top, and see... nothing. Your Load Average is 0.2. Your RAM is free. Yet, the server feels like it is running through molasses.
Welcome to the OpenVZ trap. You are likely suffering from a "noisy neighbor"—another customer on the same physical node compiling a massive kernel or getting hammered by a botnet. Because OpenVZ shares the host kernel, one bad apple can ruin the I/O for everyone else.
At CoolVDS, we grew tired of debugging phantom load issues. That is why we are betting the farm on KVM (Kernel-based Virtual Machine). If you are running production workloads in Norway or targeting the European market, it is time to stop playing with containers and start using real virtualization.
The Architecture: Why KVM Wins on Isolation
In the current hosting landscape, OpenVZ (and Virtuozzo) dominates the budget market because it allows providers to cram hundreds of containers onto a single server. It is efficient for them, but risky for you. If the host kernel crashes, everyone goes down. If the host's disk queue fills up, your MySQL queries hang.
KVM is different. Merged into the Linux kernel back in version 2.6.20, KVM turns the Linux kernel into a hypervisor. Each Guest OS gets:
- Its own Kernel: You can load custom modules like
ip_conntrackwithout begging support. - Dedicated RAM: No more "burst" RAM marketing tricks. If you buy 512MB, you get 512MB.
- True Disk Isolation: We can enforce strict I/O limits so Neighbor A cannot steal Neighbor B's disk cycles.
A Real-World War Story: The MySQL Meltdown
Last month, we migrated a client running a high-traffic Magento store. They were on a competitor's "High Performance" OpenVZ slice. Every day at random times, MySQL would crash with `Out of memory` errors, despite `free -m` showing plenty of RAM.
The culprit? User Beancounters (UBC). OpenVZ limits kernel memory in ways standard Linux tools cannot see. We moved them to a KVM instance on CoolVDS. The result? Stability. We could finally tune the `innodb_buffer_pool_size` accurately because the memory was actually reserved for the VM.
Tuning for Performance: The 2009 Standard
Moving to KVM gives you control, but you need to know how to use it. Since KVM presents a standard block device to the guest, you should switch your I/O scheduler.
On a CentOS 5 guest, the default scheduler is often `cfq`, which is fine for desktops but suboptimal for virtualized servers. We recommend switching to `deadline` or `noop` to let the hypervisor handle the sorting.
Add this to your kernel line in /boot/grub/menu.lst:
kernel /vmlinuz-2.6.18-164.el5 ro root=/dev/VolGroup00/LogVol00 elevator=noopThis simple change can reduce latency by 15-20% on database-heavy workloads.
Pro Tip: If you are running Debian Lenny, ensure you install the `acpi-support` package. KVM sends ACPI power signals for graceful shutdowns. Without this, a reboot command from the host might force a hard kill, risking data corruption.
Data Privacy and The Norwegian Advantage
Performance is not just about CPU cycles; it is about where your data lives. With the Personal Data Act (Personopplysningsloven) of 2000 strongly enforced by Datatilsynet, storing customer data outside of Norway is becoming a legal headache for local businesses.
Many "cheap" VPS providers oversell resources from data centers in the US or Germany. This introduces two problems:
- Latency: Pinging Oslo from Texas takes ~140ms. Pinging Oslo from our data center in Oslo takes ~2ms. Google checks load times. If you want to rank for Norwegian keywords, you need local hosting.
- Jurisdiction: Keeping data on Norwegian soil simplifies compliance with local privacy laws.
The CoolVDS Hardware Stack
We do not believe in "good enough." While others run on slow SATA drives, CoolVDS has deployed Enterprise 15k RPM SAS drives in RAID-10. We are also experimenting with the new Intel X25-E SSDs for database caching layers—technology that is absolutely screaming fast compared to traditional spinning platters.
| Feature | Typical OpenVZ VPS | CoolVDS KVM |
|---|---|---|
| Kernel | Shared (Fixed version) | Dedicated (Customizable) |
| Disk I/O | Contended / Unpredictable | Dedicated / 15k SAS RAID-10 |
| Swap | Fake / Burstable | Real Partition |
| Ping to NIX (Oslo) | 40ms+ (often routed via DE) | < 5ms |
Conclusion: Stop Sharing Your Kernel
In 2009, your server uptime is your reputation. You cannot afford to let a teenage script kiddy on the same physical server crash your business application. Virtualization is maturing, and KVM is leading the charge.
If you need root access that actually behaves like root, and you need the reliability of the Norwegian power grid and legal framework, it is time to switch.
Ready to compile your own kernel? Deploy a KVM instance on CoolVDS today and experience the difference of dedicated resources.