Re[2]: Bandwidth Problems with Freebsd 5.x

2006-02-19 Thread Mathieu CHATEAU

Saturday, February 18, 2006, 7:47:05 PM, you wrote:

p Mathieu CHATEAU a écrit :

what about netstat -e on each host ?
(looking for errors)
  

p no errors detected

are you on swicthes ?
Are the switches port on auto or forced ?
  

p I don't know exactly : the servers are hosted by a company. So I think
p they are in autoselect mode.

when doing an ifconfig -a, are you in 100 full duplex ?
  

p Yeah and I tried to forced in all possibles modes. (10/100 and half/full
p duplex)

Are you using proftpd  /wuftpd ?
  

p Proftpd but I made some new tests with HTTP and SCP and it is the same
p problem.

p Regards,
p ptitoliv

You MUST'NT force speed and duplex if the switch is in autoselect !
you will lost 20 to 30% of packets !!

Try autoselect, if you get 100 full, stay in autoselect. (If you force
100 full and the switch is auto, then the switch will be in 100 half
!)

try this:
ping -c 1000 -s 1500 IP_TO_PING

wait for the 1000 ping to go trough. You should not have more than
0,5% of loss (is the servers aren't overload). If it's more or equal
than 0,5%, it comes from the network (cables or switches fault).
Each host would be in 100 full (via autoselect to be sure the conf is
ok on the switch).

Mathieu CHATEAU



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Bandwidth Problems with Freebsd 5.x

2006-02-19 Thread Mathieu CHATEAU
Hello ptitoliv,

Sunday, February 19, 2006, 6:54:33 PM, you wrote:

p Mathieu CHATEAU a écrit :

try this:
ping -c 1000 -s 1500 IP_TO_PING

wait for the 1000 ping to go trough. You should not have more than
0,5% of loss (is the servers aren't overload). If it's more or equal
than 0,5%, it comes from the network (cables or switches fault).
Each host would be in 100 full (via autoselect to be sure the conf is
ok on the switch).

p I made the tests on the two boxes = 0 % packet loss.

p I man an other interesting test. I try to transfert between the BSD Box
p and a server located at home behind my 1MB/s ADSL Line. Here are the
p results :

FreeBSD box = Workstation at home : 300 kB/s
p Debian box on the same network  = Workstation at home : 950 kB/s.

p This test confirms cleraly that there is a problem with the BSD, I guess.

p Could it be a bug from the VR driver ?

p Regards,
p Ptitoliv

At this point,
a tcpdump while transfering may help.

Are the debian  freebsd on the same segment ?
if so, are they using the same router/gateway ?

did you customize/set up things, like ipfw or set specific things via
sysctl ?

Mathieu CHATEAU


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]