# Ipq4018 openvpn client performance query

**URL:** <https://forum.openwrt.org/t/ipq4018-openvpn-client-performance-query/39990>\
**Category:** Installing and Using OpenWrt\
**Created:** [July 3, 2019, 12:16am UTC](https://forum.openwrt.org/t/ipq4018-openvpn-client-performance-query/39990 "2019-07-03T00:16:32Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![jeff](https://forum.openwrt.org/letter_avatar/jeff/32/6_449c533f586939b6e5f246632a46421f.png) [@jeff](https://forum.openwrt.org/u/jeff)\
**Post date:** [August 10, 2019, 2:24pm UTC](https://forum.openwrt.org/t/ipq4018-openvpn-client-performance-query/39990/15 "2019-08-10T14:24:36Z")

</div>

Recompiled with `-O2` and the OpenWrt performance appears to have improved to ~ 26 Mbps.

```
--- a/dot.config
+++ b/dot.config
@@ -347,9 +347,10 @@ CONFIG_EXTERNAL_KERNEL_TREE=""
 CONFIG_KERNEL_GIT_CLONE_URI=""
 CONFIG_BUILD_LOG=y
 # CONFIG_SRC_TREE_OVERRIDE is not set
-CONFIG_EXTRA_OPTIMIZATION="-fno-caller-saves -fno-plt"
-# CONFIG_TARGET_OPTIONS is not set
-CONFIG_TARGET_OPTIMIZATION="-Os -pipe"
+CONFIG_EXTRA_OPTIMIZATION="-fno-caller-saves -fno-plt -O2"
+CONFIG_TARGET_OPTIONS=y
+CONFIG_TARGET_OPTIMIZATION="-O2 -pipe"
+# CONFIG_SOFT_FLOAT is not set
 # CONFIG_EXTERNAL_TOOLCHAIN is not set
 CONFIG_NEED_TOOLCHAIN=y
 # CONFIG_TOOLCHAINOPTS is not set

```

---

_[View the full topic](https://forum.openwrt.org/t/ipq4018-openvpn-client-performance-query/39990)._
