I want to share something (which some of you may already know) about Raspberry Pi's wireless performance.
I recently bought a Pi 3 and I noticed that the ping from my PC to the Pi is around 70-80ms, while all the devices and the router are within 1 meter radius. Also I wasn't able to access domoticz web server(getting domoticz offline page) from the first try, sometimes I had to refresh few times.
It turned out the problem comes from the wireless power management of the Pi, which turns of the Wifi(or switches to low-power mode) when the device is unused for certain amount of time(some forums say 1minute)
if you type
Code: Select all
iwconfig
To turn it off do the following:
1. Open the file in nano
Code: Select all
sudo nano /etc/network/interfaces
Code: Select all
post-up iw dev $IFACE set power_save off
Code: Select all
sudo reboot
Code: Select all
iwconfig
After I turned off the power management the ping went from 70-80ms to a stable 4-5ms.
Hope you find the information usefull!!!
PS: Since I am new to the forum, I might not placed the thread at the correct place. Please excuse me for this.