On Fri, Oct 9, 2009 at 2:17 PM, Jose Fragoso <[email protected]> wrote:
> I am running openbsd 4.2 on a box and I would like
> help trying to identify networking bottlenecks.

You know, there have been a *pile* of performance improvements in the
*two years* since 4.2 was released.  That version has also been
unsupported for over a year.  (If you don't want to upgrade, then you
should be making a better try at supporting yourself...)


> While trying to download a file from another obsd
> box at the network using wget, I get very low rate.
...
> But when I use iperf, I get quite high transfer rates:

So it's fast when it's pure network, but slow when a filesystem and
disk is involved?  What makes you think this is a network issue and
not a "slow disk controller or disk" issue?  If I'm reading your dmesg
correctly, your disk doesn't even support DMA:

> wd0 at pciide0 channel 0 drive 0: <SAMSUNG HD082GJ>
> wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors

(no "wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5" line...)


> My question is what could be causing the tcp poor performance?

1) Figure out what you've actually measuring, so that you don't 'fix'
an irrelevant issue,
2) Upgrade to 4.5 (or wait 3 weeks and upgrade to 4.6), then retest.


Philip Guenther

Reply via email to