Re: load balancing with 2 nic cards possible?
I have tried that fec driver, no luck. I get the interface up, but when I try to transmit packets over it I get invalid argument or something like that, I had the network cards hooked to a Cisco catalyst and I had grouped the ports, and I've tried two types of network cards, 3com 905C and Intel EtherExpress 100 Baldur Gislason On Saturday 27 April 2002 06:07, you wrote: Gary Stanley wrote: Is it possible to split the load of IP traffic with 2 ethernet cards on a 4.x machine? I'm new to load balancing in a sense, however, I'd like to try something that seems more robust http://people.freebsd.org/~wpaul/FEC/4.x/ -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: missing libraries, and how to find them.
On Thu, 25 Apr 2002, Mike Meyer wrote: It lists both libraries once, showing the dependencies between them. When it finds a library, it adds it to the list if it isn't already on it. It keeps listing what's in a library until all of them are listed. Sounds like a good solution. :) Doug White| FreeBSD: The Power to Serve [EMAIL PROTECTED] | www.FreeBSD.org To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Updating to stable
On Thu, 25 Apr 2002, Peter J. Blok wrote: I recently installed a 4.5-RELEASE system on intel and cvsup'ed it to 4.5-STABLE. The make buildworld failed because it was not able to find certain defines in the include files. This is no the first time I have encountered this. The work-around is to copy the include files to /usr/include and do the buildworld again. Sometimes you have to copy complete libraries to make it work. The canonical way to do this is to run 'make includes' from /usr/src. Incompatible changes do happen to -stable, I hate it when it happens too, but sometimes they are necessary. Doug White| FreeBSD: The Power to Serve [EMAIL PROTECTED] | www.FreeBSD.org To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Clock granularity, dummynet netperf
Hi, I'm trying to use the netperf benchmark to measure the throughput for a TCP connection whose propagation delay is controlled by dummynet. I'm running these experiments on FreeBSD 4.4 machines. According to my first results (even a simple ping shows it), the delays are not properly set by dummynet. Ok, the HZ option is set initially to 100. Following Luigi's recommendations, I've increased HZ to 1000. It turns out that I'm now getting segmentation faults when I run netperf! I've tried to play around with the quantum clock as well without success... I've increased it and the measurements get really wild, totally inconsistent. I've read Luigi's previous message about the impact on select() behavior on softwares that are not aware of this. So, considering that so many people have played around with the HZ option and could perform measurements without no problem, is there a patch to netperf that overcomes this problem or a better software for performance evaluation as good (or better) than netperf??? In case not, is anybody here familiar with this problem and has fixed it in the past? I would really appreciate any help, comments, etc. Thanks, Marcelo. __ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: load balancing with 2 nic cards possible?
- Original Message - From: Gary Stanley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 26, 2002 9:47 PM Subject: load balancing with 2 nic cards possible? Is it possible to split the load of IP traffic with 2 ethernet cards on a 4.x machine? I'm new to load balancing in a sense, however, I'd like to try something that seems more robust The netgraph one2many framework allows you to aggregate 2 or 4 NICs together even on an unmanaged switch. Obviously, this is only really beneficial if the machine is serving several clients attached to the same switch or if there is another machine set up similarly (also on the same switch), since unmanaged switches generally only have one uplink port. See the ng_one2many(4) manpage for details. Following is a script I use to set this up (I call it from rc.local). fxp0 is the primary interface and rl0 is the secondary. JN - #!/bin/sh ifconfig rl0 up kldload /modules/ng_ether.ko kldload /modules/ng_one2many.ko ngctl mkpeer fxp0: one2many upper one ngctl connect fxp0: fxp0:upper lower many0 ngctl connect rl0: fxp0:upper lower many1 ngctl msg rl0: setpromisc 1 ngctl msg rl0: setautosrc 0 ngctl msg fxp0:upper setconfig {xmitAlg=1 failAlg=1 enabledLinks =[ 1 1 ] } To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: load balancing with 2 nic cards possible?
The FEC works for me doing the following on 4.5-STABLE: # cd /usr/src/sys # tar -zxvf path-to-download/fec.tar.gz # cd modules/netgrah/fec make install # kldload ng_fec.ko # ngctl mkpeer fec dummy fec # ngctl msg fec0: add_iface 'fxp0' # ngctl msg fec0: add_iface 'fxp1' # ngctl msg fec0: set_mode_inet then it usually needs a ifconfig fec0 up to start moving packets. Uplink is to a Cisco 3534 with the two ports setup with port group 1 distribution source, using distribution destination gives me countless duplicates obviously because the same mac-address is on both interfaces. I also added the mac-address to forward to both interfaces using mac-address-table static With this setup the max throughput from one remote machine is the capacity of one interface, but that is enaugh for me. /Oli Þann 27. April 2002, ritaði Baldur Gislason eitthvað á þessa leið: I have tried that fec driver, no luck. I get the interface up, but when I try to transmit packets over it I get invalid argument or something like that, I had the network cards hooked to a Cisco catalyst and I had grouped the ports, and I've tried two types of network cards, 3com 905C and Intel EtherExpress 100 Baldur Gislason On Saturday 27 April 2002 06:07, you wrote: Gary Stanley wrote: Is it possible to split the load of IP traffic with 2 ethernet cards on a 4.x machine? I'm new to load balancing in a sense, however, I'd like to try something that seems more robust http://people.freebsd.org/~wpaul/FEC/4.x/ -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message -- Ólafur Osvaldsson Kerfisstjóri Internet á Íslandi hf. Sími: 525-5291 Email: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message