Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 May 2003 14:19:34 -0500
From:      Kevin Day <toasty@dragondata.com>
To:        freebsd-net@freebsd.org
Subject:   polling(4) and idle time/cpu usage percentages
Message-ID:  <5.2.0.9.2.20030504141435.0385ed58@127.0.0.1>

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

I've got a FreeBSD system acting as a router, it's passing 250-600mbps of 
traffic through it most of the time.

Yesterday it was running 4.6-RELEASE without polling. I've upgraded it to 
4.8 and enabled polling. Before it was showing 30-50% CPU use in interrupt 
and system combined. Now it's showing 0-1% (99% idle).

Is this because it's polling in the idle loop, and time spent doing this 
isn't getting accounted for anywhere, or is polling THAT much more efficient?

If it's the former, is it supposed to work this way? Now I've got no clear 
way of knowing how busy the system is. (It's just routing packets, really 
nothing more)

-- Kevin




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