Kotetsu

i'm zigzagoon!

  • he/him/they/them

kotetsu // enby // nd // 32

pfp by kitsovereign
banner by gluepaw


tjc
@tjc

I was doing a fresh rsync backup of the home directory on a laptop I hadn't previously backed up. I noticed that with the verbose option enabled, rsync was reporting about 55 KB/s upload speed -- about as good as dial-up modem speed. I don't know if it's always been this bad for a while, or if I was only noticing it when looking at a program that was continuously reporting the upload speed.

I noticed that when I switched from home wifi to phone tethering, the upload speed went up to about 1 MB/s, which isn't what I would expect. I didn't want to run into some hidden data cap by uploading 100 GB over my cell phone, so I kept looking.

I found the fix on a six-year-old forum page: edit /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf" and change the line wifi.powersave = 3towifi.powersave = 2`.

After I did this, and reconnected to my home wifi, rsync started reporting between 2 MB/s and 4 MB/s. Even at the low end of that range, that's a 36x speedup from editing one line in a config file.

I don't know what "WiFi Powersave" is or why turning it on makes your connection 36 to 75 times slower. Nor do I know why the "make your connection 36 to 75 times slower setting" is the default in Ubuntu. Nor do I know why even with the "make your Internet slow" setting enabled, using my phone as an access point was still fast while using my home wifi resulted in dialup speed.

Why is this the default??


76f0e4667ed32667d2bfc063699b246e
@76f0e4667ed32667d2bfc063699b246e
This page's posts are visible only to users who are logged in.

tati
@tati

is this why i had to run a cable to my home server fuuuuccccckkkk


ceryl
@ceryl

I just made this change and everything immediately improved god damn what the fuck Linux.


You must log in to comment.

in reply to @tjc's post:

For what it’s worth dialup was even worse than 55 KB/s, because its speed is measured in kbps, not KBs. It was more like 7 KB/s (because computers measured download speed in KB but modems measured their throughput in kb, and there are 8 bits in a byte)

We have two desktops and a ThinkPad running three different distros here - my desktop is Arch, my partner's is Mint, and the ThinkPad is Debian. Neither Arch nor Debian have this file at all, but Mint (the Ubuntu derivative) absolutely does, which we've modified now. I have not used Ubuntu in something like 15 years so I was thinking as I read that this was very atypical. All I can guess from the above is that this is just strange meddling on Canonical's part for the sake of some usability platitude or another, which is not surprising to me at all considering their reputation.

I work with Ubuntu as a server OS at work and this isn't the first/only questionable change they've ever made. Ubuntu 20.04 LTS doesn't apply tweaks from sysctl files, so if you need them for server performance tweaks you have to use a kludge to apply them yourself! :D

in reply to @tati's post: