Re: Help needed with 3.9 bandwidth/speed problem

2006-05-25 Thread Bachman Kharazmi

I had this problem a while ago...
http://marc.theaimsgroup.com/?l=openbsd-misc&m=114021971311499&w=2
/bkw
On 24/05/06, Nick Holland <[EMAIL PROTECTED]> wrote:

Adam wrote:
> Hello,
>
> I have an odd problem with my 3.9 server. I can not seem to push more
> than 2.5 - 3.0 mbps per connection over the Internet to hosts. I've
> tested this with scp, apache/httpd, and lighttpd. I've also tried this
> with PF on and off, resulting in no difference at all. I have tried
> filtering packets in PF and redirecting to another host. That works fine
> and I've been able to pull 8.3 mbps over the Internet without a problem.
>
> Also, just for reference, the server is on a 100M line in a datacenter
> so I'm not running out of  bandwidth. When I did my tests, things were
> completely idle and I was the only client creating traffic at the time.
>
> I'm quit stumped with this. There doesn't appear to be any errors, but
> there is definitely some sort of glass ceiling that I'm running in to.

Try this:
http://www.openbsd.org/faq/faq6.html#Tuning
'specially 6.6.4...

As you indicated, it doesn't seem to improve performance when FILTERING
packets going between two other machines, only when OpenBSD machines are
the endpoints.  The difference can be dramatic over a WAN.  Or completely
non-existent for most people.




Re: Help needed with 3.9 bandwidth/speed problem

2006-05-24 Thread Adam

Nick Holland wrote:

Adam wrote:

Hello,

I have an odd problem with my 3.9 server. I can not seem to push more 
than 2.5 - 3.0 mbps per connection over the Internet to hosts. I've 
tested this with scp, apache/httpd, and lighttpd. I've also tried 
this with PF on and off, resulting in no difference at all. I have 
tried filtering packets in PF and redirecting to another host. That 
works fine and I've been able to pull 8.3 mbps over the Internet 
without a problem.


Also, just for reference, the server is on a 100M line in a 
datacenter so I'm not running out of  bandwidth. When I did my tests, 
things were completely idle and I was the only client creating 
traffic at the time.


I'm quit stumped with this. There doesn't appear to be any errors, 
but there is definitely some sort of glass ceiling that I'm running 
in to. 


Try this:
http://www.openbsd.org/faq/faq6.html#Tuning
'specially 6.6.4...

As you indicated, it doesn't seem to improve performance when FILTERING
packets going between two other machines, only when OpenBSD machines are
the endpoints.  The difference can be dramatic over a WAN.  Or completely
non-existent for most people.

(thanks for the dmesg! :)

Nick.



Nick,

That was exactly it. I had actually tried that before, but only with 
using the sysctl command to change it on the fly. I tried again after 
you suggested it and actually set it in sysctl.conf this time + rebooted.


All is now happy.

Thanks!

--Adam



Re: Help needed with 3.9 bandwidth/speed problem

2006-05-24 Thread Nick Holland

Adam wrote:

Hello,

I have an odd problem with my 3.9 server. I can not seem to push more 
than 2.5 - 3.0 mbps per connection over the Internet to hosts. I've 
tested this with scp, apache/httpd, and lighttpd. I've also tried this 
with PF on and off, resulting in no difference at all. I have tried 
filtering packets in PF and redirecting to another host. That works fine 
and I've been able to pull 8.3 mbps over the Internet without a problem.


Also, just for reference, the server is on a 100M line in a datacenter 
so I'm not running out of  bandwidth. When I did my tests, things were 
completely idle and I was the only client creating traffic at the time.


I'm quit stumped with this. There doesn't appear to be any errors, but 
there is definitely some sort of glass ceiling that I'm running in to. 


Try this:
http://www.openbsd.org/faq/faq6.html#Tuning
'specially 6.6.4...

As you indicated, it doesn't seem to improve performance when FILTERING
packets going between two other machines, only when OpenBSD machines are
the endpoints.  The difference can be dramatic over a WAN.  Or completely
non-existent for most people.

(thanks for the dmesg! :)

Nick.