From owner-freebsd-amd64@FreeBSD.ORG Fri Nov 26 06:46:58 2010 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 278AB106566C for ; Fri, 26 Nov 2010 06:46:58 +0000 (UTC) (envelope-from zeus@relay.ibs.dn.ua) Received: from relay.ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) by mx1.freebsd.org (Postfix) with ESMTP id 604318FC14 for ; Fri, 26 Nov 2010 06:46:56 +0000 (UTC) Received: from relay.ibs.dn.ua (localhost [127.0.0.1]) by relay.ibs.dn.ua with ESMTP id oAQ6ksak083285 for ; Fri, 26 Nov 2010 08:46:54 +0200 (EET) Received: (from zeus@localhost) by relay.ibs.dn.ua (8.14.4/8.14.4/Submit) id oAQ6krTf083283 for freebsd-amd64@freebsd.org; Fri, 26 Nov 2010 08:46:53 +0200 (EET) Date: Fri, 26 Nov 2010 08:46:53 +0200 From: Zeus V Panchenko To: freebsd-amd64@freebsd.org Message-ID: <20101126064653.GG34385@relay.ibs.dn.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.1-RELEASE X-Editor: GNU Emacs 23.2.1 Subject: firefox constantly loads one CPU core to 100% X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: zeus@ibs.dn.ua List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2010 06:46:58 -0000 Hi, i'm trying to understand, why firefox loads one core constantly up to 100% and even more ... here the details: > dmidecode Base Board Information Manufacturer: ASUSTeK Computer INC. Product Name: P7H55 Type: Motherboard > uname -a FreeBSD 8.1-RELEASE amd64 > dmesg FreeBSD 8.1-RELEASE #2: Wed Nov 10 20:54:25 EET 2010 root@adsl-62-221-48-131.dn.farlep.net:/usr/src/sys/amd64/compile/ZEUS_HOME amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz (3077.41-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x20652 Family = 6 Model = 25 Stepping = 2 Features=0xbfebfbff Features2=0x98e3bd AMD Features=0x28100800 AMD Features2=0x1 TSC: P-state invariant real memory = 4294967296 (4096 MB) avail memory = 4110811136 (3920 MB) ACPI APIC Table: <062310 APIC1147> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 4 cpu3 (AP): APIC ID: 5 ioapic0: Changing APIC ID to 6 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ichwd module loaded cryptosoft0: on motherboard acpi0: <062310 XSDT1147> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of fee00000, 1000 (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, dff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 ACPI Warning: Incorrect checksum in table [OEMB] - 0xBB, should be 0xBA (20100331/tbutils-354) cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 ... > pkg_info firefox-3.6.11,1 > top last pid: 1659; load averages: 1.89, 1.36, 1.30 up 0+00:58:26 08:42:18 108 processes: 3 running, 105 sleeping CPU: 31.0% user, 0.0% nice, 19.2% system, 0.4% interrupt, 49.4% idle Mem: 1572M Active, 127M Inact, 394M Wired, 5908K Cache, 286M Buf, 1842M Free Swap: 16G Total, 16G Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1484 zeus 12 44 0 336M 205M ucond 0 47:36 100.10% firefox-bin 1426 zeus 1 44 0 374M 289M select 0 0:41 0.00% Xorg > systat -v 1 users Load 1,44 1,46 1,35 26 ноя 08:44 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 1567116 24504 4662544 41536 2040936 count All 1678636 26024 1078540k 59496 pages Proc: Interrupts r p d s w Csw Trp Sys Int Sof Flt cow 8085 total 1 108 1161 177 1M 82 207 20 zfod atkbd0 1 ozfod 79 psm0 irq12 18,1%Sys 0,1%Intr 7,5%User 0,0%Nice 74,4%Idle %ozfod 1 ehci0+ 16 | | | | | | | | | | | daefr 1 ehci1 23 =========>>>> prcfr 2001 cpu0: time 8 dtbuf totfr hdac0 256 Namei Name-cache Dir-cache 100000 desvn react hdac1 257 Calls hits % hits % 5341 numvn pdwak re0 irq258 1 1 100 1132 frevn pdpgs ahci0 259 intrn 2001 cpu1: time Disks ada0 ada1 md0 pass0 pass1 431204 wire 2001 cpu2: time KB/t 0,00 18,00 0,00 0,00 0,00 1432868 act 2001 cpu3: time tps 0 0 0 0 0 131188 inact MB/s 0,00 0,01 0,00 0,00 0,00 5908 cache %busy 0 0 0 0 0 2035028 free 347840 buf 293088 buf > systat -pigs /0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10 Load Average ||||||||| /0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100 root idle XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX zeus firefox-bi XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX root idle XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX root idle XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX root idle XXXXXXXXXXXXXX zeus darktable XXXXXXX any advice is appreciated much. -- Zeus V. Panchenko GMT+2 (EET)