Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jul 2011 16:15:54 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        "Hartmann, O." <ohartman@zedat.fu-berlin.de>
Cc:        freebsd-performance@freebsd.org, FreeBSD current <freebsd-current@FreeBSD.org>
Subject:   Re: Heavy I/O blocks FreeBSD box for several seconds
Message-ID:  <5C3302CF-8EE7-489E-8D31-624DA1637B73@mac.com>
In-Reply-To: <4E163856.2050300@zedat.fu-berlin.de>
References:  <4E1421D9.7080808@zedat.fu-berlin.de> <CALH631=F4bSgNDE4w0qcXGMgGxZRRwCP9n-H4M0c%2B1UEaqWr7Q@mail.gmail.com> <4E147F54.40908@zedat.fu-berlin.de> <20110706162811.GA68436@troutmask.apl.washington.edu> <CACqU3MVLr5VXRovs1uV%2BzHazJi2rrjE9Sp3XzsCPJ0Un06pmDQ@mail.gmail.com> <20110706193636.GA69550@troutmask.apl.washington.edu> <4E14CCE5.4050906@zedat.fu-berlin.de> <CAJ-VmomNcbGggbQePi2kBC7uRJm3BenMNKjsqkH5hFLqudsCvg@mail.gmail.com> <20110707015151.GB71966@troutmask.apl.washington.edu> <CAJ-VmongFDGi0amaqod5_NBQcH%2BguA5QMXtttCjTD=ccB==%2BUQ@mail.gmail.com> <20110707031151.GA72452@troutmask.apl.washington.edu> <4E155A84.1010100@FreeBSD.org> <4E163856.2050300@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5C3302CF-8EE7-489E-8D31-624DA1637B73>