Ready for bugfix release 3.1

This commit is contained in:
Dennis Schwerdel 2015-12-03 21:56:23 +01:00
parent 28f7c794e1
commit da70553612
2 changed files with 19 additions and 12 deletions

View File

@ -1,3 +1,10 @@
vpncloud (0.3.1) stable; urgency=medium
* Preventing nodes from connecting to themselves
* Flushing TAP/TUN device after writing to it
-- Dennis Schwerdel <schwerdel@informatik.uni-kl.de> Thu, 03 Dec 2015 21:53:43 +0100
vpncloud (0.3.0) stable; urgency=medium vpncloud (0.3.0) stable; urgency=medium
* Inluding libsodium-1.0.7 * Inluding libsodium-1.0.7

View File

@ -15,7 +15,7 @@ Receiver node:
* Realtek RTL8111/8168/8411 Gigabit Network * Realtek RTL8111/8168/8411 Gigabit Network
* Ubuntu 14.04 (Kernel 3.13.0-63-generic) * Ubuntu 14.04 (Kernel 3.13.0-63-generic)
VpnCloud version: `VpnCloud v0.3.0, protocol version 1, libsodium 1.0.7 (AES256: true)` VpnCloud version: `VpnCloud v0.3.1, protocol version 1, libsodium 1.0.7 (AES256: true)`
The sender runs the following command: The sender runs the following command:
@ -53,9 +53,9 @@ The test is run in 3 steps:
| Throughput test | Bandwidth | CPU usage (one core) | | Throughput test | Bandwidth | CPU usage (one core) |
| ----------------------------- | ------------- | -------------------- | | ----------------------------- | ------------- | -------------------- |
| Without VpnCloud | 926 Mbits/sec | - | | Without VpnCloud | 926 Mbits/sec | - |
| Unencrypted VpnCloud | 873 Mbits/sec | 80% / 95% | | Unencrypted VpnCloud | 875 Mbits/sec | 80% / 95% |
| Encrypted VpnCloud (ChaCha20) | 770 Mbits/sec | 100% | | Encrypted VpnCloud (ChaCha20) | 799 Mbits/sec | 100% |
| Encrypted VpnCloud (AES256) | 835 Mbits/sec | 90% / 100% | | Encrypted VpnCloud (AES256) | 837 Mbits/sec | 90% / 100% |
### Latency ### Latency
@ -65,19 +65,19 @@ The latency is measured with the following command:
$> ping DST -c 100000 -i 0.001 -s SIZE -U -q $> ping DST -c 100000 -i 0.001 -s SIZE -U -q
``` ```
For all the test, the best average RTT out of 5 runs is selected. The latency is For all the test, the best average RTT out of 3 runs is selected. The latency is
assumed to be half of the RTT. assumed to be half of the RTT.
| Payload size | 100 bytes | 500 bytes | 1000 bytes | | Payload size | 100 bytes | 500 bytes | 1000 bytes |
| ----------------------------- | --------- | --------- | ---------- | | ----------------------------- | --------- | --------- | ---------- |
| Without VpnCloud | 158 µs | 164 µs | 171 µs | | Without VpnCloud | 158 µs | 164 µs | 171 µs |
| Unencrypted VpnCloud | 217 µs | 227 µs | 242 µs | | Unencrypted VpnCloud | 208 µs | 225 µs | 236 µs |
| Difference | +59 µs | +63 µs | +71 µs | | Difference | +50 µs | +61 µs | +65 µs |
| Encrypted VpnCloud (ChaCha20) | 231 µs | 245 µs | 259 µs | | Encrypted VpnCloud (ChaCha20) | 229 µs | 242 µs | 259 µs |
| Difference | +14 µs | +18 µs | +17 µs | | Difference | +21 µs | +17 µs | +23 µs |
| Encrypted VpnCloud (AES256) | 223 µs | 237 µs | 251 µs | | Encrypted VpnCloud (AES256) | 223 µs | 232 µs | 249 µs |
| Difference | +6 µs | +10 µs | +9 µs | | Difference | +15 µs | +7 µs | +13 µs |
### Conclusion ### Conclusion
@ -85,4 +85,4 @@ assumed to be half of the RTT.
* VpnCloud achieves over 850 MBit/s with default MTU settings. * VpnCloud achieves over 850 MBit/s with default MTU settings.
* In encrypted mode, VpnCloud reaches over 800 MBit/s with default MTU settings. * In encrypted mode, VpnCloud reaches over 800 MBit/s with default MTU settings.
* VpnCloud adds about 70µs to the latency. * VpnCloud adds about 70µs to the latency.
* Encryption adds an additional latency up to 20µs depending on the packet size. * Encryption adds an additional latency up to 20µs.