Heavy I/O blocks FreeBSD box for several seconds

Chuck Swiger cswiger at mac.com
Thu Jul 7 23:17:57 UTC 2011


On Jul 7, 2011, at 3:51 PM, Hartmann, O. wrote:
> This is quibbling. On heavy loads on networ, disk et cetera, isn't there always and also a CPU bound load?

No.  Properly written software blocks when waiting on network or disk I/O, and doesn't sit there spinning in a busy-wait consuming CPU until it actually gets more work to do.

See select(2), kqueue(2), and friends.

Regards,
-- 
-Chuck



More information about the freebsd-current mailing list