|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
OpenBSD slow internet?
Is there a way I can tweak the speed I get on OpenBSD? On any other OS my 50Mbps connection works fine and smoothly, but on OpenBSD sometimes it takes over a whole minute to load google.com. Is there a security measure that makes the internet slower on OpenBSD?
|
|
|||
OpenBSD 4.9 will have send/receive buffer scaling, this was added shorted after 4.8 was tagged.
http://www.openbsd.org/cgi-bin/cvswe...cket.c#rev1.84 For fast connections it might have some impact, using a snapshot may improve performance.. an alternate solution might be to bump net.inet.tcp.{recv,send}space from their default values of 16K to something like 65535 bytes or larger, this setting will obviously apply to all applications and arguably waste some memory.. then again, most computers have ample. If you're using OpenBSD exclusively as a router/packet filter, none of what I said above is relevant to your interests. |
|
|||
Quote:
Quote:
|
|
|||
Quote:
None of this will probably be relevant.. the send/receive windows probably shouldn't effect simple page loading, mostly larger downloads. The problem can sometimes be related to OpenBSD's libc domain resolver, it's non-recursive and blocking, Firefox has a thread that does domain resolution and sometimes it can block while doing lookups and this can be frustrating to users of Linux or Windows, which often use asynchronous resolvers. Some "local" issues that could help are disabling IPv6 lookups, in about:config you can toggle network.dns.disableIPv6.. and/or add family inet4 to /etc/resolv.conf, there is even a setting for bumping Firefox's internal domain cache. The preferred solution is to have a local caching DNS server on your network, preferably on your local system.. many systems include their own to improve local lookups and to get immediate DNS errors on resolution failures. Really, there could be many reasons for perceived slowdowns.. and without doing some investigations of your own, nobody here can give you an absolute fix. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenBSD 300 OpenBSD servers at the Internet Initiative of Japan, using fresh air cooling. | vermaden | News | 2 | 10th August 2010 01:15 PM |
Playing internet radio streams under OpenBSD | J65nko | OpenBSD General | 6 | 29th August 2009 09:57 AM |
slow io from hdd | knasbas | OpenBSD General | 3 | 25th July 2009 02:51 AM |
dd slow, 1500KB/s (OpenBSD LiveCD) | Carpetsmoker | OpenBSD General | 4 | 3rd October 2008 10:33 AM |
Internet Access Problem OpenBSD 4.3 | alcy | OpenBSD General | 3 | 19th September 2008 06:00 PM |