作者: Leic

  • 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

  • VPS ubuntu 10.10 config (7) *** UnixBench***

    # PRE-INSTALL

    sudo apt-get install libx11-dev

    sudo apt-get install libxext-dev

    sudo apt-get install libgl1-mesa-dev

     

    # INSTALL

    wget http://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gz

    tar xvfz unixbench-5.1.2.tar.gz

    cd unixbench-5.1.2

     

    # TEST

    ./Run

     

  • VPS ubuntu 10.10 config (6) *** Google Storage Dev Tool***

    wget http://commondatastorage.googleapis.com/pub/gsutil.tar.gz

    tar xvfz gsutil.tar.gz

    # add PATH env in ~/.bashrc

    # export PATH=${PATH}:$HOME/gsutil

    nano  ~/.bashrc

    source  ~/.bashrc

    gsutil config

    # Following the instruction to finish the config

  • VPS ubuntu 10.10 config (5) *** ftp server ***

    # install

    sudo apt-get install vsftpd

    # Enable ftp write by change the directiv from #write_enable=YES  To write_enable=YES

    sudo nano /etc/vsftpd.conf

    # Launch

    service vsftpd restart

  • youtube video download via VPS

    # In VPS/ubuntu:

    sudo apt-get install youtube-dl

    sudo youtube-dl -U

    #repeat until it end with “Updated to 20xx/yy/zz”

    sudo youtube-dl -U 

    #Download youtube video:

    youtube-dl -t VIDEO_URL

    # Get Help

    youtube-dl -h

     

    Link:

      http://rg3.github.com/youtube-dl/

     

    youtube format:

      http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs

     

     

  • Change Windows XP NIC Binging Order

    Method 1:  regedit.exe

    Step 1:    Launch regedit.exe

    Step 2:   Modify contents of   HKEY_LOCAL_MATHINESYSTEMCurrentControlSetServicestcpipLinkAgeBind

                  Select the linf of the NIC adaptor, move it to the top by copy & paste.

     

    Method 2:  nvspbind

    Step 1:   download nvspbind from msdn

    Step 2:    Install nvspbind

    Step 3:   issue the command:          nvvpbind /++ NIC_NAME ms_tcpip

     

     

  • VPS Ubuntu 10.10 config (3) — enable HTTP over SSH

    (1)  echo 1 > /proc/sys/net/ipv4/ip_forward

    (2)  Add the line “net.ipv4.ip_forward = 1″ to /etc/sysctl.conf

     

     

  • VPS Ubuntu 10.10 config (4) iptables

    (1)   Enable IP forwarding in linux    

       echo 1 > /proc/sys/net/ipv4/ip_forward

          Set  net.ipv4.ip_forward = 1 in  /etc/sysctl.conf:

     

    (2)  Enable NAT for the subnet of OpenVPN

       sudo iptables -t nat -A POSTROUTING -s 10.168.100.0/24 -o eth0  -j MASQUERADE
       sudo iptables -t nat -A POSTROUTING -s 10.168.200.0/24 -o eth0  -j MASQUERADE

     

    (3) Keep iptables

     sudo bash -c "iptables-save > /etc/iptables.rules"

     

    (4) Auto start on boot by add the following lines into /etc/network/interfaces:

    auto eth0
    iface eth0 inet XXXX
    pre-up iptables-restore < /etc/iptables.rules

      

     

  • VPS Ubuntu 10.10 config (2)

    (1) Java JDK5 Install:

    Append the following two lines into  app source list:   nano /etc/apt/sources.list

    deb http://cn.archive.ubuntu.com/ubuntu/ jaunty  multiverse
    deb http://cn.archive.ubuntu.com/ubuntu/  jaunty-updates  multiverse

    sudo apt-get update

     sudo apt-get install sun-java5-jdk

     

    (2) Java JDK6 Install:

     Append the following  line into  app source list:   sudo nano /etc/apt/sources.list

         deb http://archive.canonical.com/ubuntu maverick partner

     sudo apt-get update

     sudo apt-get install sun-java6-jdk

     

    (3) Check the current java version

      java  -version

     

    (4) Select Java version

     sudo update-java-alternatives -l

    sudo update-java-alternatives -s java-6-sun