Date: Fri, 26 Nov 2010 19:42:31 +0100 From: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> To: freebsd-amd64@FreeBSD.org Subject: Re: firefox constantly loads one CPU core to 100% Message-ID: <20101126194231.e6496cb1.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20101126064653.GG34385@relay.ibs.dn.ua> References: <20101126064653.GG34385@relay.ibs.dn.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 26 Nov 2010 08:46:53 +0200 Zeus V Panchenko <zeus@ibs.dn.ua> wrote: > Hi, > > i'm trying to understand, why firefox loads one core constantly up to > 100% and even more ... I don't know, but I have the same problem on one of my machines. > from dmidecode Base Board Information Manufacturer: ASUSTeK Computer INC. Product Name: V-M3N8200 Version: Rev X.0x > from uname root@kg-v2# uname -a FreeBSD kg-v2.kg4.no 8.1-STABLE FreeBSD 8.1-STABLE #3: Thu Sep 16 22:18:48 CEST 2010 root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 > from dmesg FreeBSD 8.1-STABLE #3: Thu Sep 16 22:18:48 CEST 2010 root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) Dual Core Processor 4850e (2500.01-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x60fb2 Family = f Model = 6b Stepping = 2 Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Features2=0x2001<SSE3,CX16> AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!> AMD Features2=0x11f<LAHF,CMP,SVM,ExtAPIC,CR8,Prefetch> TSC: P-state invariant real memory = 8589934592 (8192 MB) avail memory = 8255340544 (7872 MB) ACPI APIC Table: <062609 APIC1645> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 <Version 1.1> irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <062609 XSDT1645> 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, cff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 25000000 Hz quality 900 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pci0: <memory, RAM> at device 0.0 (no driver attached) isab0: <PCI-ISA bridge> port 0x900-0x9ff at device 1.0 on pci0 isa0: <ISA bus> on isab0 pci0: <serial bus, SMBus> at device 1.1 (no driver attached) pci0: <memory, RAM> at device 1.2 (no driver attached) pci0: <processor> at device 1.3 (no driver attached) pci0: <memory, RAM> at device 1.4 (no driver attached) ohci0: <OHCI (generic) USB controller> mem 0xf9f7e000-0xf9f7efff irq 22 at device 2.0 on pci0 ohci0: [ITHREAD] usbus0: <OHCI (generic) USB controller> on ohci0 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xf9f7fc00-0xf9f7fcff irq 23 at device 2.1 on pci0 ehci0: [ITHREAD] usbus1: EHCI version 1.0 usbus1: <EHCI (generic) USB 2.0 controller> on ehci0 ohci1: <OHCI (generic) USB controller> mem 0xf9f7d000-0xf9f7dfff irq 20 at device 4.0 on pci0 ohci1: [ITHREAD] usbus2: <OHCI (generic) USB controller> on ohci1 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xf9f7f800-0xf9f7f8ff irq 21 at device 4.1 on pci0 ehci1: [ITHREAD] usbus3: EHCI version 1.0 usbus3: <EHCI (generic) USB 2.0 controller> on ehci1 atapci0: <nVidia nForce MCP77 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 6.0 on pci0 ata0: <ATA channel 0> on atapci0 ata0: [ITHREAD] ata1: <ATA channel 1> on atapci0 ata1: [ITHREAD] hdac0: <NVidia MCP78 High Definition Audio Controller> mem 0xf9f78000-0xf9f7bfff irq 22 at device 7.0 on pci0 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] pcib1: <ACPI PCI-PCI bridge> at device 8.0 on pci0 pci1: <ACPI PCI bus> on pcib1 atapci1: <nVidia nForce MCP77 SATA300 controller> port 0xd480-0xd487,0xd400-0xd403,0xd080-0xd087,0xd000-0xd003,0xcc00-0xcc0f mem 0xf9f76000-0xf9f77fff irq 23 at device 9.0 on pci0 atapci1: [ITHREAD] atapci1: AHCI v1.20 controller with 6 3Gbps ports, PM supported ata2: <ATA channel 0> on atapci1 ata2: [ITHREAD] ata3: <ATA channel 1> on atapci1 ata3: [ITHREAD] ata4: <ATA channel 2> on atapci1 ata4: [ITHREAD] ata5: <ATA channel 3> on atapci1 ata5: [ITHREAD] ata6: <ATA channel 4> on atapci1 ata6: [ITHREAD] ata7: <ATA channel 5> on atapci1 ata7: [ITHREAD] nfe0: <NVIDIA nForce MCP77 Networking Adapter> port 0xc880-0xc887 mem 0xf9f7c000-0xf9f7cfff,0xf9f7f400-0xf9f7f4ff,0xf9f7f000-0xf9f7f00f irq 20 at device 10.0 on pci0 miibus0: <MII bus> on nfe0 rgephy0: <RTL8169S/8110S/8211B media interface> PHY 3 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto nfe0: Ethernet address: 00:23:54:06:ce:71 nfe0: [FILTER] pcib2: <ACPI PCI-PCI bridge> irq 16 at device 16.0 on pci0 pci2: <ACPI PCI bus> on pcib2 vgapci0: <VGA-compatible display> port 0xec00-0xec7f mem 0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfa000000-0xfbffffff irq 16 at device 0.0 on pci2 pcib3: <ACPI PCI-PCI bridge> irq 17 at device 18.0 on pci0 pci3: <ACPI PCI bus> on pcib3 amdtemp0: <AMD K8 Thermal Sensors> on hostb3 acpi_button0: <Power Button> on acpi0 fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppc0: [ITHREAD] ppbus0: <Parallel port bus> on ppc0 lpt0: <Printer> on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 plip0: <PLIP network interface> on ppbus0 plip0: [ITHREAD] acpi_aiboost0: <ASUStek AIBOOSTER> on acpi0 atrtc0: <AT realtime clock> port 0x70-0x71 on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 powernow0: <PowerNow! K8> on cpu0 powernow1: <PowerNow! K8> on cpu1 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 480Mbps High Speed USB v2.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 ad0: 76319MB <Seagate ST3802110A 3.AAJ> at ata0-master UDMA100 ugen0.1: <nVidia> at usbus0 uhub0: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 ugen1.1: <nVidia> at usbus1 uhub1: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1 ugen2.1: <nVidia> at usbus2 uhub2: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2 ugen3.1: <nVidia> at usbus3 uhub3: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3 GEOM: ad0: partition 1 does not end on a track boundary. ad4: 476940MB <SAMSUNG HD501LJ CR100-13> at ata2-master UDMA100 SATA 3Gb/s hdac0: HDA Codec #0: VIA VT1708B_1 hdac0: HDA Codec #3: NVidia MCP78 HDMI pcm0: <HDA VIA VT1708B_1 PCM #0 Analog> at cad 0 nid 1 on hdac0 pcm1: <HDA VIA VT1708B_1 PCM #1 Digital> at cad 0 nid 1 on hdac0 pcm2: <HDA NVidia MCP78 HDMI PCM #0 Digital> at cad 3 nid 1 on hdac0 SMP: AP CPU #1 Launched! uhub0: 6 ports with 6 removable, self powered uhub2: 6 ports with 6 removable, self powered Root mount waiting for: usbus3 usbus1 Root mount waiting for: usbus3 usbus1 > from portversion -v root@kg-v2# portversion -v | grep firefox firefox-3.5.14,1 < needs updating (port has 3.5.15,1) root@kg-v2# portversion -v | grep jdk diablo-jdk-1.6.0.07.02_11 = up-to-date with port openjdk-7.0.117 = up-to-date with port > from top last pid: 3211; load averages: 1.40, 1.40, 1.41 up 70+21:00:21 19:36:35 219 processes: 2 running, 216 sleeping, 1 zombie CPU: 0.9% user, 18.0% nice, 37.7% system, 0.0% interrupt, 43.3% idle Mem: 2664M Active, 1728M Inact, 809M Wired, 5860K Cache, 827M Buf, 2707M Free Swap: 4096M Total, 2288K Used, 4094M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 30023 tingo 19 54 10 1781M 1348M ucond 0 1113.3 124.66% firefox-bin 1349 tingo 1 44 0 520M 259M select 0 292.3H 1.27% Xorg > systat -v 22 users Load 1.19 1.34 1.39 Nov 26 19:37 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 3350192 58768 14489844 79616 2776316 count All 3453596 72504 1088368k 126608 pages Proc: Interrupts r p d s w Csw Trp Sys Int Sof Flt 14 cow 4045 total 3 214 2525 5000 385k 44 327 3910 3864 zfod atkbd0 1 ozfod fdc0 irq6 38.0%Sys 0.0%Intr 2.0%User 28.4%Nice 31.6%Idle %ozfod ata0 irq14 | | | | | | | | | | | daefr 5 nfe0 ohci1 ===================>-------------- 1078 prcfr ehci1 21 30 dtbuf 3974 totfr 35 ohci0 22 Namei Name-cache Dir-cache 100000 desvn react 5 ehci0+ 23 Calls hits % hits % 85581 numvn pdwak 2000 cpu0: time 1205 1192 99 1 0 23469 frevn pdpgs hdac0 256 intrn 2000 cpu1: time Disks ad0 ad4 da1 da2 da3 da0 cd0 827988 wire KB/t 0.00 51.67 0.00 0.00 0.00 0.00 0.00 2728192 act tps 0 4 0 0 0 0 0 1770004 inact MB/s 0.00 0.18 0.00 0.00 0.00 0.00 0.00 5860 cache %busy 0 0 0 0 0 0 0 2770456 free 847232 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 tingo firefox-bi XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX root idle XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX tingo firefox-bi XXXXXXXXXXXXXXXX root idle XXX root Xorg X Firefox plugins are: "Add Bookmark Here2", "FEBE", "Flashblock" HTH as data points. -- Regards, Torfinn Ingolfsen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101126194231.e6496cb1.torfinn.ingolfsen>