From owner-freebsd-stable@FreeBSD.ORG Mon Oct 22 01:13:05 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 659B316A419 for ; Mon, 22 Oct 2007 01:13:05 +0000 (UTC) (envelope-from wangyi6854@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id 4931513C4A5 for ; Mon, 22 Oct 2007 01:13:05 +0000 (UTC) (envelope-from wangyi6854@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1166893waf for ; Sun, 21 Oct 2007 18:12:59 -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=OAXcSubJrT2cZ/GsAnfdWxCtyGtca6hu+MrUxnDpUd8=; b=tg4VWuwoLcKZJehzKSJq96cfHtmqH7c8sVD+aNjyvKk0ngGOz+zZOmO7dtIoYf09q2RRkH+j8Si2uQoxONIiPzVY2TwbtommBWpbsJCWtzxP1uTOuqYQNKKiP/P/7IuAsNezuFr/u+1IU8liuaxMq+tEDNzF+p8pGlg1YEUc5e8= 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=CkMAq52HRcy9vmsUoQaqmMZTq6tTyO0YJ3gKlMPfK6RrPwQ4y6kknAoH67i4EnXcrR29/TrMtUoBhEqrPzQ3gNYlQsGGwpKJ/5RkEC+9enOvxVRbfvJczXFnVH/IRViphSVw5XRo0wRLAIyHJcihSJd05VikaF09Kl6M98UpRiw= Received: by 10.114.190.6 with SMTP id n6mr4787634waf.1193015578944; Sun, 21 Oct 2007 18:12:58 -0700 (PDT) Received: by 10.114.203.13 with HTTP; Sun, 21 Oct 2007 18:12:58 -0700 (PDT) Message-ID: <5ea5cca50710211812y79c5302dnbe3ce8385e9ed6a1@mail.gmail.com> Date: Mon, 22 Oct 2007 09:12:58 +0800 From: "Yi Wang" To: "Anish Mistry" In-Reply-To: <200710211935.58020.mistry.7@osu.edu> 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> Cc: 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 01:13:05 -0000 Thanks to all. But I have the ULE scheduler enabled in the kernel. % cat /usr/src/sys/i386/conf/MYKERNEL | grep -v ^# | grep -v ^$ cpu I686_CPU ident MYKERNEL options SCHED_ULE # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI options AUDIT # Security event auditing device cpufreq device pci device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID # Static device numbering # output. Adds ~128k to driver. # output. Adds ~215k to driver. device scbus # SCSI bus (required for SCSI) device da # Direct Access (disks) device pass # Passthrough device (direct SCSI access) device atkbdc # AT keyboard controller device atkbd # AT keyboard device vga # VGA video card driver device sc device agp # support several AGP chipsets device pmtimer device miibus # MII bus support device nfe # nVidia nForce MCP on-board Ethernet device loop # Network loopback device random # Entropy device device ether # Ethernet support device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) device firmware # firmware assist module device bpf # Berkeley packet filter device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device sound device snd_ich device pf device pflog device pfsync options LIBICONV options NTFS options NTFS_ICONV options MSDOSFS_ICONV options CD9660_ICONV options ALTQ options ALTQ_CBQ # Class Bases Queueing options ALTQ_RED # Random Early Detection options ALTQ_RIO # RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler options ALTQ_CDNR # Traffic conditioner options ALTQ_PRIQ # Priority Queueing options ALTQ_NOPCC # Required if the TSC is unusable options COMPAT_LINUX device smbus # Bus support, required for smb below. device nfpm device nfsmb On 10/22/07, Anish Mistry wrote: > On Saturday 20 October 2007, Yi Wang wrote: > > Hi, > > > > My box is running 7.0-PREREALEASE. > > > > When I run more than two building tasks, X11 became extremely slow. > > The mouse pointer can also hardly move. > > > > Running more than two building tasks under 6-stable does not > > introduce the issues. > > > > Does any one know how to solve it? > Try adding "options FULL_PREEMPTION" to your kernel. > > > -- > Anish Mistry > > -- Regards, Wang Yi