New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make units for transfer rates configurable #234
Comments
I don't think it is. In my experience transfer rates are usually given in bits per second, see for example broadband services (usually marketed as 24 Mbps and similar, seldom as 3 MB/s). I could see a case for allowing whatever rates the user is more comfortable with; low on my prio list, pull requests accepted. |
What's about a tooltip with the other unit? |
Yeah, or click the unit to cycle between b/s, B/s, B/min (seen in at least some old crappy backup software I remember). |
It's just a matter of preference, I think there should be an option to cycle between B/s and b/s and also I think the scale should adapt in function of the speed. Like 3MBps but if it drops below it's shown as KBps and so on. |
OK, then a selectbox in settings can be a solution? |
Sure. |
Please can we use unambigous standardised units (KiB or MiB per second)? |
We are, although that may not be obvious unless you already know about it. ;) The following units are currently in use in the syncthing GUI;
Personally I think this is As It Should Be(tm), but at some point I guess we'll gain KiB/MiB per second as an option for transfer rates. Edit: Oh, there is actually one crappy inconsistency. The config values for rate limits are labeled as being in "KBps" which is a non-unit. I meant "KiB/s" here, that should be cleaned up. And you could argue that I just said I like rates in bits per second so what gives, and I don't know... |
Ah yeah. I just saw KB and freaked out. |
@jpjp As you should! |
Firstly - sorry for the duplicate bug report, no idea why I thought no one else raised the issue. So if I may sum up the comments above, calmh , you're ok with adding an option for the measurement unit (choosing between Mbps and MiB/s) in the settings? |
There's nothing wrong with kB and MB, as long as they mean 1,000 and 1,000,000. I think that makes more sense for file sizes/amounts of data, and KiB/MiB should only ever be used for RAM sizes (which naturally come in powers of 2, unlike file sizes), but that's just my opinion. Networking is always measured in 1000s like "kbit/s" though. |
Wikipedia disagrees... https://en.wikipedia.org/wiki/Data_rate_units |
It's an opinionated matter, even the wikipedia article was written by someone with just an opinion. I'm pretty sure there wasn't a statistical survey on the matter. Plus "modern residential high-speed Internet connections are most commonly expressed in multiples of bits per second, such as megabits per second (Mbit/s)" because it sounds like more (like, 8 times more) to the average user who has little idea on the matter, not because it's more practical. |
Thanks for reopening!
|
@petko10 summarized it perfectly. While network engineers have legitimate reasons to use bits per second, ISPs use it to confuse consumers. With byte-based units it's trivial to guesstimate the time left for a transfer. They also give the average user a trivial way to compare transfer speeds, because every download manager and file sharing tool uses kB/s, MB/s and GB/s. |
ISPs use bit/s because ISPs are network engineers. Measuring in bit/s is practically useful because it shows how much of your bandwidth you are using without having to do a conversion. |
@endolith The network engineers at ISPs use bits/s, for legitimate reasons. The marketing departments...not so much. The only reason speed tests use bits/s is that ISPs advertise their services with units based on bits/s, not because it is anything close to meaningful for the average user. |
I'm going to close this for further discussion. :) There are legitimate reasons to prefer each of the possible variants, and probably all of them are mentioned somewhere above. We can bikeshed it to infinity, but the issue here refers to enabling the user to make the choice. I'm fine with that. Write the code. :) |
I suggest to close this until we see a PR. |
Well it's a valid feature request, so I think it should live. |
I don't think there's any need to go around closing "Unplanned" issues. They're markers saying "hey, we considered this. If you're looking for something to contribute, give it some thought" . People will just open new issues if we close the old ones. |
Yes. Closing means I don't want a PR, or at least am unlikely to accept one without persuasion. Close if something doesn't fit with what we want to do, or is unfeasible for some reason. This is neither. |
ok, got it ;) Just went around and thought of cleaning stale issues. |
Github not doing its job. |
Yes that's odd. I see nothing wrong with my tagging, but it didn't pick it up at all. For posterity: |
Click the transfer rate to toggle between binary-exponent bytes (KiB/s, MiB/s) and metric based bits (kb/s, Mb/s). The setting is persisted in browser local storage (best effort). GitHub-Pull-Request: syncthing#4074
Change the Down-/Upload rate from "bps" to "KB/s" or "MB/s" because it's more common, isn't it?
EDIT: Also "Outgoing Rate Limit (KBps)" and "Max File Change Rate (KBps)"
The text was updated successfully, but these errors were encountered: