On 2023-02-02, vitmau...@gmail.com <vitmau...@gmail.com> wrote: > Hello guys, > > I'm having problems trying to improve my transfer speed over LAN. I > can't consistently reach speeds over 10 MBytes/s using iPerf (real > disk writing transfers with scp render basically the same results). > Since both server (OpenBSD) and client (Windows) are able to reach > speeds over 30 MBytes/s downloading files from the internet, I reckon > there's something to be tweaked on my machines. Any thoughts regarding > what can be done on the server? > > I already tried to no avail what is suggested here: <snip link to calomel>
Forget what you read on that site, it is mostly either horribly outdated or wrong. There are no tweaks needed to get much better than 10MByte/s on most machines that you might run OpenBSD on nowadays. > Here is there relevant part of my dmesg: Send the whole dmesg, much more than those 2 lines are relevant. Some output from top -S, systat mbuf, netstat -nI em0, pfctl -si, vmstat -i might be useful too. > OpenBSD 7.2 (GENERIC.MP) #5: Wed Jan 11 01:03:12 MST 2023 > em0 at pci0 dev 25 function 0 "Intel ICH10 D BM LM" rev 0x02: apic 2 int 20 > > Here's my ifconfig output: > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768 > index 3 priority 0 llprio 3 > groups: lo > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet 127.0.0.1 netmask 0xff000000 > em0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500 > lladdr > index 1 priority 0 llprio 3 > groups: egress > media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause) > status: active > inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 > enc0: flags=0<> > index 2 priority 0 llprio 3 > groups: enc > status: active > pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136 > index 4 priority 0 llprio 3 > groups: pflog > > Best, > Vitor > > -- Please keep replies on the mailing list.