{"id":53276,"date":"2019-11-28T00:00:00","date_gmt":"2019-11-27T21:00:00","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/bitva-l2tp-rras-vs-softether"},"modified":"2020-02-18T14:01:10","modified_gmt":"2020-02-18T11:01:10","slug":"bitva-l2tp-rras-vs-softether","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/bitva-l2tp-rras-vs-softether","title":{"rendered":"Battle of L2TP, RRAS vs SoftEther","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/ultravds\/blog\/477512\/\"><img decoding=\"async\" alt=\"Battle of L2TP, RRAS vs SoftEther\" src=\"\/wp-content\/uploads\/2019\/11\/8519413e0fe465ce7c06d71f65c79bcc.png\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><br \/>\n<i>\u201cA stolen picture from the West to grab attention\u201d<\/i><\/p>\n<p>In our previous articles, we discussed how to work with <noindex><a rel=\"nofollow\" href=\"https:\/\/ultravds.com\/\">VDS<\/a><\/noindex> Windows Server Core 2019 on our new UltraLight plan for 99 rubles per month. We offer another way to use this plan. This time, we will talk about what to choose if you need a VPN for casual use or a static IP address, which is, by the way, more convenient to use instead of Hamachi and everything else if you really want to play Heroes or Warcraft 3 over a local network. We won\u2019t talk about setup, we will discuss performance.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h2>Testing methodology<\/h2>\n<p>\nRRAS and SoftEther were chosen based on ease of installation, L2TP protocol support, and the ability to manage through a GUI.<\/p>\n<p>For SoftEther and RRAS, an L2TP connection with a shared key was used through standard Windows tools. It was set up as tested.<\/p>\n<p>The operating system for SoftEther is Ubuntu 18.04 LTS, and for RRAS it is Windows Server Core 2019. All operating systems received the latest updates as of November 21, 2019, before testing.\u00a0<\/p>\n<p>1 GB of RAM was allocated to the Hyper-V second generation virtual machine, along with CPU limits. The order of the test group execution is as follows:<\/p>\n<p>On all 8 cores:<\/p>\n<ol>\n<li>Unlimited<\/li>\n<li>Limit at 50%<\/li>\n<li>Limit at 25%<\/li>\n<li>Limit at 5%<\/li>\n<li>Limit at 1%<\/li>\n<\/ol>\n<p>\nOn 4 cores:<\/p>\n<ol>\n<li>Unlimited<\/li>\n<li>Limit at 50%<\/li>\n<li>Limit at 25%<\/li>\n<li>Limit at 5%<\/li>\n<li>Limit at 1%<\/li>\n<\/ol>\n<p>\nOn a single core:<\/p>\n<ol>\n<li>Unlimited<\/li>\n<li>Limit at 50%<\/li>\n<li>Limit at 25%<\/li>\n<li>Limit at 5%<\/li>\n<li>Limit at 1%<\/li>\n<\/ol>\n<p>\nDefault settings were applied on all VPN servers, and NAT was enabled. All virtual machines are on one host and the same virtual switch.<\/p>\n<p>To assess network performance, testing was conducted between the server and client without a VPN connection.<\/p>\n<p>The test was conducted using TamoSoft Throughput Test in TCP only mode, with the average values taken for tables and graphs. Data was collected over 5 minutes and 30 seconds for each test.<\/p>\n<p>For a better understanding of the limits of both implementations, we will first test the bandwidth of the virtual switch.<\/p>\n<p><img decoding=\"async\" alt=\"Battle of L2TP, RRAS vs SoftEther\" src=\"\/wp-content\/uploads\/2019\/11\/94000a5e139f22ceb84cdf80189d2958.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\nHere are the results from the testing software. All subsequent results will be wrapped in tables.<\/p>\n<p>As we can see, the virtual switch is not a bottleneck in testing and nearly achieves the theoretical limit of 10 gigabits.<\/p>\n<p><img decoding=\"async\" alt=\"Battle of L2TP, RRAS vs SoftEther\" src=\"\/wp-content\/uploads\/2019\/11\/2e3bc803ba7e7ba9d5bced4bcde3d629.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<i>How the test network looked 'physically'<\/i><\/p>\n<h2>Results:<\/h2>\n<p>\nOn a single core:<\/p>\n<p><img decoding=\"async\" alt=\"Battle of L2TP, RRAS vs SoftEther\" src=\"\/wp-content\/uploads\/2019\/11\/271657223e5e03a4547683e946d754c6.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<img decoding=\"async\" alt=\"Battle of L2TP, RRAS vs SoftEther\" src=\"\/wp-content\/uploads\/2019\/11\/a922a6f6582dbfbe4d2118a4fd0d3b8d.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\nIn terms of single-core discipline, both servers perform equally.<\/p>\n<p>On 4 cores:<\/p>\n<p><img decoding=\"async\" alt=\"Battle of L2TP, RRAS vs SoftEther\" src=\"\/wp-content\/uploads\/2019\/11\/4696ef6122e55becbe837307ab51c386.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<img decoding=\"async\" alt=\"Battle of L2TP, RRAS vs SoftEther\" src=\"\/wp-content\/uploads\/2019\/11\/17c911ac89ac1e0255b43a8e6598d0a8.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\nOn 8 cores:<\/p>\n<p><img decoding=\"async\" alt=\"Battle of L2TP, RRAS vs SoftEther\" src=\"\/wp-content\/uploads\/2019\/11\/0a2d96b45c0a62a4cf7b46257cb03294.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<img decoding=\"async\" alt=\"Battle of L2TP, RRAS vs SoftEther\" src=\"\/wp-content\/uploads\/2019\/11\/b9b20a0888c1eead274e1fc02754a21a.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\nHere we can clearly see which solution scales best with the number of cores. By reducing the performance of each core, RRAS compensated for losses with quantity, something SoftEther did not do.<\/p>\n<p><i><b>Memory consumption by the system<\/b><\/i><\/p>\n<p><img decoding=\"async\" alt=\"Battle of L2TP, RRAS vs SoftEther\" src=\"\/wp-content\/uploads\/2019\/11\/6b0f6b202a8fe9df71b6599224ef50e5.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\nThe amount of RAM consumed by SoftEther increased with the number of cores, rising from 122 MB to 177 MB, but is still less than that of RRAS.<\/p>\n<p>The RRAS service itself consumes about 200 megabytes of memory, excluding the total system consumption.<\/p>\n<p><i><b>Throughput under different conditions<\/b><\/i><\/p>\n<p><img decoding=\"async\" alt=\"Battle of L2TP, RRAS vs SoftEther\" src=\"\/wp-content\/uploads\/2019\/11\/23d641fc8f073f6fa84998465d0b3fa4.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\nTotal throughput without any CPU limitations.<\/p>\n<p><img decoding=\"async\" alt=\"Battle of L2TP, RRAS vs SoftEther\" src=\"\/wp-content\/uploads\/2019\/11\/57c462b0abb10805be0103cf1110acfb.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\nIf you still haven't chosen the right solution for you, perhaps this table will help you decide. It shows the total throughput under CPU shortage conditions.<\/p>\n<p><img decoding=\"async\" alt=\"Battle of L2TP, RRAS vs SoftEther\" src=\"\/wp-content\/uploads\/2019\/11\/fe21f3485dfa3e70bea3aefb3538d9b8.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\nNote that on four and one core, the performance of SoftEther is higher than on eight. Such low performance is not encountered anywhere, but the testing itself indicates how well the algorithm truly scales with the number of cores.<\/p>\n<h2>Conclusion:<\/h2>\n<p>\nConnecting to SoftEther with CPU restriction did not succeed on the first attempt; it was necessary to first increase the limit, connect, and then reduce the limit. This imposes a limitation on its deployment in very constrained environments. RRAS always logs in instantly.<\/p>\n<p>If you have a machine with many cores, prefer RRAS. For SoftEther, you can leave it with 4 cores. The author would have, if used, allocated just one core to it.<\/p>\n<p>What and where to place \u2013 you decide. If you have 99 rubles for <noindex><a rel=\"nofollow\" href=\"https:\/\/ultravds.com\/\">VPS<\/a><\/noindex> a Windows Server on board, RRAS is still the optimal choice.\u00a0<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/ultravds.com\/\"><img decoding=\"async\" alt=\"Battle of L2TP, RRAS vs SoftEther\" src=\"\/wp-content\/uploads\/2019\/11\/c1cb0b14f4669507fef10c7846f4e1af.png\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><br \/>\n<br \/>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/ultravds\/blog\/477512\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u00ab\u0423\u043a\u0440\u0430\u0434\u0435\u043d\u043d\u0430\u044f \u0441 \u0437\u0430\u043f\u0430\u0434\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u0434\u043b\u044f \u043f\u0440\u0438\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f\u00bb \u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0445 \u043d\u0430\u0448\u0438\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445 \u043c\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043b\u0438, \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 VDS \u043d\u0430 Windows Server Core 2019 \u043d\u0430 \u043d\u0430\u0448\u0435\u043c \u043d\u043e\u0432\u043e\u043c \u0442\u0430\u0440\u0438\u0444\u0435 UltraLight \u0437\u0430 99 \u0440\u0443\u0431\u043b\u0435\u0439 \u0432 \u043c\u0435\u0441\u044f\u0446. \u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0441\u043f\u043e\u0441\u043e\u0431 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0442\u0430\u0440\u0438\u0444\u0430. \u041d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u0440\u0435\u0447\u044c \u043f\u043e\u0439\u0434\u0435\u0442 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043b\u0443\u0447\u0448\u0435 \u0432\u044b\u0431\u0440\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0443\u0436\u0435\u043d VPN \u0434\u043b\u044f \u043b\u0435\u043d\u0438\u0432\u044b\u0445 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-53276","post","type-post","status-publish","format-standard","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/bitva-l2tp-rras-vs-softether\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0411\u0438\u0442\u0432\u0430 L2TP, RRAS vs SoftEther | ProHoster\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/bitva-l2tp-rras-vs-softether\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-11-27T21:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-18T11:01:10+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47 The Battle of L2TP, RRAS vs SoftEther | ProHoster","description":"","canonical_url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/bitva-l2tp-rras-vs-softether","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0411\u0438\u0442\u0432\u0430 L2TP, RRAS vs SoftEther | ProHoster","og:url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/bitva-l2tp-rras-vs-softether","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-11-27T21:00:00+00:00","article:modified_time":"2020-02-18T11:01:10+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"53276","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-24 06:46:20","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 17:47:55","updated":"2026-01-24 06:46:20","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/53276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=53276"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/53276\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=53276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=53276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=53276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}