AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() I was hoping for more, having read the OpenVPN Performance Thread and wondered if my above issue was contributing. I don't understand how the upload can go much faster, using less CPU while the download is limited so harshly.Īdditionally pivpn speeds on the 4B are 100/100mb/s. I was wondering if anyone else had noticed this as well and had any troubleshooting advice. Other ethernet connected computer (desktop) able to hit 950/950mb/s. I'm running the latest version of Buster. I have run vcgencmd measure_temp with nothing higher than 54C during tests. I've factory reset my router, used many different speed tests and servers, all with the similar results (I can list if need be). On the download side, there is a clear link between CPU usage and network speeds and I don't know what's triggering this. Running browser speed tests through chromium, I'm getting a peak of 200mb/s down with speeds ranging from 20-80mb/s at the end of the test (with 100% CPU usage at peak) and 600-800mb/s up on average, peaking at 900mb/s (with about 50% CPU usage at peak). I bought a pi 4B, anticipating I'd get a sizable network performance boost given the better CPU, 4GB ram, and gig Ethernet. "I own a 3B+, run pivpn and get speeds of approximately 70/70mb/s when connected to the VPN (ISP speeds are gig symmetrical connected via ethernet VPN cipher is aes-256-cbc CPU usage at 80% when speeds hit 70's and limits speeds from going higher). In my post below, I outlined the troubleshooting I did without success Ethernet and wifi connection occasionally dropping for 1-3 seconds, intermittently. Uploads are not affected and I get at least 600 each test, most times in the 800's without the same CPU usage. In short, I am getting a peak of 200-300Mb/s download before my CPU usage goes to 100% and my speed falls to about 50-100Mb/s. I posted an article on the raspberry pi reddit page but didn't get any response there (I'll paste the post below). Send a webmention or use a link below to interact via twitter.I'm having the same issue. The comments on this page are fed by tweets, using brid.gy and webmention.io. Here is a sample dashboard you can import which includes the panel shown below: SpeedTest Grafana dashboard. You can now simply add a panel to your Grafana instance to show the download, upload and ping results over time. Any more than 15 minutes is probably unnecessary and may have an adverse effect on your perceived network quality. every 15 minutes: */15 * * * * /home/pi/rpi-speedtest-influx.py. If everything looks ok, we can add a cron job for our user (using crontab -e) to run this script at a regular interval, e.g. You should be able to see the measurement in influx as soon as the script has exited, check by running influx CLI and execute the following to check your measurement (swapping database and measurement names for those you defined in your python script): use home We'll need to make it executable: chmod +x rpi-speedtest-influx.py and then we can run it to test it out. Ifclient = InfluxDBClient (ifhost ,ifport ,ifuser ,ifpass ,ifdb ) # format the data as a single measurement for influx # run a single-threaded speedtest using default server ![]() Then we can create a python script rpi-speedtest-influx.py in our home directory to run tests: #!/usr/bin/env python We'll create a simple python script which runs a test and sends the data to influxdb, then set it to run once every 15 minutes using Cron.įirst, we need to install the speedtest-cli client: sudo apt install -y python-pip by Ookla is probably the most popular connection testing services, and they handily provide a CLI to run tests programmatically. Now that you've got your Pi set up with Influx & Grafana and you're collecting some system stats, it's time to measure network performance!
0 Comments
Read More
Leave a Reply. |