2

I'm using dell 2950 server with RHEL 5.3 with XEN kernel default i need to do bonding of my 2 giga nic which i'm using one of the script for that as follow:

ifcfg-bond0

DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.2.0
NETMASK=255.255.255.0
IPADDR=192.168.1.1
USERCTL=no

ifcfg-eth0

DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no

ifcfg-eth1

DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no

/etc/modprobe.conf

alias bond0 bonding
alias eth0 e100
alias eth1 e100
options bonding mode=0 miimon=100

/etc/xen/xend-config.sxp
(net*changeing a eth0 to bond0)

but i'm get 16MB/s and i have gigabit switch and cat6 network... if nay one tell me how i can get more speed on my network for copy 500GB on server to other...

thanks

Dan Carley
  • 25,189
  • 5
  • 52
  • 70
Rajat
  • 3,329
  • 21
  • 29
  • 3
    Please remember that depending on the bonding protocol your most likely algorithm will be a src-IP/dst-IP hash to determine which NIC path to use. As such, a single server to server combination will use only one NIC. Unless both ends and the switch support some kind of round-robin scheme, you won't ever use more than 1 Gbps NIC between a single server and another – Kevin Kuphal Jul 30 '09 at 18:43
  • Thanks for your reply i'm not looking 1G speed when i'm copy from one to other i have lot of .vdx file which we use convirt to install win2k3 and some of the time i have copy exp.vdx from one to other so that time network only 2 server using.. – Rajat Jul 30 '09 at 18:51

3 Answers3

7
/etc/modprobe.conf alias bond0 bonding alias eth0 e100 

Are you sure you have that right? E100 is a driver for a 100mbit/s version of Intel network adapters. Are you sure you didn't want e1000? If e100 is the correct driver, it doesn't sound like you have gig nics.

I would use something like ethtool to verify you have gig nics, and that the nics are negotiating to the correct link speed/duplex.

I'm get 16MB/s and i have gigabit switch and cat6 network...

How are you testing? I would suggest that you test with something like iperf to factor out everything other then your network/cpu.

sftp and scp

Also keep in mind that sftp in particular is notoriously slow for file transfers. You should test with something that isn't doing encryption/compression not make sure that you are getting your full throughput. If you really need fast sftp transfers you may need to check HPN-SSH.

if nay one tell me how i can get more speed on my network for copy 500GB on server to other...

If you are not on the Internet consider using something other then scp/sftp for file transfers. For example NFS.

pQd
  • 29,561
  • 5
  • 64
  • 106
Zoredache
  • 128,755
  • 40
  • 271
  • 413
1

Are you using a gigabit switch that allows packet bursting?

Is your RAID array rebuilding?

Have you tried copying with a single unteamed NIC?

Have you tried copying from dom0 without any domU VM's contending for disk/io?

How are you copying data? (sftp, for examlpe, compresses and encrypts data -- which quickly can become CPU bound, and is single threaded).

If your copying over SSH

Try with FTP/NFS or SCP without encryption enabled. Even HTTP will give a better idea of speed.

SirStan
  • 2,373
  • 15
  • 19
1

So far you havent mentioned checking actual speeds, duplex, or MTU's. Autonegotiation is great when it works, but often enough it does not. Don't let the defaults screw it up for you, set them up explicitely and it should work. I see sustained 45-50mbytes/sec of samba traffic (which itself is slow) over cheapo builtin gigabit cards between laptops, over a 40$ gb switch.

Marcin
  • 2,281
  • 1
  • 16
  • 14