[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

User process starvation under heavy network traffic in FreeBSD 5.3



On Mon, 3 Jan 2005 17:43:16 -0800
"Youlin Feng" <yfeng_(_at_)_verniernetworks_(_dot_)_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_(_dot_)_se, Phone +46 -8 633 15 25          |      Cat      |/
Cellular +46 -70 768 06 35, Fax +46 -8 751 72 30   '---------------'

Visit your host, monkey.org