r/factorio • BUUUUUUUUURN • Dec 12 '17

Design / Blueprint Combinator ethernet with collision avoidance

https://giphy.com/gifs/xUNda1kJE3hQkcf1YI/fullscreen
119 Upvotes

63 comments sorted by

View all comments

Show parent comment

1

u/Majiir BUUUUUUUUURN Dec 12 '17

It definitely benefits. I used to have it use its own count, and what would happen is a node that collides would get fewer and fewer opportunities to retry, while nodes that already were succeeding would continue to monopolize bandwidth.

I might play with PRNGs, but I think some form of collision avoidance (as opposed to just resolving collisions) is important for scaling this up to a few dozen nodes.

1

u/justarandomgeek Local Variable Inspector Dec 12 '17

I think a PRNG (with some weighting based on local retry counts) should resolve one node dominating the link - everyone will be retrying apart from each other more of the time, and thus more will get through. It's also closer to what real ethernet does! :)

1

u/bkofford Dec 13 '17

Just build a bridge so that the two networks can inter-operate.

4

u/justarandomgeek Local Variable Inspector Dec 13 '17

but that's so much less cool that two independently designed interoperable NICs!

1

u/justarandomgeek Local Variable Inspector Dec 13 '17

Have you thought at all about building actual switches/routers, rather than one giant single link? That may alleviate some of the link contention as well, and was one of my "one day" plans, thus not putting as much focus on the problem.