hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Effect of the network card
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Effect of the network card

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-10-2007, 01:43 AM
MaB MaB is offline
Web Hosting Master
 
Join Date: Oct 2001
Posts: 1,244

Effect of the network card


Hi All,

I've been reading more and more posts about how a quality network card is important. We build all of our servers from new, quality parts but honestly we always rely on the built in NIC on the motherboard (which are brand name motherboards, but nonetheless)

How can a lesser quality NIC effect a server other than total failure of network activity? What signs should we look for and what are quality brands? My first guess is dropped packets or low throughput. I've also heard of people saying that load can go up from a bad NIC - is there any truth to that?

Thanks!

__________________
Avi Brender
Reliable Web Hosting by Elite Hosts, Inc
CPANEL Reseller Hosting - Fantastico - Rvskins - ClientExec


Reply With Quote


Sponsored Links
  #2  
Old 12-10-2007, 03:02 AM
CiscoMike CiscoMike is offline
Sec, DC and Virtual Architect
 
Join Date: Nov 2005
Location: Denver, CO
Posts: 728
Quote:
Originally Posted by MaB View Post
Hi All,

I've been reading more and more posts about how a quality network card is important. We build all of our servers from new, quality parts but honestly we always rely on the built in NIC on the motherboard (which are brand name motherboards, but nonetheless)

How can a lesser quality NIC effect a server other than total failure of network activity? What signs should we look for and what are quality brands? My first guess is dropped packets or low throughput. I've also heard of people saying that load can go up from a bad NIC - is there any truth to that?

Thanks!
yes there is. A NIC, like most other devices, will want to interrupt the CPU for assistance (thus, the need for an IRQ). The difference is some NICs don't need to send an attention signal too often, only when they need to buffer (like for congestion or a massive reorder operation) and rediscover portions of the network like a PMUTD request. The NIC might also need to signal the CPU during a "back-off" operation when the TCP window size has decreased and it needs the CPU to buffer additional frames in RAM.

Some cheap NICs have zero buffer size and require the CPU to not only process all packets but also buffer everything before it's sent out. While this is only a 5%-10% hit on the CPU, that could be significant. Some NICs have no cache to store ARP or IP entries and so for every lookup they need to request for assistance from the OS which again is a CPU interrupt.

The good news is the days of NICs like that are pretty much long gone. Anything by Broadcom has some buffering capabilities and a small amount of lookup cache for route/forwarding entries. Most Intel based products also have those same features as do AMD branded network-quality chips (not the home desktop chips, those are still crap).

Reply With Quote
  #3  
Old 12-10-2007, 03:32 AM
david510 david510 is offline
Web Hosting Master
 
Join Date: Oct 2004
Location: Kerala, India
Posts: 4,617
Mike,

Good one. Can you please explain a bit more on PMUTD request.

__________________
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
iWebManager | Access WHM from iPhone and Android

Reply With Quote
Sponsored Links
  #4  
Old 12-10-2007, 03:56 AM
CiscoMike CiscoMike is offline
Sec, DC and Virtual Architect
 
Join Date: Nov 2005
Location: Denver, CO
Posts: 728
Quote:
Originally Posted by david510 View Post
Mike,

Good one. Can you please explain a bit more on PMUTD request.
Path MTU discovery - it's a method used to determine the smallest MTU size between you and your host. It uses ICMP at each hop (it's kinda like a traceroute in nature but it's not a time-exceed message). The OS, in order to properly size any and all frames, will use a PMTUD sequence which generally requires collaboration between the OS (initiate), the CPU (format) and the NIC (send/receive). It's not too CPU intensive unless you have multiple paths to inspect. Generally you don't need PMTUD unless you get orders to fragment from an upstream device that cannot fragment on it's own.

The primary place you'll see PMTUD is on VPN but also anywhere where you suffer serilization (spelled wrong, too lazy to look it up) delay when going between media types (like ethernet to ATM aka DSL) or when trying to pass jumbo/giant frames OR you have the DF bit set in the IP header.

Reply With Quote
  #5  
Old 12-10-2007, 04:09 AM
Steven Steven is offline
I like ice cream
 
Join Date: Mar 2003
Location: California USA
Posts: 11,636
Quote:
Originally Posted by MaB View Post
Hi All,

I've been reading more and more posts about how a quality network card is important. We build all of our servers from new, quality parts but honestly we always rely on the built in NIC on the motherboard (which are brand name motherboards, but nonetheless)

How can a lesser quality NIC effect a server other than total failure of network activity? What signs should we look for and what are quality brands? My first guess is dropped packets or low throughput. I've also heard of people saying that load can go up from a bad NIC - is there any truth to that?

Thanks!
A good example is servers we had at softlayer, 9mbit outgoing it would kernel panic and die due to the poor onboard nic that was on the board. there was also various messages on message boards with the same problem with the nic in question..

Personally I prefer a intel nic even if I have to add a addon card.

__________________
Steven Ciaburri | Proactive Linux Server Management - Rack911.com | 1.855.RACK911
System Administration Extraordinaire

Managed Dedicated Servers, Linux Server Management, Disaster Recovery, Server Security Audits

Reply With Quote
  #6  
Old 12-10-2007, 06:56 AM
wKkaY wKkaY is offline
Web Hosting Evangelist
 
Join Date: Apr 2003
Location: Melbourne, AU
Posts: 539
What board/NIC/OS combos are those panic'ed servers, Steven?

__________________
WK Woon
CTO | http://www.aflexi.net - A flexible Network
Building the next generation CDN platform - DEMO .... coming soon

Reply With Quote
  #7  
Old 12-10-2007, 12:18 PM
CiscoMike CiscoMike is offline
Sec, DC and Virtual Architect
 
Join Date: Nov 2005
Location: Denver, CO
Posts: 728
SuperMicro boxes as that's what SL deploys.

Reply With Quote
  #8  
Old 12-10-2007, 01:41 PM
Steven Steven is offline
I like ice cream
 
Join Date: Mar 2003
Location: California USA
Posts: 11,636
Quote:
Originally Posted by wKkaY View Post
What board/NIC/OS combos are those panic'ed servers, Steven?
It only happened on their AMD machines which used nforce forcedeth nics. This was on centos 5. We ordered 5 machines at once, and every box exhibited the same behavior. We move to Intel based machines which have e1000 nics and we have been pushing 300-500mbit on each on ever since.


At first we thought it was bad hardware when it happened to the first one (we have encountered bad hardware on over 30 boxes in the past few months, most of the time when its first deployed to us, for this reason I never recommend softlayer to clients and I often get them to move elsewhere). But after all 5 did the same thing and some research on the net it became obvious it was an issue with the particular network adaptor.

__________________
Steven Ciaburri | Proactive Linux Server Management - Rack911.com | 1.855.RACK911
System Administration Extraordinaire

Managed Dedicated Servers, Linux Server Management, Disaster Recovery, Server Security Audits


Last edited by Steven; 12-10-2007 at 01:45 PM.
Reply With Quote
  #9  
Old 12-10-2007, 03:05 PM
CiscoMike CiscoMike is offline
Sec, DC and Virtual Architect
 
Join Date: Nov 2005
Location: Denver, CO
Posts: 728
nforce and AMD/ATI on-board controllers are good examples of NICs that require excessive CPU interrupts. I still swear by the 3Com 905 adapters even though they haven't been sold for years. Some of the modern Intel NICs are pretty good but again, Broadcom has pretty much commoditized the market and shy of driver support, the Broadcom based NICs are fairly stable, standard and reliable.

Reply With Quote
  #10  
Old 12-10-2007, 03:11 PM
Steve_Arm Steve_Arm is offline
Community Guide
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,479
However the interrupt frequency isn't something that can be set from the system?

__________________


Reply With Quote
  #11  
Old 12-10-2007, 03:12 PM
MaB MaB is offline
Web Hosting Master
 
Join Date: Oct 2001
Posts: 1,244
We have a server that experienced 2 random outages before we moved the raid card and harddrives to a new chasis. The first time the machine stopped responding to IP traffic including pings - the second time it responded to pings but nothing worked (including ssh) - unfortunately we didn't have access to the console to see what was going on and we simply APC'd it. We tested the RAM for 48 hours, we tested the CPU for a few hours and we now have 2 high CPU usage VPSs on the node and I couldn't figure out why we couldn't make it crash. My thought is now that the NIC may have been causing the troubles, but according to MRTG data there wasn't a significant traffic burst around the times of either crash.

The adapter is:
01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)

It's an ASUS motherboard with an Intel chipset. I just used netperf to push and pull nearly 100mbps from the network card - but it didn't crash

__________________
Avi Brender
Reliable Web Hosting by Elite Hosts, Inc
CPANEL Reseller Hosting - Fantastico - Rvskins - ClientExec


Reply With Quote
  #12  
Old 12-10-2007, 03:32 PM
CiscoMike CiscoMike is offline
Sec, DC and Virtual Architect
 
Join Date: Nov 2005
Location: Denver, CO
Posts: 728
Quote:
Originally Posted by Steve_Arm View Post
However the interrupt frequency isn't something that can be set from the system?
Some drivers allow that but why not use a purpose built server NIC that is optimized for I/O, doesn't ask the CPU for help every other second and can store basic network data without having to provision RAM and risk a flush erasing all ARP and IP info?

Moral of the story - nForce and RV based NICs are not server solutions, not optimized for I/O and can be detrimental to server based network usage. On-board server NICs using Broadcom, AMD or Intel silicon is ok but it's still better to get a dedicated NIC manufactured for server environments for the ultimate solution.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Fiber Carrier Lightower Expands Network and Data Center in Providence Web Hosting News 2012-05-14 16:31:27
Anonymous Hacks Military Gear Retailer Website Web Hosting News 2011-12-30 17:20:03
Are you ready for the Durbin Amendment? Blog 2011-09-21 15:41:14
Security Firm StillSecure Launches New Version of Safe Access Network Solution Web Hosting News 2011-08-12 17:30:18
Citi Says 200,000 Customers Credit Card Data Stolen in Hack Web Hosting News 2011-06-09 17:04:24


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?