Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jul 2008 13:35:51 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-net@freebsd.org
Subject:   Re: Help: FreeBSD 6.3 - em driver & taskqueue & priority
Message-ID:  <g4vjeo$gqn$1@ger.gmane.org>
In-Reply-To: <C8C00B39-0521-4032-BEF2-96FB99ACE1D8@itrinegy.com>
References:  <C8C00B39-0521-4032-BEF2-96FB99ACE1D8@itrinegy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig0B4523A9C71CF936962836C0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Joe Kuan wrote:
> Hi all,
>=20
>    I have implemented an network application in kernel space and it is
> working fine. The application involves 3 network interfaces that FreeBS=
D
> 6.3 can forward mbuf between em0 and em1 in a rate 1.3 - 1.4 millions
> packets per second. Em2 is used for controlling the network application=
=2E
>=20
>    The problem is that when em0 and em1 are transmitting in 1.3 - 1.4
> millions packets per second, the em2 interface becomes irresponsive.
> However, my goal is to make the kernelised network application response=

> as soon as a control packet arrives in em2, ie jumps the queue ahead of=

> all the packets in em0 and em1.
>=20
>    I think the problem lies on the priority set on the task structure
> are all the same for all the em devices. Am I heading in the right
> direction?

A wild theory: are the NICs separate / individual and on separate buses?
If they are not (e.g. two of them are on the same card or bus) it might
be a hardware issue.


--------------enig0B4523A9C71CF936962836C0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIc1EXldnAQVacBcgRAunlAKCUzOp1kvOnLws/mcrekwubfdTwwwCePerx
myAhcDJPNzytmw4BuEuEMbY=
=lehA
-----END PGP SIGNATURE-----

--------------enig0B4523A9C71CF936962836C0--




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