should a core i3 3.3ghz openvpn server max out at 47mbps?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
should a core i3 3.3ghz openvpn server max out at 47mbps?
title says it all. I have a linux router/vpn server with a core i3 2120 cpu. For vpn connnections to the public internet this isn't an issue, but i'm curious why an iperf test or an ftp download maxes out at around 47-50mbps.
Local tests on the gigabit LAN without the vpn achieves around 947mbps. But over the vpn up stops at around 47. CPU usage by openvpn during a transfer goes up to no more than 18-20%.
motherboard is intel dh77eb, 4gb RAM, arch linux installed on an msata 6gbps drive. it functions as an iptables router for 4 separate networks including the internet.
The number of %CPU for particular process is average usage for all threads. You can hit 1 to show all individual threads usage. If individual thread(CPU) is high, that's your CPU power.
The number of %CPU for particular process is average usage for all threads.
Incorrect. The %CPU shown on top is for one processor. If a process is multi-threaded you can see this number jump way above 100%. A value of 20% means it's using 20% of one core of the processor. A dual core CPU like the OP's won't be saturated until you see 200% usage in top (one 200% process, two 100% processes, four 50% processes, etc). Of course this is ignoring hyperthreading though, which changes things a bit.
Last edited by suicidaleggroll; 06-10-2013 at 02:41 PM.
afaik openvpn is not multithreaded... i could be wrong. in any case I would think that I should be getting more than 47mbps.... is there anything else that could slow it down? i've tested another openvpn setup on a 1.8GHz sempron cpu, and was able to get ~80mbps, so.... somethings up..
figured it out, kind of a facepalm thing. some time ago I had added some tc/iptables classes on the internal interface to limit the speed to around 50mbps. stupid me, didn't make the connection that this would also apply to the tunneling interface, limiting iperf tests done on that interface as well. temporarily removed the tc stuff and speed is around 175-200mpbs now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.