From: Keir Fraser Subject: Re: Re: softirq bound to cpus Date: Wed, 15 Mar 2006 22:15:20 +0000 Message-ID: <07fa268cde274075315bd2c5edbcbd68@cl.cam.ac.uk> References: <20060315134209.1ccff76d.tfreeman@mcs.anl.gov> <20060315142327.57fe5d29.tfreeman@mcs.anl.gov> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060315142327.57fe5d29.tfreeman@mcs.anl.gov> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tim Freeman Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 15 Mar 2006, at 20:23, Tim Freeman wrote: > Looking more closely there does not seem to be a ksoftirqd equivalent: > in > entry.S, test_all_events is jumped to often via ret_from_intr. So it > looks like > the pending softirq requests are handled quite often and block until > they are > done. So I'm guessing the quote from the book does not apply so much > (and these > deferrable functions in Xen need to be quite fast). They occur fairly often, they are short in duration, and they often need to be executed on a particular CPU (that's true of the schedule and timer softirqs at least). Performance-wise, CPU affinity should win over any small resulting load imbalance. -- Keir