Improved OPNsense latency and performance - New setup

Started by hungnt, December 12, 2023, 10:02:09 AM

Previous topic - Next topic
Hello, first of all, I want to apologize for my poor knowledge. I hope to receive further instruction

I have the labs setup as shown in the attached photo. OPNsense plays the role of DHCP server and load balancing network.

After setup, I have seen the problem that when users use wifi and connect to the webserver (internal), there is sometimes high latency. It feels like a 1-2 second delay before everything starts loading.

I want to ask what I can configure, or what functions I can turn on or off to improve performance. Or is there a way I can check the problem?

Below are my configuration parameters:
OPNsense setup on Proxmox server.
Network bandwidth: 1Gbps on all wired connections
Card LAN intel 1Gpbs.
Wifi device TP link AX50
The bandwidth I measured with iperf from the user's computer to the webproxy and DNS server is about 400Mbps

I have attached a photo of the ping in the comment





Hi,

here is what I would do :
1) Locate the issue (which equipement is it coming from?) ;
2) Identify the component/service responsible for the issue ;

Your network tools :
- Ping/Traceroute ;
- Packet capture ;
- Logs.

Based on you architecture, you should check whether the latency is seen by your OPNsense.
Todo so, you can go to "Interfaces / Diagnostics / ping or trace route or packet capture".

If latencies are still present then it's between you virtual OPNsense and webserver. If not, it's betweeen the AP and your virtual OPNsense.
Knowing that is almost half the job ;)

Good luck.

did you get your latency issue fixed?
How low did it come down to using proxmox?