Re: Bandwidth Problems with Freebsd 5.x

2006-02-26 Thread ptitoliv
Donald J. O'Neill a écrit :

I guess you're right to say there's a misunderstanding. 

Ok I understand. I would want to say on this post that I made tests from
the BSD box to a Debian box, both located on the 100 Mbits/s network.
And I made others tests between the same BSD box (still located on the
100 Mbits/s network) and my home computer behind my ADSL Line.

Regards,
ptitoliv

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-26 Thread ptitoliv
Hello Everybody,

I made lots of searches on the Internet and I found something about the
option

net.inet.tcp.inflight.enable.

If I set this value to 0, my bandwitdh problems are resolved.

Does anybody knows something about this options and why can it be the
origin of this problem ?

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-26 Thread Donald J. O'Neill
On Sunday 26 February 2006 08:10, ptitoliv wrote:
 Hello Everybody,

 I made lots of searches on the Internet and I found something about
 the option

 net.inet.tcp.inflight.enable.

 If I set this value to 0, my bandwitdh problems are resolved.

 Does anybody knows something about this options and why can it be the
 origin of this problem ?

 Regards,
 Ptitoliv
 ___

I made some quick check, there is some information available. Most of it 
seems to be pretty recent. I suggest joining freebsd-stable@ as there 
is some questions going on about it there.

You can also google for information on:
net.inet.tcp.inflight.enable
There may be other things to look at and good reasons to have it 
enabled, or disabled.

Take from chapter 11 of the handbook:
=
11.13.2.2 TCP Bandwidth Delay Product

The TCP Bandwidth Delay Product Limiting is similar to TCP/Vegas in 
NetBSD. It can be enabled by setting net.inet.tcp.inflight.enable 
sysctl variable to 1. The system will attempt to calculate the 
bandwidth delay product for each connection and limit the amount of 
data queued to the network to just the amount required to maintain 
optimum throughput.

This feature is useful if you are serving data over modems, Gigabit 
Ethernet, or even high speed WAN links (or any other link with a high 
bandwidth delay product), especially if you are also using window 
scaling or have configured a large send window. If you enable this 
option, you should also be sure to set net.inet.tcp.inflight.debug to 0 
(disable debugging), and for production use setting 
net.inet.tcp.inflight.min to at least 6144 may be beneficial. However, 
note that setting high minimums may effectively disable bandwidth 
limiting depending on the link. The limiting feature reduces the amount 
of data built up in intermediate route and switch packet queues as well 
as reduces the amount of data built up in the local host's interface 
queue. With fewer packets queued up, interactive connections, 
especially over slow modems, will also be able to operate with lower 
Round Trip Times. However, note that this feature only effects data 
transmission (uploading / server side). It has no effect on data 
reception (downloading).

Adjusting net.inet.tcp.inflight.stab is not recommended. This parameter 
defaults to 20, representing 2 maximal packets added to the bandwidth 
delay product window calculation. The additional window is required to 
stabilize the algorithm and improve responsiveness to changing 
conditions, but it can also result in higher ping times over slow links 
(though still much lower than you would get without the inflight 
algorithm). In such cases, you may wish to try reducing this parameter 
to 15, 10, or 5; and may also have to reduce net.inet.tcp.inflight.min 
(for example, to 3500) to get the desired effect. Reducing these 
parameters should be done as a last resort only.

Note: In 4.X and earlier releases of FreeBSD the inflight sysctl 
variables are directly under net.inet.tcp. Their names were (in 
alphabetic order): net.inet.tcp.inflight_debug, 
net.inet.tcp.inflight_enable, net.inet.tcp.inflight_max, 
net.inet.tcp.inflight_min, net.inet.tcp.inflight_stab.


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


RE: Bandwidth Problems with Freebsd 5.x

2006-02-26 Thread Ted Mittelstaedt

It has already been suggested but obviously you have ignored it
so I'll say it again - get the hosting provider on the horn
and have them lock the switch port to 100baseT-half duplex, you then
do the same, then try the test, then have them lock to 10base t full,
you do the same, try the test again, then have them lock to 10base t
half, you do the same, and try again.  Report the results.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of ptitoliv
Sent: Saturday, February 25, 2006 2:35 PM
To: [EMAIL PROTECTED]
Cc: Mathieu CHATEAU; freebsd-questions@freebsd.org
Subject: Re: Bandwidth Problems with Freebsd 5.x


Danial Thom a écrit :

It seems unlikely that he'd get  good throughput
in one direction if the link was hosed. One
dropped packets and you're shot. The easy way to
test this is to eliminate the switch..hook the
Freebsd box directly to the linux box.



Impossible to do that because the boxes are rented by an
hosting company.

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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date: 2/24/2006


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


RE: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread fbsd_user
Your testing is way to general to make the blanket statement
that something is wrong with FreeBSD.

You say you did a transfer between boxes but give no details how you
did it or what operating system is on the sending and receiving boxes.
Did you use FTP or ssh? Ssh has know buffer size problems between
un-like operating system a each end that cause massive slowness.

Check the list archives for the last 5 days for subject High
Performance SSH/SCP - HPN-SSH to get the thread.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of ptitoliv
Sent: Sunday, February 19, 2006 12:55 PM
To: Mathieu CHATEAU; freebsd-questions@freebsd.org
Subject: Re: Bandwidth Problems with Freebsd 5.x


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).

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

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

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

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

Could it be a bug from the VR driver ?

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

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread Donald J. O'Neill
On Sunday 19 February 2006 11:54, ptitoliv wrote:
 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).

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

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

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

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

 Could it be a bug from the VR driver ?

 Regards,
 Ptitoliv
 ___

Not hardly. I'll bet that 950kB/s for the Debian box was the peak 
download speed and it didn't maintain it through the entire download. 

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread chris
If you are testing it through your home this test is irrelevant as there
is a lot that could cause it to slow down if you test it from the freebsd
box to another freebsd box on the same switch i bet it would be faster
then the shity debian box the internet is a weird place one momment its
quick another its slow try doing atraceroute on your DSL as i guarantee
it's a problem with your DSL or whatever the box is connected to not the
BSD box itself.
 On Sunday 19 February 2006 11:54, ptitoliv wrote:
 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).

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

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

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

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

 Could it be a bug from the VR driver ?

 Regards,
 Ptitoliv
 ___

 Not hardly. I'll bet that 950kB/s for the Debian box was the peak
 download speed and it didn't maintain it through the entire download.

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



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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread ptitoliv
Mathieu CHATEAU a écrit :

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

No, there is the same CISCO Router between the two boxes.

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

I tried to modify the tcp window size but the problem is stille here.

What tcp trace will be useful to understand this problem ?

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread ptitoliv
Donald J. O'Neill a écrit :

Not hardly. I'll bet that 950kB/s for the Debian box was the peak 
download speed and it didn't maintain it through the entire download. 

Don

The Debian Box is capable to make a 5 MB/s stable connection easily.

Regards,
Ptitoliv

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread ptitoliv
Danial Thom a écrit :

It seems unlikely that he'd get  good throughput
in one direction if the link was hosed. One
dropped packets and you're shot. The easy way to
test this is to eliminate the switch..hook the
Freebsd box directly to the linux box.

  

Impossible to do that because the boxes are rented by an hosting company.

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread ptitoliv
fbsd_user a écrit :

On one side there is a Debian Sarge 3.0 box
On the other side there is a FreeBSD 5.3.

I made the same tests on another network  (same architecture but on a
different hosting service network)

On one side there is a Debian Sarge 3.1
On the other side there is a FreeBSD 5.4

Did you use FTP or ssh? Ssh has know buffer size problems between
un-like operating system a each end that cause massive slowness.
  

  

I use FTP and SSH.

Regards,
ptitoliv


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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread Donald J. O'Neill
On Saturday 25 February 2006 16:30, ptitoliv wrote:
 Donald J. O'Neill a écrit :
 Not hardly. I'll bet that 950kB/s for the Debian box was the peak
 download speed and it didn't maintain it through the entire
  download.
 
 Don

 The Debian Box is capable to make a 5 MB/s stable connection easily.

 Regards,
 Ptitoliv


Maybe, but not to the internet on an  1.5Mb/s connection. Your aDSL line 
is only good for at most 1.5M and that's not guaranteed to happen all 
the time. There are a lot of things that go on to throttle that. At 
home I can connect between computers at 100 Mb/s, so what. I can't 
connect to the internet at faster than what's capable of being supplied 
by the ISP.

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread ptitoliv
Donald J. O'Neill a écrit :

Maybe, but not to the internet on an  1.5Mb/s connection. Your aDSL line 
is only good for at most 1.5M and that's not guaranteed to happen all 
the time. There are a lot of things that go on to throttle that. At 
home I can connect between computers at 100 Mb/s, so what. I can't 
connect to the internet at faster than what's capable of being supplied 
by the ISP.


  

I think there is a misunderstanding : boxes are not on my ADSL line but
on a datacenter with 100 Mbits/s connectivity.

When I say the Debian is able to make a 5 MB/s connexion it is not with
my adsl line but another server located on the internet.

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread Donald J. O'Neill
On Saturday 25 February 2006 18:00, ptitoliv wrote:
 Donald J. O'Neill a écrit :
 Maybe, but not to the internet on an  1.5Mb/s connection. Your aDSL
  line is only good for at most 1.5M and that's not guaranteed to
  happen all the time. There are a lot of things that go on to
  throttle that. At home I can connect between computers at 100 Mb/s,
  so what. I can't connect to the internet at faster than what's
  capable of being supplied by the ISP.

 I think there is a misunderstanding : boxes are not on my ADSL line
 but on a datacenter with 100 Mbits/s connectivity.

 When I say the Debian is able to make a 5 MB/s connexion it is not
 with my adsl line but another server located on the internet.

 Ptitoliv


I guess you're right to say there's a misunderstanding. I was going by 
what you said here:

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

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

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

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

Could it be a bug from the VR driver ?

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-20 Thread Olivier BONHOMME
ptitoliv a écrit :

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

There is a CISCO router between the two boxes.

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

I tried to customiser window scaling and tcp sendspace and recvspace

Regards,
ptitoliv
___
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

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: Bandwidth Problems with Freebsd 5.x

2006-02-19 Thread Danial Thom


--- ptitoliv [EMAIL PROTECTED]
wrote:

 Mathieu CHATEAU a écrit :
 
 what about netstat -e on each host ?
 (looking for errors)
   
 
 no errors detected
 
 are you on swicthes ?
 Are the switches port on auto or forced ?
   
 
 I don't know exactly : the servers are hosted
 by a company. So I think
 they are in autoselect mode.
 
 when doing an ifconfig -a, are you in 100 full
 duplex ?
   
 
 Yeah and I tried to forced in all possibles
 modes. (10/100 and half/full
 duplex)
 
 Are you using proftpd  /wuftpd ?
   
 
 Proftpd but I made some new tests with HTTP and
 SCP and it is the same
 problem.
 
 Regards,
 ptitoliv

It seems unlikely that he'd get  good throughput
in one direction if the link was hosed. One
dropped packets and you're shot. The easy way to
test this is to eliminate the switch..hook the
Freebsd box directly to the linux box.

DT

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bandwidth Problems with Freebsd 5.x

2006-02-19 Thread ptitoliv
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).

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

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

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

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

Could it be a bug from the VR driver ?

Regards,
Ptitoliv
___
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]


Bandwidth Problems with Freebsd 5.x

2006-02-18 Thread ptitoliv
Hello everybody,

I am writing here because I have a problem with network on freebsd 5.3
and 5.4. The machines are pluged in a 100 Mbit/s with via rhine network
cards. On this same LAN  I have a Debian Sarge computer. When I try to
transferts big files beetween the FreeBSD and the Debian, I see that I
have an assymetric bandwith :

From Debian to BSD : No problem. The bandwitdh is OK : About 8 MBytes/s
which is normal for a LAN I guess.
From BSD to Debian : The bandwidth is quite awful = Beetween 300
KBytes/s to 1Mbyte/s.

Network have been changed and the problem is still the same. So I
thought it was a network problem. Then I installed an other FreeBSD on a
different computer and plugged it in a completely different network and
the problem is still here. That's why I think there is a thing to
configure on the BSD system but I don't know why.

That's why I am looking here for someone who knows this problem and who
will be able to help me.

Thank you for your answers

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-18 Thread Glenn Dawson

At 06:42 AM 2/18/2006, ptitoliv wrote:

Hello everybody,

I am writing here because I have a problem with network on freebsd 5.3
and 5.4. The machines are pluged in a 100 Mbit/s with via rhine network
cards. On this same LAN  I have a Debian Sarge computer. When I try to
transferts big files beetween the FreeBSD and the Debian, I see that I
have an assymetric bandwith :

From Debian to BSD : No problem. The bandwitdh is OK : About 8 MBytes/s
which is normal for a LAN I guess.
From BSD to Debian : The bandwidth is quite awful = Beetween 300
KBytes/s to 1Mbyte/s.


What are you using to transfer the files? ftp, scp, nfs, something else?

-Glenn



Network have been changed and the problem is still the same. So I
thought it was a network problem. Then I installed an other FreeBSD on a
different computer and plugged it in a completely different network and
the problem is still here. That's why I think there is a thing to
configure on the BSD system but I don't know why.

That's why I am looking here for someone who knows this problem and who
will be able to help me.

Thank you for your answers

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


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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-18 Thread ptitoliv
Glenn Dawson a écrit :

 What are you using to transfer the files? ftp, scp, nfs, something else?

I am using ftp.

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-18 Thread Danial Thom


--- ptitoliv [EMAIL PROTECTED]
wrote:

 Hello everybody,
 
 I am writing here because I have a problem with
 network on freebsd 5.3
 and 5.4. The machines are pluged in a 100
 Mbit/s with via rhine network
 cards. On this same LAN  I have a Debian Sarge
 computer. When I try to
 transferts big files beetween the FreeBSD and
 the Debian, I see that I
 have an assymetric bandwith :
 
 From Debian to BSD : No problem. The bandwitdh
 is OK : About 8 MBytes/s
 which is normal for a LAN I guess.
 From BSD to Debian : The bandwidth is quite
 awful = Beetween 300
 KBytes/s to 1Mbyte/s.
 
 Network have been changed and the problem is
 still the same. So I
 thought it was a network problem. Then I
 installed an other FreeBSD on a
 different computer and plugged it in a
 completely different network and
 the problem is still here. That's why I think
 there is a thing to
 configure on the BSD system but I don't know
 why.
 
 That's why I am looking here for someone who
 knows this problem and who
 will be able to help me.
 
 Thank you for your answers
 
 Best Regards,
 ptitoliv

Are you doing GET from each machine, or
comparing GET to PUT? Get has always been a lot
faster then PUT. Put a monitor on the LAN and
look for weird sending patterns. The 4.x FTP
servers will stop altogether if you set the
window under 1500 bytes. I don't know if its the
server app or the stack, but its probably the
specific application, as HTTPD seems not to have
such problems. I think ftp was originally written
by a chimp and no-one has really bothered to ever
fix it (much like nfs). Its quite possible that
socket changes in 5.x made a kludgy
implementation not work as well as it used to.

DT

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bandwidth Problems with Freebsd 5.x

2006-02-18 Thread Mathieu CHATEAU
Saturday, February 18, 2006, 3:42:47 PM, you wrote:

p Hello everybody,

p I am writing here because I have a problem with network on freebsd 5.3
p and 5.4. The machines are pluged in a 100 Mbit/s with via rhine network
p cards. On this same LAN  I have a Debian Sarge computer. When I try to
p transferts big files beetween the FreeBSD and the Debian, I see that I
p have an assymetric bandwith :

From Debian to BSD : No problem. The bandwitdh is OK : About 8 MBytes/s
p which is normal for a LAN I guess.
From BSD to Debian : The bandwidth is quite awful = Beetween 300
p KBytes/s to 1Mbyte/s.

p Network have been changed and the problem is still the same. So I
p thought it was a network problem. Then I installed an other FreeBSD on a
p different computer and plugged it in a completely different network and
p the problem is still here. That's why I think there is a thing to
p configure on the BSD system but I don't know why.

p That's why I am looking here for someone who knows this problem and who
p will be able to help me.

p Thank you for your answers

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

what about netstat -e on each host ?
(looking for errors)
are you on swicthes ?
Are the switches port on auto or forced ?
when doing an ifconfig -a, are you in 100 full duplex ?
Are you using proftpd  /wuftpd ?

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: Bandwidth Problems with Freebsd 5.x

2006-02-18 Thread ptitoliv
Mathieu CHATEAU a écrit :

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

no errors detected

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

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

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

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

Are you using proftpd  /wuftpd ?
  

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

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-18 Thread ptitoliv
Danial Thom a écrit :

--- ptitoliv [EMAIL PROTECTED]
wrote:

  

Hello everybody,

I am writing here because I have a problem with
network on freebsd 5.3
and 5.4. The machines are pluged in a 100
Mbit/s with via rhine network
cards. On this same LAN  I have a Debian Sarge
computer. When I try to
transferts big files beetween the FreeBSD and
the Debian, I see that I
have an assymetric bandwith :

From Debian to BSD : No problem. The bandwitdh
is OK : About 8 MBytes/s
which is normal for a LAN I guess.
From BSD to Debian : The bandwidth is quite
awful = Beetween 300
KBytes/s to 1Mbyte/s.

Network have been changed and the problem is
still the same. So I
thought it was a network problem. Then I
installed an other FreeBSD on a
different computer and plugged it in a
completely different network and
the problem is still here. That's why I think
there is a thing to
configure on the BSD system but I don't know
why.

That's why I am looking here for someone who
knows this problem and who
will be able to help me.

Thank you for your answers

Best Regards,
ptitoliv



Are you doing GET from each machine, or
comparing GET to PUT? Get has always been a lot
faster then PUT. 

I tried GET and PUT from the two servers and the problem is still the same.

Put a monitor on the LAN and
look for weird sending patterns. The 4.x FTP
servers will stop altogether if you set the
window under 1500 bytes. I don't know if its the
server app or the stack, but its probably the
specific application, as HTTPD seems not to have
such problems.

The problem still exists with HTTP and SCP requests.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]