VPN performance problem


 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support VPN performance problem
# 1  
Old 11-30-2009
VPN performance problem

This is a weird problem I've been butting my head against for days now...

I have two OpenVPN servers set up with identical configurations except for the keys. One of them is hosted in a datacenter with a large backbone, the other is hosted on my home server's limited residential internet. One of them delivers consistent topped-out performance(100 kilobytes per second) even while under network load, the other delivers at best 30 kilobytes per second when load-free. Care to guess which one is which?

You'd guess I'd get better performance on the VPS, right? Wrong! My anemic home server gets better performance and throughput than my hosting provider. This is made doubly odd by the fact that throughput to my hosting provider seems fine in any other way I've thought to test. CPU load, I/O load, network load, all of those look minimal.

They're running nearly identical systems, with the same OS(Gentoo Linux) and very similar versions of OpenVPN -- indeed, their specific support for Gentoo and OpenVPN both are reasons this provider was picked. No firewalls or bandwidth throttling is involved yet. The latency to both hosts is nearly identical(i.e. terrible Smilie But my client's behind a sat connection, so it's to be expected ) I'm nearly out of ideas. Is it time to fire my hosting provider? Any suggestions for alternatives?

Last edited by Corona688; 11-30-2009 at 01:16 PM..
# 2  
Old 11-30-2009
Your OpenVPN software is remotely hosted on dedicated, shared hosting, virtual hosting ???

Edit:

If virtual (you said VPS), what is the platform and provider?
# 3  
Old 11-30-2009
Virtual hosting, yes. The platform is OpenVZ. I can install most any OS I want inside the virtual environment, I've tried several now with no better performance. My provider is vpsville.ca. They supposedly host lots of VPN connections, some with performance up to 60 megabit, but I doubt any of those are dealing with latency like mine.
# 4  
Old 11-30-2009
VPS performance can be really bad, as you know. It can also be quite good.

I posted this earlier today. It has some good performance graphs, in general, comparing a number of VPS providers.

https://www.unix.com/web-programming-...-new-post.html

Maybe you can run some of the same benchmarks as the author above and compare?
# 5  
Old 11-30-2009
It was the provider. Linode had none of vpsville's problems.
# 6  
Old 11-30-2009
Quote:
Originally Posted by Corona688
It was the provider. Linode had none of vpsville's problems.
That is great to here.

I just signed up with Linode to set up another OpenX server but had a really bad initial sign-up experience that I mini-reviewed here.

I'm encouraged that you had a positive experience and was able to sign up quickly and get your VPN working better.
# 7  
Old 11-30-2009
My experience was definitely nothing like that. Their system was so smooth I didn't even need emailed login information; they needed some passwords and my credit card info and bam, I was already logged in and setting up my system.

Their gentoo environment is also far better than vpsville's. vpsville had an incomplete version that required troubleshooting in order to install packages at all. linode at least included the portage tree, which made everything else easy. vpsville also had special hoops to jump through to install a tun device, and even then I needed to bother their support to get it working right. linode's VPS came with one that worked already.

Last edited by Corona688; 11-30-2009 at 06:04 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Performance problem in Shell Script

Hi, I am Shell script beginner. I wrote a shell programming that will take each line of a file1 and search for it in another file2 and give me the output of the lines that do not exist in the file2. I wrote it using do while nested loop but the problem here is its running for ever . Is there... (12 Replies)
Discussion started by: sakthisivi
12 Replies

2. Cybersecurity

VPN Initial Connection Problem

Hey everyone. I have a problem, but it may be my lack of understanding that is the cause. Ok so I attend a technical school, and needless to say there's a lot of wannabe hackers, pranksters and what not. So from my laptop I'd like to connect to the wireless AP's around campus, but security is a... (1 Reply)
Discussion started by: Lost in Cyberia
1 Replies

3. UNIX for Advanced & Expert Users

Performance problem with bidirectional nc

Working on a simple, half duplex network diagnostic that will run anywhere using nc and dd. Performance is symmetrical with sink and source nc processes open as a server: nc -vkl 5000 > /dev/null & cat /dev/zero | nc -vkl 5001 & With this on the client: nc host0 5001 | dd of=/dev/null... (0 Replies)
Discussion started by: netdrx
0 Replies

4. UNIX for Dummies Questions & Answers

Problem when I try to Install a Client VPN Cisco

Hi Gurus of UNIX, I have a problem when I try to install a software VPN Cisco in Laptop (HP530). I do the following procedures: Part 2 - VPN Client Compilation We will now set up the vpn client. As there is no official Cisco VPN Client for OpenSolaris X86 available, we will use vpnc.... (1 Reply)
Discussion started by: andresguillen
1 Replies

5. UNIX for Dummies Questions & Answers

Network performance problem

I have a Teradata Machine, using MP-RAS Unix, with a 1000 Intel Ethernet card and a Cisco switch. If I configure the ethernet card and the switch to auto, so they negotiate to 1000, or configure the ethernet card and switch manually to 1000Full or 100Full, the velocity is very very low. Only... (2 Replies)
Discussion started by: cuatrodos
2 Replies

6. Linux

vpn problem

Trying to connect to my companies VPN with vpnc but I keep getting an error that the target failed to respond. I run wireshark and see that my host sends out a few ISAKMP packets but gets no response and gives up. Any ideas what can cause this to happen? Is there someway that UDP traffic could... (0 Replies)
Discussion started by: osulinux
0 Replies

7. Solaris

Performance problem

Hi All, There is a virtual user "ecoouk" which logs on to the server and runs some scripts. I want to know how much server performance can I gain if I put off all the scripts run by this user. Please tell me how to analyse how much resources a specific user is using. Regards, Abhishek (3 Replies)
Discussion started by: max29583
3 Replies

8. UNIX for Advanced & Expert Users

performance problem

Hello, I have a mail server (sendmail) with SUNOS 5.5.1. Just recently it began to respond very slowly. I used vmstat to check the performance data. Only interupt, system call and CPU context swiching are relatively high. Other statistics are normal, especially CPU utilization are very... (5 Replies)
Discussion started by: caoai
5 Replies
Login or Register to Ask a Question