Linux Tutorial - How to Setup up VPN server on Raspberry Pi

OpenVPN on the Pi works well but be aware of the poor performance of the Pi's LAN ... if your doing this because your using it with kodi/other streaming then your chances of freezing due to LAN issues increase.
 
OpenVPN on the Pi works well but be aware of the poor performance of the Pi's LAN ... if your doing this because your using it with kodi/other streaming then your chances of freezing due to LAN issues increase.

would a pi2 or 3 be better?
 
yes a pi 3 is 10x faster than a pi 2 ect

Not sure where you got that from, the PI2 is a quad core ARM processor running at 900mhz, the PI3 is running at 1.2ghz, so at most a third faster... but the limitation is the Ethernet port is not connected to a real Ethernet controller, it's connected to the USB which is actually a limited implementation. On both you will be limited to about 35mbit assuming the limitation is the USB/Lan interface.

Aside from the extra 300mhz, the Pi3 has better PSU management, wifi and bluetooth onboard (worth it for the wifi alone)
 
Last edited:
pi-3-vs-pi-7.jpg

Pi 3 vs Pi 2
Pi versus Pi
One year after the Raspberry Pi 2 B was unveiled as the first ‘performance’ Pi, the Raspberry Pi Foundation has announced the Raspberry Pi 3. It looks the same, it costs the same. But it isn’t the same.

We’ve been using the two circuit board computers side-by-side to see if it’s worth upgrading. Without wanting to spoil the surprise, claims that the Raspberry Pi 3 is 50 per cent faster than the Pi 2 B are on-the-money, more-or-less.

Raspberry Pi 3 vs Pi 2: Hardware
In typical Raspberry Pi Foundation style, the Raspberry Pi 3 doesn’t aim for hardware upgrades that’ll just look good on a spec sheet and mean little in terms of real performance. Quite the opposite.

The Raspberry Pi 2 has a quad-core 900MHz CPU, the Pi 3 a quad-core 1.2GHz one. Both have 1GB RAM and both use a fourth-generation VideoCore CPU.

From a glance you could dismiss this as a connectivity upgrade, but the performance boost is big. Very big.

First, while the CPU only gains 300MHz, it also updates its architecture from a Cortex-A7 set to a Cortex-A53 one. This is an architecture boost from 32-bit to 64-bit, and gets you better performance for your clock speed.

Next up, the GPU. Both are VideoCore IV chipsets, but where the Pi 2 is clocked at 250MHz, this new one is 400MHz.

While they’re both designed to deliver 1080p video rather than 4K, this means the graphics chip has been scaled up with the CPU. The Raspberry Pi Foundation knows what it’s doing.

Perhaps the least well-documented upgrade is the RAM. Both models have 1GB, both are forms of DDR2. But where the Raspberry Pi 2 has 450MHz, RAM, the Pi 3 has 900MHz RAM.


retropie and psx emulator playing wipeout is amazing :)
 
pi-3-vs-pi-7.jpg

Pi 3 vs Pi 2
Pi versus Pi
One year after the Raspberry Pi 2 B was unveiled as the first ‘performance’ Pi, the Raspberry Pi Foundation has announced the Raspberry Pi 3. It looks the same, it costs the same. But it isn’t the same.

We’ve been using the two circuit board computers side-by-side to see if it’s worth upgrading. Without wanting to spoil the surprise, claims that the Raspberry Pi 3 is 50 per cent faster than the Pi 2 B are on-the-money, more-or-less.


Raspberry Pi 3 vs Pi 2: Hardware
In typical Raspberry Pi Foundation style, the Raspberry Pi 3 doesn’t aim for hardware upgrades that’ll just look good on a spec sheet and mean little in terms of real performance. Quite the opposite.

The Raspberry Pi 2 has a quad-core 900MHz CPU, the Pi 3 a quad-core 1.2GHz one. Both have 1GB RAM and both use a fourth-generation VideoCore CPU.

From a glance you could dismiss this as a connectivity upgrade, but the performance boost is big. Very big.

First, while the CPU only gains 300MHz, it also updates its architecture from a Cortex-A7 set to a Cortex-A53 one. This is an architecture boost from 32-bit to 64-bit, and gets you better performance for your clock speed.

Next up, the GPU. Both are VideoCore IV chipsets, but where the Pi 2 is clocked at 250MHz, this new one is 400MHz.

While they’re both designed to deliver 1080p video rather than 4K, this means the graphics chip has been scaled up with the CPU. The Raspberry Pi Foundation knows what it’s doing.

Perhaps the least well-documented upgrade is the RAM. Both models have 1GB, both are forms of DDR2. But where the Raspberry Pi 2 has 450MHz, RAM, the Pi 3 has 900MHz RAM.


Geekbench 2.4.2

Pi 3 - 2086

Integer 1641

Floating point 3353

Memory 1204

Stream 978

Pi 2 - 1302

Integer - 998

floating point - 2126

Memory - 729

Stream - 631

Sticking to familiar benchmarks we also tried Sunspider 1.0.2 . While, like Geekbench 2.4.2, it’s no longer supported, it’s a benchmarks we’ve used many, may times over the years. It’s a Javascript benchmark, if you’ve not come across it before. It makes a computer perform a whole bunch of tasks and calculates how long it takes to complete. Lower scores are better, then:



Pi 3

2888.8ms


Pi 2

4705ms





retropie and psx emulator playing wipeout is amazing :)
 
The performance increase listed here says up to 50%. A long way from the 10x you quoted ;)

This is comparing applications developed to take advantange of the core changes in the CPU, for example the change to 64bit ARM will not offer any advantage from the 32bit ARM if the code etc. is compiled for 32bit. In addition a 64bi OS core would be needed. Raspian etc. released the OS as 32bit so it could run on Pi, Pi B+ and Pi2. to the best of my knowledge this has not been released.

Even with the improvements the components that are unchanged that were bottlenecks before are still the same now. USB/Ethernet performance is a weakness of the Pi. A fundamental hardware redesign would be needed to address this.

One interesting and relatively unknown feature of the Pi3 is a new hidden boot rom that allows it to boot without an SD card, instead using netboot. Quite nice if you have USB hard drive and don't want to use an SD card for booting from - can have multiple boot images without needing dozens of cards. etc.
 
Back
Top