Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267668AbUJCCBp (ORCPT ); Sat, 2 Oct 2004 22:01:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267678AbUJCCBp (ORCPT ); Sat, 2 Oct 2004 22:01:45 -0400 Received: from mustang.oldcity.dca.net ([216.158.38.3]:20396 "HELO mustang.oldcity.dca.net") by vger.kernel.org with SMTP id S267668AbUJCCBl (ORCPT ); Sat, 2 Oct 2004 22:01:41 -0400 Subject: Re: [patch] voluntary-preempt-2.6.9-rc2-mm4-S7 From: Lee Revell To: Ingo Molnar Cc: linux-kernel , "K.R. Foley" , Rui Nuno Capela , Joel White In-Reply-To: <20040928000516.GA3096@elte.hu> References: <1094683020.1362.219.camel@krustophenia.net> <20040909061729.GH1362@elte.hu> <20040919122618.GA24982@elte.hu> <414F8CFB.3030901@cybsft.com> <20040921071854.GA7604@elte.hu> <20040921074426.GA10477@elte.hu> <20040922103340.GA9683@elte.hu> <20040923122838.GA9252@elte.hu> <20040923211206.GA2366@elte.hu> <20040924074416.GA17924@elte.hu> <20040928000516.GA3096@elte.hu> Content-Type: text/plain Message-Id: <1096768900.1375.26.camel@krustophenia.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sat, 02 Oct 2004 22:01:40 -0400 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2693 Lines: 72 On Mon, 2004-09-27 at 20:05, Ingo Molnar wrote: > i've released the -S7 VP patch: > > http://redhat.com/~mingo/voluntary-preempt/voluntary-preempt-2.6.9-rc2-mm4-S7 > I believe we have found a bug. A user reported massive xruns with S7, they turned out to be printk() overhead from tons of "using smp_processor_id() in preemptible code" errors. The trace below repeats over and over. Looks like raid0 is the problem. using smp_processor_id() in preemptible code: kjournald/685 [] smp_processor_id+0x8a/0xa0 [] raid0_make_request+0x37/0x240 [] cond_resched+0xe/0x80 [] mcount+0x14/0x18 [] generic_make_request+0x117/0x1a0 [] submit_bh+0xe6/0x150 [] submit_bio+0x14/0x120 [] mcount+0x14/0x18 [] submit_bio+0x72/0x120 [] autoremove_wake_function+0x0/0x60 [] mcount+0x14/0x18 [] bio_alloc+0xea/0x1d0 [] submit_bh+0xe6/0x150 [] journal_commit_transaction+0x102b/0x1680 [] _spin_unlock+0x13/0x40 [] _metered_spin_unlock+0x14/0xa0 [] find_busiest_group+0xf1/0x310 [] find_next_bit+0x16/0xa0 [] load_balance_newidle+0x8e/0xc0 [] move_tasks+0xe/0x280 [] _spin_unlock+0x13/0x40 [] _metered_spin_unlock+0x14/0xa0 [] sub_preempt_count+0x69/0x80 [] sub_preempt_count+0x69/0x80 [] del_timer_sync+0xaf/0x160 [] find_next_bit+0x16/0xa0 [] mcount+0x14/0x18 [] find_next_bit+0x16/0xa0 [] del_timer_sync+0xaf/0x160 [] mcount+0x14/0x18 [] _spin_unlock+0x1f/0x40 [] kjournald+0xf3/0x270 [] autoremove_wake_function+0x0/0x60 [] _spin_unlock_irq+0x20/0x40 [] autoremove_wake_function+0x0/0x60 [] schedule_tail+0x23/0x70 [] commit_timeout+0x0/0x20 [] kjournald+0x0/0x270 [] kernel_thread_helper+0x5/0xc printk: 4203 messages suppressed. using smp_processor_id() in preemptible code: kjournald/685 [] smp_processor_id+0x8a/0xa0 [] raid0_make_request+0x37/0x240 etc. I have the .config if you need more info. All PREEMPT_ options are enabled. Joel, you reported the same xruns with SCSI and IDE. Are you running raid0 in both cases? Also what is your hardware configuration? Is this regular SMP, or HT? Lee - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/