分类目录归档:Unix&VPS

Network Booting (PXE)

PXE (Pre eXecution Environment), is a method of having an end computer (client) boot using only its network card.

When using network boot solution, the boot process will be changed from the normal order to:
Power on -> BIOS -> PXE stack built-in the NIC (Network Information Center) -> NBP (Network Boot Program) downloading from server to client’s RAM by TFTP -> NBP’s responsibility to perform the next step

Client machine must support PXE booting, and you need a fast file server.

FOG is a free, open source computer cloning solution. It supports Linux net boot.

CCBoot supports install windows 7 via pxe boot.

We also boot windows without local hard drive.

 

 

Remote Desktop

OpenVZ

This kind of vps is cheap. Some don’t have IPV6 support, so I can build a HE tunnel.

Is easy to install XFCE destop and install x2go server and using the destop over slow intenet.

Ubuntu 14.04

sudo apt-get update
sudo apt-get install xrdp
sudo apt-get install xfce4
# Install XFCE4 terminal (way better than xterm)
sudo apt-get install xfce4-terminal
# Install icon sets sudo apt-get install gnome-icon-theme-full tango-icon-themesudo apt-get install gnome-icon-theme-full tango-icon-theme
echo xfce4-session >~/.xsession

#Edit startup file for xRDP
nano /etc/xrdp/startwm.sh
#!/bin/sh
if [ -r /etc/default/locale ]; then  
. /etc/default/locale  
export LANG LANGUAGE
fi
startxfce4

Source: Tweaking4All.com – How to use xRDP for remote access to Ubuntu 14.04

Ethernet Servers VPS bench(680,1028)

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

System: : GNU/Linux
OS: GNU/Linux — 2.6.32-042stab113.11 — #1 SMP Fri Dec 18 17:32:04 MSK 2015
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap=”UTF-8″, collate=”UTF-8″)
CPU 0: Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz (6999.4 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 1: Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz (6999.4 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
19:27:19 up 5:50, 1 user, load average: 0.53, 0.46, 0.25; runlevel 5

————————————————————————
Benchmark Run: Tue Apr 26 2016 19:27:19 – 19:55:57
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables 22583930.4 lps (10.0 s, 7 samples)
Double-Precision Whetstone 4562.3 MWIPS (9.8 s, 7 samples)
Execl Throughput 781.2 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 429579.2 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 107180.7 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 841976.7 KBps (30.0 s, 2 samples)
Pipe Throughput 1202817.1 lps (10.0 s, 7 samples)
Pipe-based Context Switching 194721.5 lps (10.0 s, 7 samples)
Process Creation 3288.1 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 1186.5 lpm (60.2 s, 2 samples)
Shell Scripts (8 concurrent) 300.5 lpm (60.2 s, 2 samples)
System Call Overhead 2879803.1 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 22583930.4 1935.2
Double-Precision Whetstone 55.0 4562.3 829.5
Execl Throughput 43.0 781.2 181.7
File Copy 1024 bufsize 2000 maxblocks 3960.0 429579.2 1084.8
File Copy 256 bufsize 500 maxblocks 1655.0 107180.7 647.6
File Copy 4096 bufsize 8000 maxblocks 5800.0 841976.7 1451.7
Pipe Throughput 12440.0 1202817.1 966.9
Pipe-based Context Switching 4000.0 194721.5 486.8
Process Creation 126.0 3288.1 261.0
Shell Scripts (1 concurrent) 42.4 1186.5 279.8
Shell Scripts (8 concurrent) 6.0 300.5 500.8
System Call Overhead 15000.0 2879803.1 1919.9
========
System Benchmarks Index Score 680.3

————————————————————————
Benchmark Run: Tue Apr 26 2016 19:55:58 – 20:25:28
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables 38073264.9 lps (10.0 s, 7 samples)
Double-Precision Whetstone 9170.3 MWIPS (9.7 s, 7 samples)
Execl Throughput 4631.0 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 312982.3 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 98788.1 KBps (30.4 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 808232.8 KBps (30.0 s, 2 samples)
Pipe Throughput 1725146.0 lps (10.0 s, 7 samples)
Pipe-based Context Switching 287283.0 lps (10.0 s, 7 samples)
Process Creation 8338.6 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 2021.6 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 289.6 lpm (60.2 s, 2 samples)
System Call Overhead 3610118.3 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 38073264.9 3262.5
Double-Precision Whetstone 55.0 9170.3 1667.3
Execl Throughput 43.0 4631.0 1077.0
File Copy 1024 bufsize 2000 maxblocks 3960.0 312982.3 790.4
File Copy 256 bufsize 500 maxblocks 1655.0 98788.1 596.9
File Copy 4096 bufsize 8000 maxblocks 5800.0 808232.8 1393.5
Pipe Throughput 12440.0 1725146.0 1386.8
Pipe-based Context Switching 4000.0 287283.0 718.2
Process Creation 126.0 8338.6 661.8
Shell Scripts (1 concurrent) 42.4 2021.6 476.8
Shell Scripts (8 concurrent) 6.0 289.6 482.7
System Call Overhead 15000.0 3610118.3 2406.7
========
System Benchmarks Index Score 1028.8

Ubuntu 16.04 LTS Launched

Downloading site

Some of the big improvements:
LXD,aLinux container hypervisor.
ZFS on Linux,a combined file system and logical volume manager designed by Sun Microsystems.
Ceph integration,an object storage based free software storage platform that stores data on a single distributed computer cluster, and provides interfaces for object-, block- and file-level storage.
Snap,Snappy is included by default in Ubuntu 16.04 desktop images. Developers can use snaps to create command line tools, background services as well as desktop applications.
Power8 and ARMv8 support.

4.Getting started with LXD
sudo apt update
sudo apt install lxd
sudo lxd init

The package creates a new “lxd” group which contains all users allowed to talk to
lxd over the local unix socket. All members of the “admin” and “sudoers” groups are automatically added.

The core of LXD is a daemon which offers a REST API( representational state transfer application programming interface) to drive full system containers just like you’d drive virtual machines. LXD is currently based on top of LXC.
Ubuntu provide two such clients:

A command line tool called “lxc”
An OpenStack Nova plugin called nova-compute-lxd
The former is mostly aimed at small deployments ranging from a single machine (your laptop) to a few dozen hosts. The latter seamlessly integrates inside your OpenStack infrastructure and lets you manage containers exactly like you would virtual machines.

LXD achieves 14.5 times greater density than KVM
LXD launches instances 94% faster than KVM
LXD provides 57% less latency than KVM
More density than LVM,the server with 16GB of RAM was able to launch 37 KVM guests, and 536 identical LXD guests.

Linux Bench Mark of Soyoustart server VS Homebased Bay-tray Server

SysBench is a modular, cross-platform and multi-threaded benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load.

$apt-get install sysbench

Soyoustart E3-SAT-3 Intel Xeon E3 1245v2 4c/8t 3.4 GHz+ 32 GB 2x2TB SATA SoftRaid 16IPv4 $56.00CAD/Mnth

$ sysbench –test=cpu –cpu-max-prime=20000 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000

Test execution summary:
total time: 22.2765s
total number of events: 10000
total time taken by event execution: 22.2758
per-request statistics:
min: 2.21ms
avg: 2.23ms
max: 5.35ms
approx. 95 percentile: 2.28ms

Threads fairness:
events (avg/stddev): 10000.0000/0.00
execution time (avg/stddev): 22.2758/0.00

$ sysbench –test=fileio –file-total-size=150G –file-test-mode=rndrw –init-rng=on –max-time=300 –max-requests=0 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1
Initializing random number generator from timer.

Extra file open flags: 0
128 files, 1.1719Gb each
150Gb total file size
Block size 16Kb
Number of random requests for random IO: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random r/w test
Threads started!
Time limit exceeded, exiting…
Done.

Operations performed: 21840 Read, 14560 Write, 46551 Other = 82951 Total
Read 341.25Mb Written 227.5Mb Total transferred 568.75Mb (1.8958Mb/sec)
121.33 Requests/sec executed

Test execution summary:
total time: 300.0083s
total number of events: 36400
total time taken by event execution: 154.0920
per-request statistics:
min: 0.00ms
avg: 4.23ms
max: 67.57ms
approx. 95 percentile: 11.50ms

Threads fairness:
events (avg/stddev): 36400.0000/0.00
execution time (avg/stddev): 154.0920/0.00
$sysbench –test=fileio –file-total-size=150G cleanup

$sysbench –test=oltp –oltp-table-size=1000000 –mysql-db=test –mysql-user=root –mysql-password=XXXXXXXX prepare
$sysbench –test=oltp –oltp-table-size=1000000 –mysql-db=test –mysql-user=root –mysql-password=XXXXXXXX–max-time=60 –oltp-read-only=on –max-requests=0 –num-threads=8 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

No DB drivers specified, using mysql
Running the test with following options:
Number of threads: 8

Doing OLTP test.
Running mixed OLTP test
Doing read-only test
Using Special distribution (12 iterations, 1 pct of values are returned in 75 pct cases)
Using “BEGIN” for starting transactions
Using auto_inc on the id column
Threads started!
Time limit exceeded, exiting…
(last message repeated 7 times)
Done.

OLTP test statistics:
queries performed:
read: 1342600
write: 0
other: 191800
total: 1534400
transactions: 95900 (1598.25 per sec.)
deadlocks: 0 (0.00 per sec.)
read/write requests: 1342600 (22375.45 per sec.)
other operations: 191800 (3196.49 per sec.)

Test execution summary:
total time: 60.0033s
total number of events: 95900
total time taken by event execution: 479.4940
per-request statistics:
min: 1.74ms
avg: 5.00ms
max: 65.49ms
approx. 95 percentile: 6.31ms

Threads fairness:
events (avg/stddev): 11987.5000/25.12
execution time (avg/stddev): 59.9368/0.00

$sysbench –test=oltp –mysql-db=test –mysql-user=root –mysql-password=XXXXXXXX cleanup

Home Tray- Server
$ sysbench –test=cpu –cpu-max-prime=20000 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000

Test execution summary:
total time: 42.9262s
total number of events: 10000
total time taken by event execution: 42.9202
per-request statistics:
min: 4.25ms
avg: 4.29ms
max: 12.57ms
approx. 95 percentile: 4.32ms

Threads fairness:
events (avg/stddev): 10000.0000/0.00
execution time (avg/stddev): 42.9202/0.00

$ sysbench –test=fileio –file-total-size=150G –file-test-mode=rndrw –init-rng=on –max-time=300 –max-requests=0 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1
Initializing random number generator from timer.

Extra file open flags: 0
128 files, 1.1719Gb each
150Gb total file size
Block size 16Kb
Number of random requests for random IO: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random r/w test
Threads started!
Time limit exceeded, exiting…
Done.

Operations performed: 19740 Read, 13160 Write, 42010 Other = 74910 Total
Read 308.44Mb Written 205.62Mb Total transferred 514.06Mb (1.7135Mb/sec)
109.66 Requests/sec executed

Test execution summary:
total time: 300.0087s
total number of events: 32900
total time taken by event execution: 177.1898
per-request statistics:
min: 0.01ms
avg: 5.39ms
max: 53.44ms
approx. 95 percentile: 12.98ms

Threads fairness:
events (avg/stddev): 32900.0000/0.00
execution time (avg/stddev): 177.1898/0.00
$sysbench –test=fileio –file-total-size=150G cleanup

~$ sysbench –test=oltp –oltp-table-size=1000000 –mysql-db=test –mysql-user=root –mysql-password=XXXXXXXX–max-time=60 –oltp-read-only=on –max-requests=0 –num-threads=8 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

No DB drivers specified, using mysql
Running the test with following options:
Number of threads: 8

Doing OLTP test.
Running mixed OLTP test
Doing read-only test
Using Special distribution (12 iterations, 1 pct of values are returned in 75 pct cases)
Using “BEGIN” for starting transactions
Using auto_inc on the id column
Threads started!
Time limit exceeded, exiting…
(last message repeated 7 times)
Done.

OLTP test statistics:
queries performed:
read: 330694
write: 0
other: 47242
total: 377936
transactions: 23621 (393.60 per sec.)
deadlocks: 0 (0.00 per sec.)
read/write requests: 330694 (5510.46 per sec.)
other operations: 47242 (787.21 per sec.)

Test execution summary:
total time: 60.0120s
total number of events: 23621
total time taken by event execution: 479.8122
per-request statistics:
min: 2.88ms
avg: 20.31ms
max: 54.78ms
approx. 95 percentile: 29.62ms

Threads fairness:
events (avg/stddev): 2952.6250/13.99
execution time (avg/stddev): 59.9765/0.00

$sysbench –test=oltp –mysql-db=test –mysql-user=root –mysql-password=XXXXXXXX cleanup

结论:

抵挡的之强E3 服务器的性能,与抵挡的个人Bay-Tray机的比较:

CPU性能  2倍

磁盘读写,稍微快一点,不明显

MySQL性能,5倍。

UnixBench

SoyouStart SYS-E3-SAT-3T

CPU 0: Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz (6784.1 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
…..
CPU 7:
06:34:11 up 45 days, 23:16, 1 user, load average: 1.08, 0.73, 0.43; runlevel 2

————————————————————————
Benchmark Run: Fri Apr 22 2016 06:34:11 – 07:03:19
8 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables 41985868.5 lps (10.0 s, 7 samples)
Double-Precision Whetstone 3860.2 MWIPS (13.9 s, 7 samples)
Execl Throughput 2143.0 lps (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 1341320.6 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 354148.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 3038413.2 KBps (30.0 s, 2 samples)
Pipe Throughput 2810580.9 lps (10.0 s, 7 samples)
Pipe-based Context Switching 125135.9 lps (10.0 s, 7 samples)
Process Creation 9474.5 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 4708.7 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 2601.0 lpm (60.0 s, 2 samples)
System Call Overhead 4995876.6 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 41985868.5 3597.8
Double-Precision Whetstone 55.0 3860.2 701.9
Execl Throughput 43.0 2143.0 498.4
File Copy 1024 bufsize 2000 maxblocks 3960.0 1341320.6 3387.2
File Copy 256 bufsize 500 maxblocks 1655.0 354148.0 2139.9
File Copy 4096 bufsize 8000 maxblocks 5800.0 3038413.2 5238.6
Pipe Throughput 12440.0 2810580.9 2259.3
Pipe-based Context Switching 4000.0 125135.9 312.8
Process Creation 126.0 9474.5 751.9
Shell Scripts (1 concurrent) 42.4 4708.7 1110.5
Shell Scripts (8 concurrent) 6.0 2601.0 4335.1
System Call Overhead 15000.0 4995876.6 3330.6
========
System Benchmarks Index Score 1650.0

————————————————————————
Benchmark Run: Fri Apr 22 2016 07:03:19 – 07:31:57
8 CPUs in system; running 8 parallel copies of tests

Dhrystone 2 using register variables 184253998.2 lps (10.0 s, 7 samples)
Double-Precision Whetstone 34534.8 MWIPS (9.9 s, 7 samples)
Execl Throughput 20302.3 lps (29.6 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 1060155.1 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 267058.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 3048746.6 KBps (30.0 s, 2 samples)
Pipe Throughput 12012576.2 lps (10.0 s, 7 samples)
Pipe-based Context Switching 1552004.4 lps (10.0 s, 7 samples)
Process Creation 49549.3 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 28008.1 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 4678.1 lpm (60.1 s, 2 samples)
System Call Overhead 10960493.1 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 184253998.2 15788.7
Double-Precision Whetstone 55.0 34534.8 6279.1
Execl Throughput 43.0 20302.3 4721.5
File Copy 1024 bufsize 2000 maxblocks 3960.0 1060155.1 2677.2
File Copy 256 bufsize 500 maxblocks 1655.0 267058.0 1613.6
File Copy 4096 bufsize 8000 maxblocks 5800.0 3048746.6 5256.5
Pipe Throughput 12440.0 12012576.2 9656.4
Pipe-based Context Switching 4000.0 1552004.4 3880.0
Process Creation 126.0 49549.3 3932.5
Shell Scripts (1 concurrent) 42.4 28008.1 6605.7
Shell Scripts (8 concurrent) 6.0 4678.1 7796.8
System Call Overhead 15000.0 10960493.1 7307.0
========
System Benchmarks Index Score 5381.0

Bay-tray Server at home

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

System: pioneer-PC: GNU/Linux
OS: GNU/Linux — 3.13.0-85-generic — #129-Ubuntu SMP Thu Mar 17 20:50:15 UTC 2016
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap=”UTF-8″, collate=”UTF-8″)
CPU 0: Intel(R) Celeron(R) CPU J1800 @ 2.41GHz (4832.9 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 1: Intel(R) Celeron(R) CPU J1800 @ 2.41GHz (4832.9 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
06:51:30 up 8 days, 9:01, 1 user, load average: 1.93, 1.43, 0.98; runlevel 2

————————————————————————
Benchmark Run: Fri Apr 22 2016 06:51:30 – 07:19:49
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables 12909173.8 lps (10.0 s, 7 samples)
Double-Precision Whetstone 2181.9 MWIPS (9.9 s, 7 samples)
Execl Throughput 1251.0 lps (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 385660.0 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 110242.6 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 885921.6 KBps (30.0 s, 2 samples)
Pipe Throughput 988040.7 lps (10.0 s, 7 samples)
Pipe-based Context Switching 58298.2 lps (10.0 s, 7 samples)
Process Creation 4310.3 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 3060.0 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 723.9 lpm (60.0 s, 2 samples)
System Call Overhead 1941336.5 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 12909173.8 1106.2
Double-Precision Whetstone 55.0 2181.9 396.7
Execl Throughput 43.0 1251.0 290.9
File Copy 1024 bufsize 2000 maxblocks 3960.0 385660.0 973.9
File Copy 256 bufsize 500 maxblocks 1655.0 110242.6 666.1
File Copy 4096 bufsize 8000 maxblocks 5800.0 885921.6 1527.5
Pipe Throughput 12440.0 988040.7 794.2
Pipe-based Context Switching 4000.0 58298.2 145.7
Process Creation 126.0 4310.3 342.1
Shell Scripts (1 concurrent) 42.4 3060.0 721.7
Shell Scripts (8 concurrent) 6.0 723.9 1206.5
System Call Overhead 15000.0 1941336.5 1294.2
========
System Benchmarks Index Score 649.6

————————————————————————
Benchmark Run: Fri Apr 22 2016 07:19:49 – 07:48:28
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables 23912237.5 lps (10.0 s, 7 samples)
Double-Precision Whetstone 4363.3 MWIPS (10.0 s, 7 samples)
Execl Throughput 3624.6 lps (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 453392.1 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 125918.3 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1111064.5 KBps (30.0 s, 2 samples)
Pipe Throughput 1838487.1 lps (10.0 s, 7 samples)
Pipe-based Context Switching 223319.6 lps (10.0 s, 7 samples)
Process Creation 10257.7 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 4885.5 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 770.6 lpm (60.1 s, 2 samples)
System Call Overhead 2806574.8 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 23912237.5 2049.0
Double-Precision Whetstone 55.0 4363.3 793.3
Execl Throughput 43.0 3624.6 842.9
File Copy 1024 bufsize 2000 maxblocks 3960.0 453392.1 1144.9
File Copy 256 bufsize 500 maxblocks 1655.0 125918.3 760.8
File Copy 4096 bufsize 8000 maxblocks 5800.0 1111064.5 1915.6
Pipe Throughput 12440.0 1838487.1 1477.9
Pipe-based Context Switching 4000.0 223319.6 558.3
Process Creation 126.0 10257.7 814.1
Shell Scripts (1 concurrent) 42.4 4885.5 1152.2
Shell Scripts (8 concurrent) 6.0 770.6 1284.3
System Call Overhead 15000.0 2806574.8 1871.0
========
System Benchmarks Index Score 1128.2

The UnixBech score of the Bay-Tray Atom server is about 1/5 of a SYS E3 Server

Openvpn over IPV6

1,Settings
Starting officially in the 2.3.0 release, OpenVPN supports IPv6 inside the tunnel, and can optionally be configured with IPv6 as a transport protocol for the tunneled data.
To connect to your server over ipv6 (ipv6 transport) use this on both sides:(Both ipv4 and ipv6 will be supported)
proto udp6

2,build client keys
On client :
$sudo apt-get install openvpn
$sudo openvpn –config /path/to/config.ovpn

how to add another client cert in openvpn
assuming you have vars ca.key ca.crt index.txt serial.txt and the rest of files you do
#source ./vars
#./build-key client
DONT do clean-all..

3,Setting up client
The files that need to be securely copied to the client’s /etc/openvpn directory are:
/etc/openvpn/ca.crt
/etc/openvpn/server.key
/etc/openvpn/easy-rsa/keys/client.crt
/etc/openvpn/easy-rsa/keys/client.key

setting owner to be root and mode 600 to key files and 644 to crt files

sudo cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf /etc/openvpn
Open up /etc/openvpn/client.conf with a text editor (such as Nano or vi) and take a look at the following section:

dev tun
remote vpn.server.com 1194 #change to your server’s FQDN
cert client.crt
key client.key
ns-cert-type server
#tls-auth ta.key 1

sudo /etc/init.d/openvpn restart