Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2007 12:47:58 -0700
From:      "Kip Macy" <kip.macy@gmail.com>
To:        "=?ISO-8859-1?Q?St=E5le_Kristoffersen?=" <staale@kristoffersen.ws>
Cc:        current@freebsd.org
Subject:   Re: Slow networkperformance in current?
Message-ID:  <b1fa29170707161247r1a9421cbxf4ec9be1e4c63f7d@mail.gmail.com>
In-Reply-To: <20070716190441.GA19282@eschew.pusen.org>
References:  <20070716190441.GA19282@eschew.pusen.org>

next in thread | previous in thread | raw e-mail | index | archive | help
10 GigE cards are doing line rate - over time the cpu usage required
to do so is going down. Your experience is probably due to NIC issues.
What kind of NIC are you using? And have you changed any configuration
or settings?

 -Kip

On 7/16/07, St=E5le Kristoffersen <staale@kristoffersen.ws> wrote:
> A few months ago I tested my local network speed with iperf and got aroun=
d
> 900Mbits/s. But with a newer current I get around 300Mbits/s, (using 100%
> cpu usage), and to localhost: 162 Mbits/sec.
>
> I'm running iperf -s in one terminal and iperf -c localhost on another.
>
> FreeBSD 7.0-CURRENT #9: Mon Jul  9 13:18:23 CEST
> 2007     root@fs:/usr/obj/usr/src/sys/FS  i386
>
> Stock kernel, but removed debuging and witness, and using SCHED_ULE.
>
> Not knowing where to look I tried to update.
> Recompiled with updated source and with SCHED_4BSD:
> FreeBSD 7.0-CURRENT #9: Mon Jul  9 13:18:23 CEST
> 2007     root@fs:/usr/obj/usr/src/sys/FS  i386
>
> Same problem, am I missing something obvious here? This does not look lik=
e
> the correct numbers:
> [  4] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 58497
> [  4]  0.0-10.5 sec    172 MBytes    137 Mbits/sec
>
>
> CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2856.02-MHz 686-class CPU)
>   Origin =3D "GenuineIntel"  Id =3D 0xf47  Stepping =3D 7
>   Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,=
PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>   Features2=3D0x641d<SSE3,RSVD2,MON,DS_CPL,CNXT-ID,CX16,xTPR>
>   AMD Features=3D0x20100000<NX,LM>
>   AMD Features2=3D0x1<LAHF>
>   Cores per package: 2
> real memory  =3D 1072562176 (1022 MB)
> avail memory =3D 1036025856 (988 MB)
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>
> --
> St=E5le Kristoffersen
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b1fa29170707161247r1a9421cbxf4ec9be1e4c63f7d>