UnixBench 5.1.2 of CheapVPS Basic by Cripperz Prodigy

20$/year VPS from Cripperz Prodigy:

 

The result of UnixBench 5.1.2:    1238.1

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

   System: Localhost: GNU/Linux
   OS: GNU/Linux — 2.6.18-238.12.1.el5.028stab091.1 — #1 SMP Wed Jun 1 13:20:2
5 MSD 2011
   Machine: i686 (unknown)
   Language: en_US.utf8 (charmap=”UTF-8″, collate=”UTF-8″)
   CPU 0: AMD Phenom(tm) II X4 965 Processor (6209.4 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT,
SYSCALL/SYSRET
   CPU 1: AMD Phenom(tm) II X4 965 Processor (6401.2 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT,
SYSCALL/SYSRET
   09:49:14 up  1:37,  1 user,  load average: 0.06, 0.04, 0.01; runlevel 2

————————————————————————
Benchmark Run: Sun Jun 19 2011 09:49:14 – 10:17:15
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       14247935.3 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2522.3 MWIPS (9.9 s, 7 samples)
Execl Throughput                               2891.6 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        666914.8 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          212719.0 KBps  (30.1 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        935761.0 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1546190.6 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 291698.3 lps   (10.0 s, 7 samples)
Process Creation                               7359.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   4071.1 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    591.7 lpm   (60.0 s, 2 samples)
System Call Overhead                        1473204.0 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   14247935.3   1220.9
Double-Precision Whetstone                       55.0       2522.3    458.6
Execl Throughput                                 43.0       2891.6    672.5
File Copy 1024 bufsize 2000 maxblocks          3960.0     666914.8   1684.1
File Copy 256 bufsize 500 maxblocks            1655.0     212719.0   1285.3
File Copy 4096 bufsize 8000 maxblocks          5800.0     935761.0   1613.4
Pipe Throughput                               12440.0    1546190.6   1242.9
Pipe-based Context Switching                   4000.0     291698.3    729.2
Process Creation                                126.0       7359.3    584.1
Shell Scripts (1 concurrent)                     42.4       4071.1    960.2
Shell Scripts (8 concurrent)                      6.0        591.7    986.2
System Call Overhead                          15000.0    1473204.0    982.1
                                                                   ========
System Benchmarks Index Score                                         964.4

————————————————————————
Benchmark Run: Sun Jun 19 2011 10:17:15 – 10:45:29
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       28325265.0 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     5068.7 MWIPS (9.7 s, 7 samples)
Execl Throughput                               4946.4 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        277714.0 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          103640.2 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        409976.7 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2998921.2 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 574050.8 lps   (10.0 s, 7 samples)
Process Creation                              13024.9 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   7667.9 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1012.3 lpm   (60.1 s, 2 samples)
System Call Overhead                        2233174.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   28325265.0   2427.2
Double-Precision Whetstone                       55.0       5068.7    921.6
Execl Throughput                                 43.0       4946.4   1150.3
File Copy 1024 bufsize 2000 maxblocks          3960.0     277714.0    701.3
File Copy 256 bufsize 500 maxblocks            1655.0     103640.2    626.2
File Copy 4096 bufsize 8000 maxblocks          5800.0     409976.7    706.9
Pipe Throughput                               12440.0    2998921.2   2410.7
Pipe-based Context Switching                   4000.0     574050.8   1435.1
Process Creation                                126.0      13024.9   1033.7
Shell Scripts (1 concurrent)                     42.4       7667.9   1808.5
Shell Scripts (8 concurrent)                      6.0       1012.3   1687.2
System Call Overhead                          15000.0    2233174.8   1488.8
                                                                   ========
System Benchmarks Index Score                                        1238.1

lzheng@Localhost:~/unixbench-5.1.2$

 

 

 

VPS Ubuntu 10.04 config (1)

1. 新增日常管理的用户:   myname

           adduser  myname

2. 将用户加入sudo组:

      gpasswd -a myname sudo

3.  启用sudo功能:   visudo在/etc/sudoers文件里root那行后面添加入新加的管理用户:

      root ALL=(ALL) ALL
     myname ALL=(ALL) ALL

4.  重新以 myname 账户登入, 并测试 sudo 功能

         sudo myname

5. 禁用root账户

         sudo passwd -l root

6.  修改ubuntu的软件更新源:  

        sudo nano /etc/apt/sources.list

          deb     http://us.archive.ubuntu.com/ubuntu lucid main restricted universe multiverse
          deb     http://us.archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
          deb     http://us.archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
          deb     http://us.archive.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse
          deb     http://us.archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
          deb-src http://us.archive.ubuntu.com/ubuntu lucid main restricted universe multiverse
          deb-src http://us.archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
          deb-src http://us.archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
          deb-src http://us.archive.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse
          deb-src http://us.archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse

7.  更新系统:

            sudo apt-get update

            sudo apt-get upgrade

8.  安装需要软件:

        sudo apt-get install language-pack-en language-pack-zh

        sudo apt-get install bash-completion

        sudo apt-get install vim ctags vim-doc vim-scripts

        sudo apt-get install screen byobu

        #安装压缩解压缩软件

        sudo apt-get install bzip2 unzip unrar p7zip

#安装基本的语言环境和开发包

       sudo apt-get install perl python python-dev ruby ruby-dev sqlite sqlite3 openssl

 #安装编译环境和开发包

       sudo apt-get install gcc g++ make autoconf automake patch gdb libtool cpp build-essential libc6-dev libncurses-dev expat

#安装第三方类库的开发包

      sudo apt-get install libbz2-dev libexpat1-dev libssl-dev libdb-dev libgmp3-dev   liblzo2-dev

#安装版本控制工具

      sudo apt-get install git-core subversion mercurial

Flowplayer

 

 

Flowplayer is an Open Source video player for the web. Embed the video streams into your web pages. User will get rich media experience by viewing video streams from your site. Player could be extended with Flash plug-ins, JavaScript plug-ins or Streaming plug-ins. Give a new look and feel to the player by extending it.

It could play the video irrespective of location. The video could be stored in any CDN network like Akamai, Amazon Cloudfront or even local web server. It has built-in slow motion and fast forward support. Social sharing is an important need for almost all web sites. Its viral plug-in helps to spread the videos to most popular social media.

It has ability to detect bandwidth speed and adjust the bit-rate transferred. It supports MPG, WMV, MOV and AVI formats.

 

http://flowplayer.org/

http://flowplayer.org/plugins/streaming/rtmp.html

 

http://code.google.com/p/flowplayer-plugins/source/checkout

svn checkout http://flowplayer-plugins.googlecode.com/svn/ flowplayer-plugins-read-only

 

 

Passing Variables from HTML to Flash in Adobe CS4

Suppose we need to pass the currnet URL from HTML to Flash:

 

1.   Add the following  ActionScript into FLA:

# #  myVIDEO is the parameter from HTML,  and we display it on screen

var my_fmt = new TextFormat();
my_fmt.color = 0xFF0000;
my_fmt.underline = true;
this.createTextField(“myTxt”, 1, 320, 10, 200, 20);
myTxt.autoSize = “left”;
myTxt.setTextFormat(my_fmt);

if (myVIDEO == undefined) {
myTxt.text = “Keynote_1.flv”;
} else {
myTxt.text = myVIDEO;
}

 

2.  Generate the SWF and HTML from FLA

 

 

3. Modify the generated HTML to add myVIDEO parameter,

   3.1 ==> Add the following line in the  AC_FL_RunContent block:

       ‘flashvars’,”,

 

   3.2 ==> Add the handle of flashvars in function AC_GetArgs, as following:

     case “flashvars”:
        ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = “myVIDEO=”+window.location;
        break;

  // Here myVIDEO the variable in AS2, and window.location is the variable in JavaScript indicating the current URL of HTML page

VPS ubuntu 10.10 config (9) *** PPTP VPN***

# Install

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install pptpd

 

#Config DNS

sudo nano /etc/ppp/pptpd-options,  and enter the following:

  ms-dns 8.8.8.8

  ms-dsn 8.8.4.4

 

#Config Password:

sudo nano /etc/ppp/chap-secrets

    acount [TAB] pptpd [TAB] password [TAB] IP addresses

 

# Config IP

sudo nano /etc/pptpd.conf,   and enter the following:

localip 10.168.10.1  
remoteip 10.168.10.10-20



# Config IP forward and IP Nat

net.ipv4.ip_forward=1
sudo iptables -t nat -A POSTROUTING -s 10.168.10.0/24 -o eth0 -j MASQUERADE

VPS ubuntu 10.10 config (8) *** OpenVPN***

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install openvpn

 

#Generage certification and key

cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0   ~/

cd ~/2.0

source vars
./clean-all
./build-ca
./build-key-server <servername>
./build-key <clientname>
./build-dh

 

# add extra key

source vars
./build-key-server <servername>
or
./build-key <clientname>

 

# Config OpenVPN listen on port 443, and share port 443 with SSH

 

Example of config file:

example_vps_etc.7z

 

Reference:

http://forum.ubuntu.org.cn/viewtopic.php?p=532825

 

 

 

YardVPS Tree1 UnixBench Result, (Atlanta,GA)

XEN 512M RAM/15GB Disk/1.5T bandwidth,   $6.36/month

Unixbench 5.1.2 with Disk IO, on Ubuntu 10.10

Result:   605.9

 

 

 

******************************************************************************

 #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.2                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   December 22, 2007                  johantheghost at yahoo period com

1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

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

   System: vps2.zhenglei.net: GNU/Linux
   OS: GNU/Linux — 2.6.32-305-ec2 — #9-Ubuntu SMP Thu Apr 15 04:14:01 UTC 2010
   Machine: i686 (unknown)
   Language: en_US.utf8 (charmap=”UTF-8″, collate=”UTF-8″)
   CPU 0: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (4809.1 bogomips)
          Hyper-Threading, MMX, Physical Address Ext, SYSENTER/SYSEXIT
   20:00:12 up 2 days, 14:12,  1 user,  load average: 0.00, 0.03, 0.00; runlevel
 2

————————————————————————
Benchmark Run: Sun May 29 2011 20:00:12 – 20:28:13
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       14547890.3 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2362.0 MWIPS (10.3 s, 7 samples)
Execl Throughput                               1812.2 lps   (29.5 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        402375.7 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          119871.9 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1021490.7 KBps  (30.0 s, 2 samples)
Pipe Throughput                              695109.2 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  88264.4 lps   (10.0 s, 7 samples)
Process Creation                               3806.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   3238.6 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    436.8 lpm   (60.0 s, 2 samples)
System Call Overhead                         606037.9 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   14547890.3   1246.6
Double-Precision Whetstone                       55.0       2362.0    429.4
Execl Throughput                                 43.0       1812.2    421.4
File Copy 1024 bufsize 2000 maxblocks          3960.0     402375.7   1016.1
File Copy 256 bufsize 500 maxblocks            1655.0     119871.9    724.3
File Copy 4096 bufsize 8000 maxblocks          5800.0    1021490.7   1761.2
Pipe Throughput                               12440.0     695109.2    558.8
Pipe-based Context Switching                   4000.0      88264.4    220.7
Process Creation                                126.0       3806.3    302.1
Shell Scripts (1 concurrent)                     42.4       3238.6    763.8
Shell Scripts (8 concurrent)                      6.0        436.8    728.0
System Call Overhead                          15000.0     606037.9    404.0
                                                                   ========
System Benchmarks Index Score                                         605.9

******************************************************************************

 

 

 

Plans
TREE 1
       
TREE 6
Dedicated RAM
512 MB
       
4 GB
SWAP
1 GB
       
2 GB
CPU Cores
1
       
2
Disk Space
15 GB
       
125 GB
RAID10 w/ BBU
Yes
         
Setup Fee
FREE
       
FREE
Bandwidth
1500 GB
       
5000 GB
Port Speed
100 Mbit
       
100 Mbit
IPv4
1
       
1
Native IPv6
Enabled
       
Enabled
Uptime
99.9%
       
99.9%
Instant Setup
Yes
       
Yes
FREE
       
FREE
Guard Dog
FREE
       
FREE
PPTP
Yes
       
Yes
Price
$7.95/Month
       
$51.95/Month

 

 

YardVPS Tree1 UnixBench Result, Walnut,CA

XEN, 512M RAM,1G SWAP,15G Disk, 7.95$/month

UnixBench 5.1.2  with DISK IO:
Rssult: 591.4

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

System: vps.xxxxxx.net: GNU/Linux
OS: GNU/Linux — 2.6.32-305-ec2 — #9-Ubuntu SMP Thu Apr 15 04:14:01 UTC 2010
Machine: i686 (unknown)
Language: en_US.utf8 (charmap=”UTF-8″, collate=”UTF-8″)
CPU 0: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (4802.0 bogomips)
Hyper-Threading, MMX, Physical Address Ext, SYSENTER/SYSEXIT
23:51:42 up 4 days, 17:52, 1 user, load average: 0.07, 0.45, 0.55; runlevel
2

————————————————————————
Benchmark Run: Fri May 27 2011 23:51:42 – 00:19:41
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables 13070648.6 lps (10.0 s, 7 samples)
Double-Precision Whetstone 2337.0 MWIPS (10.2 s, 7 samples)
Execl Throughput 1895.9 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 455993.4 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 116549.9 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1091535.5 KBps (30.0 s, 2 samples)
Pipe Throughput 671284.9 lps (10.0 s, 7 samples)
Pipe-based Context Switching 86750.3 lps (10.0 s, 7 samples)
Process Creation 3755.8 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 3035.7 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 353.7 lpm (60.1 s, 2 samples)
System Call Overhead 581924.7 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 13070648.6 1120.0
Double-Precision Whetstone 55.0 2337.0 424.9
Execl Throughput 43.0 1895.9 440.9
File Copy 1024 bufsize 2000 maxblocks 3960.0 455993.4 1151.5
File Copy 256 bufsize 500 maxblocks 1655.0 116549.9 704.2
File Copy 4096 bufsize 8000 maxblocks 5800.0 1091535.5 1882.0
Pipe Throughput 12440.0 671284.9 539.6
Pipe-based Context Switching 4000.0 86750.3 216.9
Process Creation 126.0 3755.8 298.1
Shell Scripts (1 concurrent) 42.4 3035.7 716.0
Shell Scripts (8 concurrent) 6.0 353.7 589.6
System Call Overhead 15000.0 581924.7 387.9
========
System Benchmarks Index Score 591.4