User process starvation under heavy network traffic in FreeBSD 5.3

Björn Grönvall bg at sics.se
Tue Jan 4 03:05:30 PST 2005


On Mon, 3 Jan 2005 17:43:16 -0800
"Youlin Feng" <yfeng at 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 at sics.se, Phone +46 -8 633 15 25          |      Cat      |/
Cellular +46 -70 768 06 35, Fax +46 -8 751 72 30   '---------------'


More information about the freebsd-net mailing list