Main       Comic       Forums       Anime       Tools       Fun       
Categories
Recent Articles
Recent Posts
Buy DSG Items
The DeadGod Anime Manager
helps you stay up-to-date
on your favorite anime series.
Recent Posts       Popular Articles       Popular Threads       [ View All Recent Posts ]
1. New Server:  Rules Discussion by DranoK -- 4H 49M ago.
2. Unknown by noggin -- 5H 1M ago.
3. New Server:  Rules Discussion by <LCC> -- 9H 52M ago.
4. DeadGod Survival Game - Cycle 11 by DSG -- 13H 16M ago.
 
[ Login | Register ]
 
Viewing 'Singularity, Part II: The Network Upgrade'
Nov
15
Thursday, November 15th, 2007 (1298 Views)
Story
DranoK
Singularity, Part II: The Network Upgrade

Articles in this series
Singularity, Part I: Confessions of a Digital Pack Rat
Singularity, Part II: The Network Upgrade [Image 1] [Image 2]
Singularity, Part III: Construction
Singularity, Part IV: Performance Testing
Singularity, Part V: Conclusion

Home Gigabit Network

Gigabit networking has recently become an option for consumer budgets. This advance has been fueled by the proliferation of cheap, unmanaged switches by Netgear and Cisco.

Most of these were four-port or possibly eight-port creatures, however--most consumers didn't have a need for more than this. Businesses still preferred more expensive managed switches for their production network, and their office network often didn't need it. Especially if everyone is in love with wireless.

This is changing, slowly, as people become disillusioned with cubical wireless and trend back toward wired access. As storage continues to increase the uses for it explode. More and more people start to demand gigabit speeds.

Many corporations have already deployed gigabit managed switches for their office environments. Many small businesses, however, have not. Larger-capacity unmanaged gigabit switches cater to small businesses like these, as well as the enthusiast market.

The Gigabit Myth

People often run network tests and find they're not getting "true" gigabit speeds (128 MiB/s). Typically they blame the switch. To some extent they're correct--cheap, unmanaged switches rarely perform well in a single transfer vs. their pricier cousins. There are other reasons, however.

Even with a RaptorX SATAII drive, the absolute best-case transfer rate you're going to get (buffer -> disk) is 84 MB/s. I'm not sure if this is MB or MiB--regardless it's a far cry from 128MiB/s. And that's just your raw 10k disk speed. If your network ports are built into your motherboard you're going to have a slowdown any time your CPU is busy (like when it's buffering and writing disk data). PCI network cards are typically no better, unless it's a PCI-X or PCI-E with offloaded processing.

Where gigabit networks shine, however, is in multiple transfers. Sure, any single given device may not seem like it's taking advantage of gigabit--but when two or more devices are transferring data at the same time you will definitely notice a difference.

The New Network

We jumped to gigabit for the first time when we built Sol. We quickly ran out of ports, however, and have been hobbling along with a 16-port 10/100 Linksys trunked switch ever since.

With cheaper, higher-capacity gigabit switches now available we took this opportunity to scoop one up.


We also had a cabling rat's nest problem, as most people probably do. You never have the right length of ethernet cables so inevitably end up with 15ft monsters connecting devices which are two feet from each other. We decided we wanted to buy our own cabling kit and crimp new cables ourselves so we could better control the length. We found a good deal on a kit:


We especially enjoyed the Engrish instructions :)


Beyond Gigabit

Now that we had an excess of ports it was time to push Sol beyond gigabit speeds. Since we had two gigabit NICs available here we decided to aggregate them into a single, bonded device.

Network bonding is a method of combining two independent NICs into a single virtual device to provide both redundancy and higher throughput. Under Linux there are many different network bonding modes available, from simple round-robin load balancing to advanced load balancing. For our purposes we chose mode 6, or "Adaptive load balancing". The actual details of network bonding is beyond the scope of this document; more information can be found in your kernel distribution (/usr/src/linux/Documentation/networking/bonding.txt)

Now our current fileserver is running at two gigabit while all our other nodes are at regular gigabit. We are now I/O bound on Sol, however this should speed up simultaneous access. As an added bonus, we can run new ethernet cables and swap ports without causing a network interruption.

Next: Singularity, Part III: Construction
Permalink - Forum Thread - 4 Comments - Subscribe!Social Bookmark Button



4 Comments -- Post a Comment


175 Days 8 Hours ago, Colonel_Lance said...

I dunno why but reading these things are really interesting...can't wait for part III!

175 Days 8 Hours ago, Ratha said...

I have to admit, i had a bit too much fun with the cable tester... I was entertained for quite some time over it:

Do not change it on your mind. OMG DO NOT CHANGE IT ON YOUR MIND!

Liquid and i had a laugh about that last night. Though i think i may have enjoyed that a bit more. :P

175 Days 3 Hours ago, LiQUiD_X said...

It is a special cable tester.

Short bus special.

174 Days 19 Hours ago, DranoK said...



Post a Comment
Name (Required)
Register an account to gain access to all the great features of DeadGod.Net! It's fast, and free. Register now!

You may use BBCode in your post.


Older Articles
 
 
DeadGod.Net - Cute Evil Atheists
Encouraging critical thought and general enjoyment since 2001.
Want to join our community? Have suggestions or comments?
Contact Us or Visit our forums.