[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slow network performance



Hi, I wanted to add to this discussion because I am having the same problem and spent alot of time trying to find the problem.

I was building a new file server for myself. Here are the specs:

Openbsd 3.1, 80 gig hard drive, Pentium II 333, 128 Meg Ram, Asus P2L97 motherboard.

When I installed it, and started to transfer files, I found that a 1.5 meg file would take 15 seconds to copy. I was using SCP.
I am also running OpenBSD on my firewall and decided to try a file transfer there. The same file took 3 secs. Both machines
are on the same network segment. My entire 4 machine network is attached to the same switch. I suspected the problem might
be with my network card so I took it out of the firewall and tested. Same problem. I swapped a few different cards and had the
same issue. Finally, I decided to try a different OS. I installed Redhat Linux 7.2 and found the file transfer only took 3 secs.
Same hardware.


I hope this helps. Maybe there is something that needs to be changed somewhere. I even recompiled the kernel. However, my firewall is running a default install without having been recompiled. Seems the only difference (other than the hardware) is the version of BSD I'm
running.


Thanks,

Tim

Necro wrote:

OK, did it once again using binary mode. Seems to be slower now.





Make sure your switch/hub and your ethernet card are working in the same duplex mode. Don't depend on the auto-detect algorithms of those devices, they just don't work most of the time. Your ethernet card will detect full duplex, but the switch will think the device is in half (or vice-versa).



Does not seem to be the problem. I tried it with full-duplex and half-duplex, but no difference. It was originally set to half-duplex, in full-duplex mode it is even slower (5 KB). Any other ideas?

thanks
Christof



Visit your host, monkey.org