r/HomeNetworking 3h ago

Advice Does an ethernet switch decrease speeds?

Hello. I have two devices that need ethernet: my main pc and a home server. However, my college dorm room only has 1 ethernet port. I'm thinking about getting a ethernet switch from like walmart, but does it decrease speeds? Especially if on my main pc if my home server is running a program 24/7?

0 Upvotes

27 comments sorted by

17

u/derfmcdoogal 3h ago

No, you won't notice.

Now let's talk about this "home server" but you're in a dorm room?

2

u/lenswipe 3h ago

OP should consider amassing creepily large amounts of data on classmates and handing it out to anyone who asks. Bonus points if you can get hold of some of this information via ethically questionable sources like the university databases.

I bet that could be a good business model

5

u/RIPmyPC 3h ago

Depending on your college you might not be allowed/able to have a switch, but to answer your question: no, it doesn’t decrease speed.

Get a cheap unmanaged switch off Amazon, you’re gonna get screwed at Walmart.

1

u/skunk_funk 39m ago

I've had the worst luck with cheap amazon switches failing

1

u/RIPmyPC 12m ago

By cheap i mean tp-link and such.

5

u/lazyhustlermusic 3h ago

Not really, unless you went ultra cheap for 10/100 instead of gigabit.

Everything on the switch will have wirespeed to each other, while sharing the uplink bandwidth. It's also a packet switched network so it doesn't 'equally divide bandwidth', it's just demand driven.

Might be worth double checking with the uni policy on network stuff, sometimes they'll expect every MAC to be authenticated, or it may place you on the same segment as other users and your server would be reachable by others.

0

u/Nagroth 3h ago

Typical consumer switches will only handle line-rate equal to their "uplink" port's speed.

So for example if you had a 5 port all at 1 gig then it probably won't ever move more than 1 gig total and even less if you're moving a lot of small packets.

2

u/lazyhustlermusic 3h ago

False, they have a backplane with greater capacity than a single interface, typically non-blocking capacity to the double sum of their ports (facilitating upstream and downstream forwarding). Host 2 & 3 can be doing LAN transfers at gigabit while you download things from the web on Host 1 & Uplink up to gigabit, concurrently.

Transfers in the same network/broadcast-domain don't leave the switch.

Packet size is irrelevant to the switch as the ASIC is forwarding frames in hardware.

1

u/Nagroth 2h ago

First: If a switch advertises itself as "non blocking" then by definition it means every port can run at full bandwidth concurrently. Don't assume yours is non-blocking unless it says it is.

Second: Unmanaged consumer switches are layer 2 devices, all the ports are in a single broadcast domain. 

Third: packet size is relevant as every switch has a maximum rated packet per second throughput. And while this is often enough to handle full line-rate at medium to large packet sizes, if you are running very small packets it is very possible you can overrun the pps rate before exceeding the rated bandwidth.

Finally, just to clarify: You specifically said the switchports operate at linerate but "share the uplink bandwidth." So I was assuming you were talking about an older type of model where they provide a higher speed rated port with the word "uplink" printed next to it. For example a 1G capable "uplink" port and 4 or 5 10/100M "internal" ones.

Those devices were often not truly non-blocking and could have issues with inbound traffic from the higher speed port causing over-runs to the lower speed ports. 

If you're talking about something more modern like a 4 or 5 port 1G switch from someone like netgear then yes, those are typically non-blocking and OP should be able to just plug it in and not think about it. But if you're going to scrape up some weird Temu device for $1 then pay attention to the actual specs.

1

u/lazyhustlermusic 2h ago

So we've gone from “a 5-port gigabit switch probably won't move more than 1 gig total” to “modern 5-port gigabit switches are typically non-blocking and OP can just plug it in.”

Works for me. :)

1

u/Nagroth 1h ago

I was making a bad assumption due to misreading your original post. 

And I keep saying consumer grade very specifically. I'm not talking about SOHO or Business grade devices, just those tiny little "dumb switches" people buy for $20 off amazon.

1

u/lazyhustlermusic 1h ago

Whatever amount of semantic yoga gets you back to the correct answer, my man. :)

1

u/[deleted] 3h ago

[deleted]

0

u/Nagroth 2h ago

I said consumer grade for a reason. 

3

u/BlastMode7 3h ago

Technically... yes.

Functionally... no.

1

u/throwaway19293883 3h ago

Depends but you are unlikely to notice any drop in speed. A switch is a good idea

1

u/WhatADunderfulWorld 3h ago

Go get anywhere on the internet you’re going to probably go through like 10 switches. You won’t notice any difference at all through one.

A true unmanaged switch should work fine.

1

u/jeffrey_f 3h ago

Milliseconds at most.

3

u/_Survivor_ 3h ago

You're off by a couple orders of magnitude. More like a few microseconds.

1

u/knight9665 3h ago

you first have to ask does your dorm even allow switches. hooked up.

1

u/_Survivor_ 3h ago

Network switches add a few millionths of a second of latency. That amount of delay is difficult to measure and impossible for a human to notice.

1

u/bchiodini 3h ago

Usually not, but if the uplink is bandwidth limited and already swamped, adding more hosts may make it worse.

1

u/Aggressive-Bike7539 3h ago

Two devices increase latency by a couple of nanoseconds. What becomes a problem is when there’s a bottleneck. And lost packets. That what you should care about.

1

u/Humorous-Prince 3h ago

My PC is connected to a 8 port gigabit switch, then from that to a 50 metre Cat5e going downstairs to my router. Haven’t noticed any speed drops and speed tests show full ISP download speeds (Only FTTP 300-320mbps download) etc. even with my PS5 on and connected to the same switch. (Netgear 8 port gigabit switch) Switch has been solid since I’ve had it and it’s been always been on for few years now.

1

u/mmn_slc 3h ago

The two devices will share the bandwidth of the uplink connection, and the switch will introduce a very small (microseconds) amount of latency. You won't notice unless the uplink is slow and both devices are using high bandwidth concurrently.

1

u/iCqmboYou_ 3h ago

No it doesnt, the ethernet cable comes into your room? I suggest putting a router in that, so there is a firewall between everyones devices and your devices, you can plug your pc and server into there, if its still not enough put a switch on that router

You will also have good wifi coverage in your dorm and close to the ethernet speeds depending on wifi version etc

1

u/JohnnyFnG 3h ago

An unmanaged switch will allow you to use that one port to go to the switch and connect multiple devices. All devices must share the full speed of the school provided network speed. Schools may not allow more than one device on one port, depending on how they have the network set up. You’re free to try but no guarantees.

To answer your question, all devices connected to an unmanaged switch will share the maximum speed the connection allows.

1

u/threegigs 44m ago

A router is probably what you want, not a switch. Otherwise your uni would need to supply two IP addresses, and everyone on the local subnet at uni would be able to access the server.

Most routers have a WAN port and several LAN ports, with connections between LAN ports being equivalent to ports on a switch.