this post was submitted on 23 Oct 2024
342 points (98.6% liked)

Technology

59638 readers
2875 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 1 month ago (3 children)

What’s a token ring?

Also I’m pretty sure I still have a box of 3.5” they can have lol

[–] [email protected] 71 points 1 month ago (3 children)

What’s a token ring?

Wait-your-turn Internet

[–] [email protected] 27 points 1 month ago (1 children)

If it's stupid and it works, it ain't stupid.

It comes from a time when wired infra was a shared medium and only one party could talk at a time. To control who talked, they passed around a token. The token would essentially take a lap around the ring before you could speak again.

Because it's a shared medium, it's one big collision domain.

Now, collisions are bad, mmmkay.

Modern wired infrastructure is switched. There's some brains in the operation. The switch learns the hardware ID (unique MAC address) of every device that's talked to it, because every frame that goes through it has the source and destination hardware ID as part of it.

As such, the switch will only forward out the port where it knows the destination is. It can only know it from one (logical) port (if there's more than one, that's a paddlin'). If it doesn't know it, it'll forward the frame out all interfaces except the one it rode in on.

Compare this with modern wireless where, aside from 802.11ax, clients just... (essentially) wait for a random amount of time, listen for a break in the signal, and take a leap of faith. It's amazing anything works on wifi with how much modern homes stress them.

[–] mkwt 12 points 1 month ago (1 children)

802.11ax, clients just... (essentially) wait for a random amount of time, listen for a break in the signal, and take a leap of faith.

Ethernet originally worked the same way, back when it competed directly against token ring. Ethernet won by being as reliable in real world scenarios while being cheaper to build out. Gigabit Ethernet was the first standard that insisted on full duplex only.

Half duplex mode with the collision avoidance is still actively supported for 10/100, but it is becoming very hard to find an unswitched hub. So you may have to write up your own twisted pair cables.

[–] [email protected] 7 points 1 month ago* (last edited 1 month ago)

Yeah...kinda left a lot of the layer 1 stuff out of it when I segued into modern ethernet. I could've really ranted.

That was still really close to modern Ethernet when 10BaseT and 10Base2 were out. It was the switched networks and Spanning Tree that really made ethernet win out, by supporting full duplex and scaling way betterer.

Although if I remember correctly, and I could be off because most of this was before my time and I learned from a greybeard who came up on Token Ring...the same physical media for both 10Base2 (the coax with bnc ends, T's at each station, and a terminator on each end) and later 10BaseT (UTP CAT 3, if we are being contemporary) Ethernet did end up getting used for Token Ring as well, just different hardware. And I think IBM was actually able to squeeze more bandwidth out of the same wires for a while, too.

Honestly if not for switched Ethernet and Spanning Tree, Token Ring would've had several more years of life left in it, at least.

Modern 802.11ax (Wifi6) borrows a little bit from the methods of token ring by having the AP essentially schedule timeslots for each of the clients...but it won't make much improvement till most (if not all) of the segment (that is, devices connected to any one radio) is ax or higher. I believe (and don't quote me on this), that is very similar in concept to how the later generation token ring MAUs worked.

You can still do 10Half on some high end managed switches. But most SFPs and mGig ports won't go down that low, and mid-range enterprise access switches are getting fewer and fewer 10/100/1000 ports.

Good. Maybe that means they'll finally upgrade the damn badge readers.

[–] seaQueue 17 points 1 month ago (1 children)

Until someone forgets the terminator on one end of the network and the token falls out

[–] rtxn 2 points 1 month ago* (last edited 1 month ago)

"That's why we've got a bucket under the wire's end. Token spillage is a pain in the ass to sweep up. At the end of the day we just collect the bucket and put all the tokens back in the first machine."

[–] ThePantser 18 points 1 month ago (1 children)
[–] Zachariah 5 points 1 month ago

I was all prepared to explain token ring architecture, but this is way better.

[–] mercano 11 points 1 month ago

The idea was one computer on the LAN would hold the “talking stick” (the token) and transmit whatever data it needed to, then pass the token off to the next computer in the ring. If a computer received the token and didn’t have anything to transmit, it’d just pass on the token. The problem would be detecting when one of the computers in the loop had gone offline or crashed and taken the token with it. After some amount of time with no traffic, some system was responsible for generating a new token and an amended turn order. Similar problems existed when a new computer wanted to get added to the rotation.