From nobody@FreeBSD.org  Thu Dec 13 11:11:18 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4D2C516A468
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Dec 2007 11:11:18 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 3CC2213C442
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Dec 2007 11:11:18 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBDBBAHs052725
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Dec 2007 11:11:10 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id lBDBBA3v052724;
	Thu, 13 Dec 2007 11:11:10 GMT
	(envelope-from nobody)
Message-Id: <200712131111.lBDBBA3v052724@www.freebsd.org>
Date: Thu, 13 Dec 2007 11:11:10 GMT
From: Anton Babushkin <uyamba@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Xorg need realtime priority for mouse work nice
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         118645
>Category:       ports
>Synopsis:       Xorg need realtime priority for mouse work nice
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-x11
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 13 11:20:01 UTC 2007
>Closed-Date:    Mon May 11 15:25:08 UTC 2009
>Last-Modified:  Mon May 11 15:25:08 UTC 2009
>Originator:     Anton Babushkin
>Release:        7.0-BETA4
>Organization:
>Environment:
FreeBSD current.gznet.ru 7.0-BETA4 FreeBSD 7.0-BETA4 #3: Wed Dec 12 16:30:46 MSK 2007     ton@current.gznet.ru:/usr/obj/usr/src/sys/CURRENT  i386

>Description:
When CPU is 100% loaded (compiling something) mouse moves jumpy (like
on old PC with MS Windows). This problem can be resolved by setting
realtime priority both for moused and X processes. But even in this case
keyboard input is slow, delays up to 1 sec. appear somtimes. When using
6.2 all works nice without any rtprio.

# dmesg
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-BETA4 #3: Wed Dec 12 16:30:46 MSK 2007
    ton@current.gznet.ru:/usr/obj/usr/src/sys/CURRENT
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Mobile Intel(R) Pentium(R) III CPU - M  1200MHz (1196.15-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6b4  Stepping = 4
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 267239424 (254 MB)
avail memory = 251920384 (240 MB)
kbd1 at kbdmux0
acpi0: <DELL CPi R  > on motherboard
acpi0: [ITHREAD]
acpi0: reservation of 0, 9fc00 (3) failed
acpi0: reservation of 100000, fdf0000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci_link1: BIOS IRQ 11 for 0.31.INTB is invalid
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> mem 0xe0000000-0xe7ffffff,0xf4f80000-0xf4ffffff irq 11 at device 2.0 on pci0
agp0: <Intel 82830M (830M GMCH) SVGA controller> on vgapci0
agp0: detected 892k stolen memory
agp0: aperture size is 128M
drm0: <Intel i830M GMCH> on vgapci0
info: [drm] AGP at 0xe0000000 128MB
info: [drm] Initialized i915 1.5.0 20060119
vgapci1: <VGA-compatible display> mem 0xd8000000-0xdfffffff,0xf4f00000-0xf4f7ffff at device 2.1 on pci0
drm1: <Intel i830M GMCH> on vgapci1
info: [drm] AGP at 0xe0000000 128MB
info: [drm] Initialized i915 1.5.0 20060119
..
>How-To-Repeat:
Start compiling something and move mouse.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-x11 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Dec 13 14:13:20 UTC 2007 
Responsible-Changed-Why:  
Make this a ports PR and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118645 
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Thu Mar 19 13:47:24 UTC 2009 
State-Changed-Why:  
Is this still a problem with FreeBSD 7.1 and xorg-7.4? Have you tried SCHED_ULE? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118645 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Mon May 11 15:24:58 UTC 2009 
State-Changed-Why:  
Feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118645 
>Unformatted:
