ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] dual-screen X + thunderbird => CPU load
@ 2008-04-30 15:57 Andriy Khavryuchenko
  0 siblings, 0 replies; only message in thread
From: Andriy Khavryuchenko @ 2008-04-30 15:57 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

[-- Attachment #1: Type: text/plain, Size: 2236 bytes --]

Интересный факт..

Запуск thunderbird при X-ах сконфигурированных на два монитора приводит 
к 60-80%ной загрузке процессом X

top - 18:41:01 up 2 days, 21:46,  1 user,  load average: 2.91, 2.38, 1.90
Tasks: 148 total,   5 running, 143 sleeping,   0 stopped,   0 zombie
CPU: 77.9% us,  3.0% sy,  0.0% ni, 19.1% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:   1035520K total,   970140K used,    65380K free,    21664K buffers
Swap:  1556208K total,   531068K used,  1025140K free,   375496K cached

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
  7073 root      16   0  332M 198M 5808 R 76.1 19.7 314:52.67 X

Переключение в одноэкранный режим эту ненормальность убирает.

$ uname -a
Linux t40.kds.priv 2.6.18-std-smp-alt12 #1 SMP Mon Feb 11 00:44:54 MSK 
2008 i686 GNU/Linux

$ rpmg xorg
[...]
xorg-x11-dri-radeon-7.0.3-alt4
xorg-x11-drv-radeon-6.8.0-alt3
xorg-x11-server-1.4.0.90-alt17
[...]

$ lspci -vv
[...]
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility 
M7 LW [Radeon Mobility 7500] (prog-if 00 [VGA controller])
         Subsystem: IBM Device 0530
         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping+ SERR+ FastB2B+ DisINTx-
         Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium 
 >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
         Latency: 66 (2000ns min), Cache Line Size: 32 bytes
         Interrupt: pin A routed to IRQ 11
         Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M]
         Region 1: I/O ports at 3000 [size=256]
         Region 2: Memory at c0100000 (32-bit, non-prefetchable) [size=64K]
         [virtual] Expansion ROM at c0120000 [disabled] [size=128K]
         Capabilities: <access denied>
[...]

$ rpm -q thunderbird
thunderbird-2.0.0.12-alt1


xorg.conf в аттаче.



-- 
Думаю, что вы можете известить мантейнеров заинтересованных пакетов, или
они сами набредут на эту запись в bugzilla и скорректируют свои скрипты.
		-- ldv in #8434

[-- Attachment #2: xorg.conf --]
[-- Type: text/plain, Size: 3125 bytes --]

Section "Extensions"
       Option "Composite" "enable"
EndSection

Section "ServerFlags"
	AllowMouseOpenFail
	Option "AIGLX" "true"
	Option "NoPM" "true"
EndSection

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen         "Screen at Device0" 0 0
	InputDevice    "mouse0" "CorePointer"
	InputDevice    "mouse1" "SendCoreEvents"
	InputDevice    "ru_alt" "CoreKeyboard"
EndSection

Section "Files"
#	FontPath     "unix/:-1"
EndSection

Section "Module"
	Load  "dbe"
	Load  "glx"
	Load  "dri"
	Load  "extmod"
	Load  "freetype"
	SubSection "extmod"
		Option	    "omit xfree86-dga"
	EndSubSection
EndSection

Section "InputDevice"
	Identifier  "ru_alt"
	Driver      "kbd"
        Option "AutoRepeat"  "250 30"
        Option "XkbModel" "pc105"
        Option	    "XkbLayout" "us,ua,ru"
	Option "XkbVariant"  ",winkeys,winkeys"
	Option	    "XkbOptions" "grp:toggle,grp:toggle,grp:toggle"
EndSection

Section "InputDevice"
	Identifier  "mouse0"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/mice"
	#"SynPS/2 Synaptics TouchPad"
	Option	    "Protocol" "auto-dev"
	Option	    "LeftEdge" "1700"
	Option	    "RightEdge" "5300"
	Option	    "TopEdge" "1700"
	Option	    "BottomEdge" "4200"
	Option	    "FingerLow" "25"
	Option	    "FingerHigh" "30"
	Option	    "MaxTapTime" "180"
	Option	    "MaxTapMove" "220"
	Option	    "VertScrollDelta" "100"
	Option	    "MinSpeed" "0.06"
	Option	    "MaxSpeed" "0.12"
	Option	    "AccelFactor" "0.0010"
	Option	    "SHMConfig" "on"
EndSection

Section "InputDevice"
	Identifier  "mouse1"
	Driver      "mouse"
	#Option      "Protocol" "IMPS/2"
	Option "Protocol" "ExplorerPS/2"
	Option "ZAxixMapping" "4 5 6 7"
	Option	    "Device" "/dev/input/mice"
        Option "Emulate3Buttons"
        Option "Emulate3Timeout"    "50"
	Option "XAxisMapping"       "6 7"
	Option "YAxisMapping"       "4 5"
        Option "ZAxisMapping"       "4 5"
        Option "EmulateWheel"       "true"
        Option "EmulateWheelButton" "2"
	Option "EmulateWheelInertia" "10"
	Option "EmulateWheelClickToo" "true"
	#"TrackPoint IBM TrackPoint"
EndSection

Section "Monitor"
	Identifier   "Monitor at Device0|0"
EndSection

Section "Monitor"
	Identifier   "Generic Monitor"
	Option       "DPMS"
EndSection

Section "Device"
	Identifier  "ATI Radeon (x11)|0"
	Driver      "radeon"
	#Option		"DynamicClocks"	"on"
	#Option		"CRT2Position"	"LeftOf"
	#Option		"CRT2HSync"	"30-81"
	#Option		"CRT2VRefresh"	"56-76"
	#Option      "MonitorLayout"     "LVDS,CRT" 
	#Option		"MetaModes"	"1280x1024 1024x768 1280x1024 1024x768 800x600 640x480"
	#Option		"MergedNonRectangular"	"true"
EndSection

Section "Screen"
	Identifier "Screen at Device0"
	Device     "ATI Radeon (x11)|0"
	Option "XaaNoOffscreenPixmaps"
	Monitor    "Monitor at Device0|0"
	DefaultDepth     24
	SubSection "Display"
		Depth     8
	EndSubSection
	SubSection "Display"
		Depth     15
	EndSubSection
	SubSection "Display"
		Depth     16
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes     "1280x1024" "1024x768"
		Virtual   2048 768
	EndSubSection
EndSection

Section "DRI"
	Group        "xgrp"
	Mode         0660
EndSection


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-30 15:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-30 15:57 [sisyphus] dual-screen X + thunderbird => CPU load Andriy Khavryuchenko

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git