Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2005 12:05:28 +0100
From:      =?ISO-8859-1?Q?Bj=F6rn_Gr=F6nvall?= <bg@sics.se>
To:        freebsd-net@freebsd.org
Subject:   Re: User process starvation under heavy network traffic  in FreeBSD 5.3
Message-ID:  <20050104120528.04e48bcc@manian.sics.se>
In-Reply-To: <12394E9FCB7C8441BB238D7F67B402E407E5E1@exch2.verniernetworks.com>
References:  <12394E9FCB7C8441BB238D7F67B402E407E5E1@exch2.verniernetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Jan 2005 17:43:16 -0800
"Youlin Feng" <yfeng@verniernetworks.com> wrote:

> We are building a network appliance running FreeBSD 5.3 and under very
> heavy network traffic the user processes don't get scheduled for an
> unacceptable period of time.

Did you try polling(4)? It does not affect scheduling the way you
would like it to happen but it often it frees enough of the CPU
resources to make the problem go away. Your milage may wary though.

Cheers,
Björn

-- 
  _     _                                           ,_______________.
Bjorn Gronvall (Björn Grönvall)                    /_______________/|
Swedish Institute of Computer Science              |               ||
PO Box 1263, S-164 29 Kista, Sweden                | Schroedingers ||
Email: bg@sics.se, Phone +46 -8 633 15 25          |      Cat      |/
Cellular +46 -70 768 06 35, Fax +46 -8 751 72 30   '---------------'



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