From owner-freebsd-stable@FreeBSD.ORG Mon Oct 22 08:03:03 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A06716A417 for ; Mon, 22 Oct 2007 08:03:03 +0000 (UTC) (envelope-from wangyi6854@gmail.com) Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.239]) by mx1.freebsd.org (Postfix) with ESMTP id 5115913C494 for ; Mon, 22 Oct 2007 08:03:03 +0000 (UTC) (envelope-from wangyi6854@gmail.com) Received: by qb-out-0506.google.com with SMTP id a10so1024016qbd for ; Mon, 22 Oct 2007 01:02:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Cw/9T+fJtEMsKq3WB+R8uhSu86btMXRMUsoiAFWV2dU=; b=HBDrHNyKA2G/+y7dCCV4/7KMzRfyI9+z/6QbCOpcHsoG/77yuxfgybmzUtSUHktX+9adcZsfLLt6I7krVCi13A0bw2/3TdraMi99WngRgAYwi8vsPXB/WRTNJQtspiInBAuxfA3hUAVzHV0ifA8604gF4veEx3m8EPZRM0+FzvY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ncrktjw+3+1Z+qUCTqj/WWYZNC6Zt94g2STOZsC8f+rC1bCMZsTSnA/tf7MybS67lNZUgxbKNxpyXvG3TRXVPMaP6vXlzLK2baw78NFLwnS92SdiKEijMpW06AzdVTqDlN4Q1OlGl1bpIX/YPHVGtUyAw1XBAQFQJZiIZjSQDZc= Received: by 10.114.146.1 with SMTP id t1mr256266wad.1193040176700; Mon, 22 Oct 2007 01:02:56 -0700 (PDT) Received: by 10.114.203.13 with HTTP; Mon, 22 Oct 2007 01:02:56 -0700 (PDT) Message-ID: <5ea5cca50710220102h30371d36qf47b13d0aa053356@mail.gmail.com> Date: Mon, 22 Oct 2007 16:02:56 +0800 From: "Yi Wang" To: "Aryeh M. Friedman" In-Reply-To: <471C5136.40009@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5ea5cca50710202007p6081f44dyc4ca92a8917cdacf@mail.gmail.com> <200710211935.58020.mistry.7@osu.edu> <471C5136.40009@gmail.com> Cc: Anish Mistry , freebsd-stable@freebsd.org Subject: Re: X11 extremely slow while compiling other things X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2007 08:03:03 -0000 IPI_PREEMPTION allows the scheduler running on CPU A to preempt a thread on CPU B. This should reduce latency in some circumstances. # PREEMPTION allows the threads that are in the kernel to be preempted # by higher priority threads. It helps with interactivity and # allows interrupt threads to run sooner rather than waiting. # WARNING! Only tested on amd64 and i386. # FULL_PREEMPTION instructs the kernel to preempt non-realtime kernel # threads. Its sole use is to expose race conditions and other # bugs during development. Enabling this option will reduce # performance and increase the frequency of kernel panics by # design. If you aren't sure that you need it then you don't. # Relies on the PREEMPTION option. DON'T TURN THIS ON. On 10/22/07, Aryeh M. Friedman wrote: > > > Try adding "options FULL_PREEMPTION" to your kernel. > > > > > > > What is the difference between this and PREEMPTION + IPI_PREEMPTION? > -- Regards, Wang Yi