I have a home wifi access point consisting of a small Intel board with Atom CPU, 4 GB of memory and a PCI wifi card. Everything works fine, only that I experience major lags during playing of computer games online. I am not entirely sure that it is the router's fault, but it seems to vanish after a reboot of the AP. During such lags, for up to 3 seconds, no packages are received by the game, while other services (like Teamspeak) keep working. It seems to be a single UDP (?) connection that hangs for some seconds. Also when I bypass the router and use the ethernet of my internet modem, the lags vanish as well.
Now, how could I find the root of the problem? The high traffic of the game seems to trouble the router so that it hangs sometimes and I don't know how to create artificial traffic conditions similar to the ones during gameplay.
On the AP,
hostapd is used for the Wifi and the traffic is routed between the ethernet port and the Wifi clients. I basically followed this tutorial and set up a simple bridged network.
So in short: How can I test my Linux Wifi Access Point for high traffic and other heavy conditions?