! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
high cpu and mem usage
Status:
RESOLVED: DUPLICATE
Product:
Xfce4-battery-plugin
Component:
General

Comments

Description Alexey Privalov 2007-02-26 09:12:41 CET
Hi all,

I have quite strange and high (high for such application) cpu usage:
88288 lucky   1  97    0 47540K 11460K select   4:32  3.42% xfce4-battery-plugi
27290 lucky   1  96    0 27364K 19420K select   2:30  0.05% sim
15187 lucky   4  20    0 12368K  8536K kserel  19:36  0.00% xmms
78261 lucky   1  96    0 12404K  7804K select   1:11  0.00% xfce4-wavelan-plugi
18050 lucky   1  96    0 51504K 16328K select   0:35  0.00% xfce4-panel

sim and xmms both are using much less cpu than battery-plugin! is it ok? )

also is it normal that plugin use so much memory? 

I have a Compaq Evo n610c laptop.

> uname -a
FreeBSD ontario 6.2-STABLE FreeBSD 6.2-STABLE #12: Fri Feb 23 18:35:47 NOVT 2007     root@ontario:/usr/src/sys/i386/compile/ontario  i386

> 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 6.2-STABLE #12: Fri Feb 23 18:35:47 NOVT 2007
    root@ontario:/usr/src/sys/i386/compile/ontario
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (1196.12-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNTX-ID,<b14>>
real memory  = 536674304 (511 MB)
avail memory = 519979008 (495 MB)
kbd1 at kbdmux0
ACPI: overriding DSDT/SSDT with custom table
    ACPI-0377: *** Info: Table [DSDT] replaced by host OS
<skipped>

there are following changes was made in ACPI table: added two buttons (power and sleep), LID Switch fixed.


> pkg_info | grep xfce4-bat
xfce4-battery-plugin-0.5.0_1 Battery monitor panel plugin for XFce4

under Xfce 4 Desktop Environment version 4.4.0 (Xfce 4.4)
Comment 1 Alexey Privalov 2007-02-26 11:04:53 CET

*** This bug has been marked as a duplicate of bug 2948 ***
Comment 2 Yves-Alexis Perez editbugs 2007-10-31 21:28:04 CET
Another problem may be that there is a lot of activity on the socket opened by xfce4-battery-plugin (I guess it's the communication with xfce4-panel). I don't know what activity it corresponds to, but maybe it could be lower?

Regards,

--
Yves-Alexis

Bug #2949

Reported by:
Alexey Privalov
Reported on: 2007-02-26
Last modified on: 2010-11-09

People

Assignee:
Xfce-Goodies Maintainers
CC List:
1 user

Version

Version:
0.5.1 or older

Attachments

Additional information