Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Bandwidth: LAN devices get it first come, first served (can hog everything)?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Bandwidth: LAN devices get it first come, first served (can hog everything)? (Read 867 times)
gctwnl
Jr. Member
Posts: 60
Karma: 0
Bandwidth: LAN devices get it first come, first served (can hog everything)?
«
on:
December 04, 2022, 11:45:59 pm »
I noticed the following (22.10 Business Edition): I have two laptops that are connected to the LAN and that I perform a speedtest on.
What happens is this: when the first one starts a bit earlier than the second one, the first one eats all the bandwidth. In other words, in my case: the first one goes up to close to 300Mbps, and the second one stays at 2-4Mbps until the first one finishes, then shoots up. If I start them (near) simultaneously, they both get roughly half of the available WAN bandwidth.
That makes the impression that if one user on the network is first, they can hog the entire bandwidth and the rest has no chance until they are done. Is that indeed the case? Or is there some rebalancing going on when the situation persists longer (speedtest is only 15 seconds)?
Logged
banana999
Newbie
Posts: 16
Karma: 0
Re: Bandwidth: LAN devices get it first come, first served (can hog everything)?
«
Reply #1 on:
December 05, 2022, 02:11:26 pm »
I think that's how it works by default unless you set up explicit traffic shaping rules
https://docs.opnsense.org/manual/shaping.html
Logged
gctwnl
Jr. Member
Posts: 60
Karma: 0
Re: Bandwidth: LAN devices get it first come, first served (can hog everything)?
«
Reply #2 on:
December 05, 2022, 03:57:31 pm »
Thank you. I'll look into traffic shaping later. It's not really a very serious issue most of the time, I think.
Logged
Patrick M. Hausen
Hero Member
Posts: 6812
Karma: 572
Re: Bandwidth: LAN devices get it first come, first served (can hog everything)?
«
Reply #3 on:
December 05, 2022, 04:08:53 pm »
Most connections are short-lived. So a single device using maximum peak bandwidth is normally not a problem.
TCP adjusts to the available bandwidth for optimum throughput. That's why when one device is using all capacity for a larger download, connections started later will startup using way less.
If you let both connections run for a while you should see a slow shift to a more balanced partition, IMHO.
HTH,
Patrick
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Bandwidth: LAN devices get it first come, first served (can hog everything)?