Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2008 13:26:35 +0100
From:      Joe Kuan <joe.kuan@itrinegy.com>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: Help: FreeBSD 6.3 - em driver & taskqueue & priority
Message-ID:  <03FF3E77-8B0F-4AF2-91D5-F0062DD8C6A2@itrinegy.com>
In-Reply-To: <g4vjeo$gqn$1@ger.gmane.org>
References:  <C8C00B39-0521-4032-BEF2-96FB99ACE1D8@itrinegy.com> <g4vjeo$gqn$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 8 Jul 2008, at 12:35, Ivan Voras wrote:

> Joe Kuan wrote:
>> Hi all,
>>
>>   I have implemented an network application in kernel space and it is
>> working fine. The application involves 3 network interfaces that  
>> FreeBSD
>> 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.
>>
>>   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.
>>
>>   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.
>
em0 and em1 are on the same card. Em2 is on the separate card.


Thanks
Joe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03FF3E77-8B0F-4AF2-91D5-F0062DD8C6A2>