|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
transfer rate
Hi again !
I have another problem I have dsl link with 8mbit download rate... when i try to download(on router) file from nearest server i'm getting transfers smthg about 168 kB/s? I do this after pfctl -d and sysctl -w net.inet.ip.forwarding=0, becasue i have network behind router. I also have try to reebot, but nothing positive happen - speed didnt grow. More...I enable pf and packet forwarding and station in network which have 4Mbit/s set in altq was downloading file with speed 400-500 kB/s So I turned off once again pf and sysctl(to be sure the packets for internal network not blocking my link), and nothing change. For test I use axel and wget... Test file from http://noc.gts.pl/ Thanks for help !!! Regards |
|
||||
Quote:
Quote:
You probably have either a configuration error, or a hardware error. But you haven't posted any details of your configuration, so I won't guess. It could be something simple, such as needing a smaller MTU value for your DSL (very recent example from misc@: http://marc.info/?l=openbsd-misc&m=123111198112098&w=2). If you just want some direction, then use netstat -in to look for network hardware problems, or perhaps netstat -ss for protocol statistics can show you where the problem lies. If you want us to diagnose your problem, you'll have to actually share details. See "How to create a problem report" in http://openbsd.rt.fm/report.html for guidelines. |
|
|||
@Zumo:
I've had the same "problem". This worked for me: From the FAQ: "6.6.4 - How can I increase performance on really high-speed, high traffic links? If you are seeing performance limitations when using a high-speed WAN connection transferring lots of data, you may see a performance gain by altering the following sysctls: net.inet.tcp.recvspace net.inet.tcp.sendspace Try a value like 65536 instead of the default of 16384. Note that very few will see any benefit from this. Don't adjust this unless you are actually seeing performance below what you expect. " |
|
|||
Note that the sysctls modifications, proposed by Dutchopen, have to be done on the system receiving or sending the files. On the router itself, it will have no benefit at all.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Hi everyone
Thanks for help dutchopen but I handle this myself this is my configuration: Code:
# sysctl net.inet.tcp.recvspace net.inet.tcp.recvspace=262144 # sysctl net.inet.tcp.sendspace net.inet.tcp.sendspace=262144 # Regards |
|
|||
BSD supports TCP window scaling.. increasing the buffer space that high should not be necessary, and may actually have negative effects somewhere down the line.
I'll quote an article I bookmarked that outlines the possible side effects. Quote:
|
|
|||
By default windows scaling is turned on:
Code:
net.inet.tcp.rfc1323=1 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Have problem transfer large file bigger 1GB | bsdme2 | FreeBSD General | 9 | 14th January 2009 05:49 AM |
Local transfer is slow. | maurobottone | OpenBSD General | 1 | 10th January 2009 02:12 PM |
OpenBSD 4.4 and refresh rate 75 | mfaridi | OpenBSD Installation and Upgrading | 8 | 12th November 2008 12:05 PM |
Apache data transfer limit | cajunman4life | General software and network | 5 | 7th June 2008 05:13 PM |