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
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.
How are you testing? I would suggest that you test with something like iperf to factor out everything other then your network/cpu.
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 you are not on the Internet consider using something other then scp/sftp for file transfers. For example NFS.
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.
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.