DamnVPS Beta VPS Benchmark

The following is the benchmark results from DamnVPS’s beta VPS. The beta VPS is based on XEN and contains 512MB RAM. The benchmark was ran on May 21, 2010. So far, the VPS is very solid, although I don’t have a lot of time to actually load up my databases and use do further testing.

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: vps.server.com: GNU/Linux
   OS: GNU/Linux -- 2.6.33.3 -- #1 SMP Thu May 13 22:30:34 BST 2010
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (4788.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   03:18:25 up  9:54,  1 user,  load average: 0.45, 0.12, 0.03; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Fri May 21 2010 03:18:25 - 03:46:47
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       13500594.2 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2797.0 MWIPS (10.0 s, 7 samples)
Execl Throughput                               1507.4 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        232638.3 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           60139.9 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        721702.9 KBps  (30.0 s, 2 samples)
Pipe Throughput                              349661.2 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  69585.8 lps   (10.0 s, 7 samples)
Process Creation                               2981.9 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   2722.0 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    375.7 lpm   (60.1 s, 2 samples)
System Call Overhead                         407419.9 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   13500594.2   1156.9
Double-Precision Whetstone                       55.0       2797.0    508.5
Execl Throughput                                 43.0       1507.4    350.6
File Copy 1024 bufsize 2000 maxblocks          3960.0     232638.3    587.5
File Copy 256 bufsize 500 maxblocks            1655.0      60139.9    363.4
File Copy 4096 bufsize 8000 maxblocks          5800.0     721702.9   1244.3
Pipe Throughput                               12440.0     349661.2    281.1
Pipe-based Context Switching                   4000.0      69585.8    174.0
Process Creation                                126.0       2981.9    236.7
Shell Scripts (1 concurrent)                     42.4       2722.0    642.0
Shell Scripts (8 concurrent)                      6.0        375.7    626.1
System Call Overhead                          15000.0     407419.9    271.6
                                                                   ========
System Benchmarks Index Score                                         450.1

RackVM VPS Benchmark

The following is the benchmark results from my ~$2/mo VPS at RackVM. The VPS is XEN based with 128MB RAM. For such a good price, it was hard for me to resist giving it a try. I’m surprised that the service is fairly decent, although the disk does sometimes lag. But for my requirements, the VPS is well worth it.

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: atlas: GNU/Linux
   OS: GNU/Linux -- 2.6.18-164.15.1.el5xen -- #1 SMP Wed Mar 17 12:04:23 EDT 2010
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz (4990.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET, Intel virtualization
   CPU 1: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz (4990.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET, Intel virtualization
   21:28:07 up 15 min,  1 user,  load average: 0.26, 0.28, 0.27; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Fri May 14 2010 21:28:08 - 21:55:57
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       10049463.0 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     1979.3 MWIPS (9.1 s, 7 samples)
Execl Throughput                               1147.5 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        191500.7 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           51443.9 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        574281.1 KBps  (30.0 s, 2 samples)
Pipe Throughput                              272602.5 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  74736.0 lps   (10.0 s, 7 samples)
Process Creation                               2775.2 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   2495.3 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    514.1 lpm   (60.0 s, 2 samples)
System Call Overhead                         328683.3 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   10049463.0    861.1
Double-Precision Whetstone                       55.0       1979.3    359.9
Execl Throughput                                 43.0       1147.5    266.9
File Copy 1024 bufsize 2000 maxblocks          3960.0     191500.7    483.6
File Copy 256 bufsize 500 maxblocks            1655.0      51443.9    310.8
File Copy 4096 bufsize 8000 maxblocks          5800.0     574281.1    990.1
Pipe Throughput                               12440.0     272602.5    219.1
Pipe-based Context Switching                   4000.0      74736.0    186.8
Process Creation                                126.0       2775.2    220.3
Shell Scripts (1 concurrent)                     42.4       2495.3    588.5
Shell Scripts (8 concurrent)                      6.0        514.1    856.8
System Call Overhead                          15000.0     328683.3    219.1
                                                                   ========
System Benchmarks Index Score                                         389.7

------------------------------------------------------------------------
Benchmark Run: Fri May 14 2010 21:55:57 - 22:23:52
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       19260083.7 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3826.1 MWIPS (9.5 s, 7 samples)
Execl Throughput                               1960.6 lps   (29.8 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        101886.8 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           25932.7 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        352427.0 KBps  (30.1 s, 2 samples)
Pipe Throughput                              570224.6 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 140125.6 lps   (10.0 s, 7 samples)
Process Creation                               3907.4 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   3761.1 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    563.7 lpm   (60.1 s, 2 samples)
System Call Overhead                         608957.2 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   19260083.7   1650.4
Double-Precision Whetstone                       55.0       3826.1    695.7
Execl Throughput                                 43.0       1960.6    455.9
File Copy 1024 bufsize 2000 maxblocks          3960.0     101886.8    257.3
File Copy 256 bufsize 500 maxblocks            1655.0      25932.7    156.7
File Copy 4096 bufsize 8000 maxblocks          5800.0     352427.0    607.6
Pipe Throughput                               12440.0     570224.6    458.4
Pipe-based Context Switching                   4000.0     140125.6    350.3
Process Creation                                126.0       3907.4    310.1
Shell Scripts (1 concurrent)                     42.4       3761.1    887.1
Shell Scripts (8 concurrent)                      6.0        563.7    939.5
System Call Overhead                          15000.0     608957.2    406.0
                                                                   ========
System Benchmarks Index Score                                         494.9

ZoomVPS Mach 1 Benchmark

The following is the unixbench-5.1.3 benchmark that was ran on ZoomVPS’s Mach 1 package. The VPS is an openVZ vps with 256MB guaranteed RAM. The benchmark was ran on May 2, 2010.

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: drache: GNU/Linux
   OS: GNU/Linux -- 2.6.18-164.10.1.el5.028stab067.4 -- #1 SMP Thu Jan 14 21:23:12 MSK 2010
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (4788.1 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   07:27:05 up  2:34,  1 user,  load average: 0.16, 0.03, 0.01; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Sun May 02 2010 07:27:05 - 07:55:16
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       12177645.2 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2433.8 MWIPS (9.0 s, 7 samples)
Execl Throughput                               3198.7 lps   (29.6 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        384130.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          107375.3 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        816834.9 KBps  (30.0 s, 2 samples)
Pipe Throughput                              743996.7 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 223588.3 lps   (10.0 s, 7 samples)
Process Creation                               8351.6 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   3848.9 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    524.7 lpm   (60.1 s, 2 samples)
System Call Overhead                         654402.7 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   12177645.2   1043.5
Double-Precision Whetstone                       55.0       2433.8    442.5
Execl Throughput                                 43.0       3198.7    743.9
File Copy 1024 bufsize 2000 maxblocks          3960.0     384130.5    970.0
File Copy 256 bufsize 500 maxblocks            1655.0     107375.3    648.8
File Copy 4096 bufsize 8000 maxblocks          5800.0     816834.9   1408.3
Pipe Throughput                               12440.0     743996.7    598.1
Pipe-based Context Switching                   4000.0     223588.3    559.0
Process Creation                                126.0       8351.6    662.8
Shell Scripts (1 concurrent)                     42.4       3848.9    907.8
Shell Scripts (8 concurrent)                      6.0        524.7    874.5
System Call Overhead                          15000.0     654402.7    436.3
                                                                   ========
System Benchmarks Index Score                                         731.2

Addendum: The following is the same benchmark but after being moved to a new server in Chicago.

   BYTE UNIX Benchmarks (Version 5.1.2)

   System: drache: GNU/Linux
   OS: GNU/Linux -- 2.6.18-164.11.1.el5.028stab068.3 -- #1 SMP Wed Feb 17 15:22:30 MSK 2010
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU X3460 @ 2.80GHz (5600.2 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   10:26:44 up 2 days,  4:36,  1 user,  load average: 0.00, 0.00, 0.00; runlevel

------------------------------------------------------------------------
Benchmark Run: Mon Jul 19 2010 10:26:44 - 10:54:47
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       14183196.8 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2965.5 MWIPS (8.5 s, 7 samples)
Execl Throughput                               3907.2 lps   (29.8 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        547997.0 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          161897.9 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1266099.8 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1104574.6 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 292532.5 lps   (10.0 s, 7 samples)
Process Creation                              12154.9 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   4804.1 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    671.2 lpm   (60.0 s, 2 samples)
System Call Overhead                         941924.6 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   14183196.8   1215.4
Double-Precision Whetstone                       55.0       2965.5    539.2
Execl Throughput                                 43.0       3907.2    908.7
File Copy 1024 bufsize 2000 maxblocks          3960.0     547997.0   1383.8
File Copy 256 bufsize 500 maxblocks            1655.0     161897.9    978.2
File Copy 4096 bufsize 8000 maxblocks          5800.0    1266099.8   2182.9
Pipe Throughput                               12440.0    1104574.6    887.9
Pipe-based Context Switching                   4000.0     292532.5    731.3
Process Creation                                126.0      12154.9    964.7
Shell Scripts (1 concurrent)                     42.4       4804.1   1133.0
Shell Scripts (8 concurrent)                      6.0        671.2   1118.7
System Call Overhead                          15000.0     941924.6    627.9
                                                                   ========
System Benchmarks Index Score                                         989.2

Steadcom VPS Benchmark

The following is the unixbench-5.1.3 benchmark that was ran on SteadCom’s VPS on April 4, 2010. The VPS is XEN based, with 768MB RAM.

I highly recommend SteadCom‘s service as the server I’m on is rock solid :)

   BYTE UNIX Benchmarks (Version 5.1.2)

   System: titan.steamr.com: GNU/Linux
   OS: GNU/Linux -- 2.6.18-164.6.1.el5xen -- #1 SMP Tue Nov 3 16:48:13 EST 2009
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (5989.7 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET, Intel virtualization
   CPU 1: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (5989.7 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET, Intel virtualization
   CPU 2: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (5989.7 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET, Intel virtualization
   CPU 3: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (5989.7 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET, Intel virtualization
   18:24:35 up 13 min,  1 user,  load average: 0.00, 0.05, 0.03; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Sun Apr 04 2010 18:24:35 - 18:52:53
4 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       13042327.4 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2669.4 MWIPS (9.9 s, 7 samples)
Execl Throughput                               1307.1 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        248291.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           69727.3 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        592833.4 KBps  (30.0 s, 2 samples)
Pipe Throughput                              390112.2 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  99829.1 lps   (10.0 s, 7 samples)
Process Creation                               3629.9 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   3368.4 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    786.1 lpm   (60.1 s, 2 samples)
System Call Overhead                         391664.3 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   13042327.4   1117.6
Double-Precision Whetstone                       55.0       2669.4    485.3
Execl Throughput                                 43.0       1307.1    304.0
File Copy 1024 bufsize 2000 maxblocks          3960.0     248291.5    627.0
File Copy 256 bufsize 500 maxblocks            1655.0      69727.3    421.3
File Copy 4096 bufsize 8000 maxblocks          5800.0     592833.4   1022.1
Pipe Throughput                               12440.0     390112.2    313.6
Pipe-based Context Switching                   4000.0      99829.1    249.6
Process Creation                                126.0       3629.9    288.1
Shell Scripts (1 concurrent)                     42.4       3368.4    794.4
Shell Scripts (8 concurrent)                      6.0        786.1   1310.1
System Call Overhead                          15000.0     391664.3    261.1
                                                                   ========
System Benchmarks Index Score                                         504.6

------------------------------------------------------------------------
Benchmark Run: Sun Apr 04 2010 18:52:53 - 19:21:37
4 CPUs in system; running 4 parallel copies of tests

Dhrystone 2 using register variables       49902512.7 lps   (10.2 s, 7 samples)
Double-Precision Whetstone                    10786.8 MWIPS (9.5 s, 7 samples)
Execl Throughput                               3069.3 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        134467.2 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           37855.2 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        397348.9 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1513149.3 lps   (10.1 s, 7 samples)
Pipe-based Context Switching                 362776.5 lps   (10.1 s, 7 samples)
Process Creation                               5225.1 lps   (30.1 s, 2 samples)
Shell Scripts (1 concurrent)                   6223.9 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    903.1 lpm   (60.2 s, 2 samples)
System Call Overhead                        1323583.9 lps   (10.2 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   49902512.7   4276.1
Double-Precision Whetstone                       55.0      10786.8   1961.2
Execl Throughput                                 43.0       3069.3    713.8
File Copy 1024 bufsize 2000 maxblocks          3960.0     134467.2    339.6
File Copy 256 bufsize 500 maxblocks            1655.0      37855.2    228.7
File Copy 4096 bufsize 8000 maxblocks          5800.0     397348.9    685.1
Pipe Throughput                               12440.0    1513149.3   1216.4
Pipe-based Context Switching                   4000.0     362776.5    906.9
Process Creation                                126.0       5225.1    414.7
Shell Scripts (1 concurrent)                     42.4       6223.9   1467.9
Shell Scripts (8 concurrent)                      6.0        903.1   1505.2
System Call Overhead                          15000.0    1323583.9    882.4
                                                                   ========
System Benchmarks Index Score                                         900.4

Godaddy’s Retarded Rewrite Rules

The following .htaccess is required to get mod_rewrite to work as expected under godaddy:

# Options
Options -Multiviews
Options +FollowSymLinks

#Enable mod rewrite
RewriteEngine On

#the location of the root of your site
#if writing for subdirectories, you would enter /subdirectory
RewriteBase /

#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

#This last condition enables access to the images and css
#folders, and the robots.txt file
RewriteCond $1 !^(index\.php|images|robots\.txt|css)

RewriteRule ^(.*)$ index.php?/$1 [L]

(The above code was from a google search from someone using CI with the same issue)

vs. original:


<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

I don’t know why one works, not the other, and I really don’t care.