Cpu usage / loadaverage in windows

Hi Everybody,
To monitor CPU utilization, we can une the getSystemLoadAverage() method in OperatingSystemMXBean. But this doesn't work for windows platform. This method returns -1.
Is there a way to get this information without using native code ? I'm looking for a cross-platform solution.
Thanks.
Youcef

I am afraid a platform independent way to calculate CPU usage is not possible. I ran into the very same problem that you face right now. I had to manually calculate CPU usage using Win32 native API "GetProcessTime". The general formula for this on the windows platform is (total kernel time + total user time) / total number of processors. I don't have the code with me, as it was a long time ago. If I find it, I will post it here.
Hope this helps.
Regards,
Parth Mehta.

Similar Messages

  • Evenlog viewing causes CPU usage 100% on Windows server 2008 SP2

    We have Windows server 2008 SP2 with strange behaviour. When I scroll down events in eventlog viewer CPU usage hits 100% and eventlog viewer freeze. CPU usage is split between 2 processes SVCHOST.EXE (lmhosts, eventlog and Dhcp services) and MMC.EXE.
    1)I tried to replace eventlog files with new ones. That didn’t helped
    2)After server clean boot problem still exist.
    3)When CPU hits 100% usage process explorer shows that from SVCHOST.EXE process CPU is used by service EventLog.
    Any ideas how to fix this?

    Hi Santosh
    I re-installed VMware
    tools and also configured VMXNET 3 - nothing changed :(
    Sorry to hear that.
    Windows event log service has couple of dependencies i.e. task scheduler and windows event collector service. Can try restrating those services ?
    In addition to above, try following steps
    Change NTFS permission of  %WINDIR%\System32\WinEvt\Logs directory, add Local Service and
    Network Service, give them FULL permissions.
    Stop and Start event viewer service by running following command
    net stop eventlog && net start eventlog
    Issues like this might occur if the disk (FC or iSCSI SAN or even NAS) has some inconsistencies , this is true in case of both physical and virtual machines 
    You might want to try running chkdisk as well on the server in question
    http://technet.microsoft.com/en-us/library/cc730714(v=ws.10).aspx
    If nothing helps, try inplace upgrade of the Operating system as an last option.
    How to Perform an In-Place Upgrade on Windows Vista, Windows 7, Windows Server 2008 & Windows Server 2008 R2
    http://support.microsoft.com/kb/2255099
    Thanks
    Regards, Santosh
    I do not represent the organisation I work for, all the opinions expressed here are my own.
    This posting is provided "AS IS" with no warranties or guarantees and confers no rights.
    Whenever you see a helpful reply, click on Vote As Helpful & click on
    Mark As Answer if a post answers your question.

  • High CPU & Memory issues - Excessive and unnecessary CPU usage in Firefox for Windows (see also questions1003966 & 998289)

    I am using the latest version of Firefox, 32.0.1, on an HP Pavilion dv7-4141sa laptop computer, running Windows 8.1 Pro 64-bit. There should be more than enough power here to run a browser without any problem, yet the computer is regularly being overloaded by the browser's resource usage.
    I am currently measuring typical average CPU usage of 45% - with the browser minimised. That is to say, Firefox is not doing any browser jobs - it is not drawing on the screen - but it is using the most CPU of any process currently running. Why?
    I am an ex-software engineer, and my understanding of current application development technology is limited, but I think I can say with some confidence that many techniques and software architectures exist that enable the suspension of program activity, or at least its reduction to a very low bare minimum, when the program is not actually carrying out its design function, which is in this case to draw pictures of website data on a screen.
    There is a very serious problem here, one which means that I cannot run Firefox all the time, but have to kill it when I am not actively browsing, otherwise other applications cannot run to their full capacity. This is a great pity, because I have committed a lot of effort to making Firefox my primary web tool. It manages all my many bookmarks, contains my secure password manager (LastPass), manages my web security (via NoScript, AdBlock, and FlashBlock), just for a start.
    Before any well-meaning moderators or other commenters start down the usual trail of "have you done this, tried that, disabled the other", I should point out that I have followed all the advice I can find, with no positive outcome. This computer is running a fresh installation of Windows, and a fresh installation of Firefox. At the moment I am running a new test Firefox profile.
    The latest version of Adobe Flash, 14.0.0.179, is installed but disabled. When it is enabled and in use, Firefox's CPU usage seems high over longer periods, but overall there is little difference. It doesn't look as though the problem can be laid at Flash's door. A few other add-ins are installed, mainly those mentioned above, and Firefox is skinned with LavaFox v2-Green, but I have previously started from a clean installation, which has made little difference after an initial period during which things seemed to be better. Turning off or disabling various add-ons has made no discernible difference.
    Just now I turned Flash on, and after a long period with Firefox minimised, Resource Monitor reported Firefox at 8% average CPU and FlashPlayerPlugin at 0.32%. While running a small video, RM reports FlashPlayerPlugin at about 45% and Firefox at 8%. After the video, Flash went back down to around 0.4%, and after a bit more browsing Firefox went to around 17% minimised. There seems little rhyme or reason here, except that Flash does not seem to be the culprit, although Firefox does seem to consume less when fewer tabs are actually active, as you might expect. I just refreshed more than a dozen tabs, and now Firefox is at 30%, but still not back up to the higher figures. Weird.
    The CPU usage does vary a lot around the average, but 30% is still a lot for a program that shouldn't be doing anything above the minimum status maintenance, and still puts it at the top of my Top Process Monitor list. (Right now it's gone back up to 45%, without my using it in any way).
    I have Telemetry turned on, so presumably Mozilla is recording some of the relevant data.
    This is a very serious fault, which is more or less reproducible and which a lot of people seem to be experiencing. Probably more people have it than realise, because most users will not know anything other than that their computer slows down for some non-obvious reason; they may just think it's something to do with the computer itself, not knowing how to use the Resource Monitor and interpret the results.
    Oddly, the problem does not seem to occur when running Firefox under Linux Mint 17, where the response is snappy and the CPU usage ostensibly low; I am going to look at this in more detail shortly.
    I am not posting here for advice, but for information and as a form of bug report which hopefully other users will see. It will hopefully spare them a lot of effort and time in trying a lot of recommended "solutions" which will not work. The problem is inherent in the software, and can be solved only by Mozilla.
    I am willing to supply any diagnostic data requested; as I said above, I have also turned on "Telemetry". However, I will not be trying out any more reinstallation/new-profile/add-on disable-enable-delete cycles unless I am asked to for very specific reasons. Please do not suggest courses of action which have already been mentioned elsewhere on this forum. I have tried them all.
    The situation is very disappointing, but I have confidence that the Firefox developers will pin down the fault eventually and engineer a satisfactory solution that makes it viable to leave Firefox open all the time. Even with that restriction, it's still far better than the alternatives.

    I share jmward's frustration. This is not a bug report so much as a request for a badly needed feature, ie the ability to have Firefox be able to tell us which tabs on which windows are eating time so we can target them. There are some very poorly written web pages out there which just plain loop while making no updates or inconsequential updates on the page.
    This is not a OS problem; jmward runs Windows and I run Linux but we have the same issue. It is not a question of Firefox plugins or extensions, or even viruses; I have a new, clean Linux install but have the same problem on both my regular Firefox AND on a FRESH install of the latest Firefox (35.0.1) which has *NO* non-default plugins or extensions.
    Here is an example of a web page which will eat 100% of one CPU's time:
    http://patch.com/massachusetts/arlington/arlington-woman-allegedly-attacks-neighbor-snow-blower-0
    I will attach 3 images to back up my claim. All of the images show my dark blue system monitor (gkrellm) superimposed on the web page. The top graph shows CPU time. I have 4 CPUs in my machine, so 25% means the web page is eating 100% of one CPU equivalent.
    The first image shows the load of the offending page with elevated CPU usage along with the download net activity on eth0, but the CPU activity does not stop when the download activity is over.
    The second images show the steady state 100% CPU equivalent of this page just sitting there apparently doing nothing. It IS, however, doing at least two different things. I know from my regular Firefox where I have "Remove It Permanently" installed that if I remove the the little weather indicator in the upper right of the offending page that CPU utilization drops to about 40% of one CPU equivalent. If I use RIP to remove everything else right down to a bare screen that 40% utilization stays until I delete the tab.
    The third image shows the CPU utilization drop to zero when I delete the tab holding the offending page.
    Now I will add a note here: If the offending page is NOT the top tab in a window then it stops eating time. The offender will also stop eating time if I minimize the window. However if I have another window up but leave the offender up on top in its window it continues to eat time even tho I am looking at another window. The offender will continue to eat time even if its window is completely covered by another window, and it will also eat time if I switch to another desktop.
    I will often have half a dozen windows open, and there are many pages out there which will suck endless CPU time. Unless I want to open up a new tab on each window before I leave it there is likely to be some tab on top eating time uselessly. Get a couple of those going and Firefox becomes sluggish and can even stop responding for many seconds.
    I guess I not only want to have Firefox tell us which tabs are eating time, but I would also like it if Firefox would stop giving CPU time to any tab which is not visible because it is covered by some other window and/or it is on a desktop which is currently not showing. If you can stop a tab's CPU usage by reason of tab-not-showing then you should also be able to stop its CPU usage when the window is covered or on the not-top desktop. Indeed is there any reason to not schedule absolute CPU utilization priority to the visible tab on the window with focus and give time to the other tabs only when the visible tab isn't using time?
    My final thought on this is that I have had Firefox SO tied up sometimes that I swear their are web pages which are eating time even tho they are not the top tab. I regret that I do not have an example to show you. But Firefox grinds to a complete halt on a regular basis, and that is not acceptable. I am a programmer with long experience in multi-threaded programs so I *know* there is no reason you cannot do better. If there were another browser around which had the commitment to privacy which Firefox has I would probably switch out of shear annoyance. :-(

  • Having Issues with High CPU Usage with fluxbox & pekwm

    Greetings,
    I have searched for this issue and it seems that something similar has happened in the past with an old xorg, and it seems that someone is having a similar issue that they can point to kde as being the culrpit. However in my case, this is a fresh install and is not using any kde libs. Please allow me to explain the issue.
    The power supply on my main computer finally gave out, and being incredibly poor at the moment I can not yet replace it. So, I pull out an older computer that I had once set up for my kids, but took it away from them when they were abusing it. I always make backup dvds and such monthly so I didn't have to worry about any lose of data, however I desired to keep my larger hard drives from my main computer. After testing to ensure that the hard drives were fine, I did some minor surgery, and did a fresh install of arch linux onto my back up computer. Since I prefer pekwm, I installed pekwm as my wm of choice, and outfitted it quickly with mpd+sonata, firefox, pcmanfm, and tint2. Then I rebooted into my pekwm 'desktop'.
    It was running sluggish. Firefox was easily maxing the cpu up and beyond 100% and it felt ten times worse than any heavy DE I used in the past. I checked to make sure I had the right video driver installed. As this computer runs a 64MB nVidia GeForce2 MX with TV out video card, I searched nvidia's page and the arch wiki, noting that the driver needed is nvidia-96xx. Well I had already suspected that during install, and thus had installed such driver. I double checked my xorg.config and it has the right driver listed.
    So I checked out some lighter browsers. I tried both Midori and Iron (which is similar to Chrome but without google spyware or whatever). Well both run better than firefox, Midori being the lightest one, but Iron quickly being my favorite. Still, the problem remained. Moving windows caused cpu spikes, opening more than one tab, or more than one program caused cpu spikes and the computer to slow down and sputter, freezing at times.
    So I tried out another wm, fluxbos, which is another of my favorites. Seemed somewhat better but only fractionally, which I consider odd because pekwm has always seemed snappier than fluxbox to me in the past. Running lxtask (still mouse dependent, sorry lol), I was able to take note of the following...
    FLUXBOX
    lxtask 6% CPU usage average
    PCManFM 5% CPU Average
    Fluxbox 1% to 2% cpu usage
    gksu 3% cpu usage
    pidgin 3% to 7% cpu usage
    firefox up to 62% cpu usage
    midori up to 38% cpu usage
    iron up to 50% cpu usage
    mpd 11% cpu uage
    Xorg (with no window movement) 2% cpu usage
    Xorg (moving windows around) up to 80% cpu usage
    PEKWM
    lxtask 6% CPU
    pidgin 7% cpu
    tint2 1% cpu
    pekwm 1% to 5% cpu
    pcmanfm 7% cpu
    firefox up to 85% cpu
    python 1% cpu
    midori up to 38% cpu
    iron up to 25% cpu (odd...)
    Xorg (with no window movement) 1% cpu
    Xorg (when moving windows around) up to 80% cpu
    Both were using around 118 MB RAm and weren't yet touching swap. As I see it I am  thinking xorg  or video driver related, yet I already made sure that I had the correct video driver. Here's my Xorg.conf
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder63) Thu Jun 25 18:57:07 PDT 2009
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection
    Section "Files"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 30.0 - 110.0
    VertRefresh 50.0 - 150.0
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1600x900" "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection
    Here's some specs on this computer, including video cards and such...
    Computer
    Summary
    Computer
    Processor Intel(R) Pentium(R) 4 CPU 1.60GHz
    Memory 1034MB (239MB used)
    Operating System Arch Linux
    User Name mythus (Travis K. Randall)
    Date/Time Thu 08 Oct 2009 05:24:52 PM CDT
    Display
    Resolution 1600x900 pixels
    OpenGL Renderer GeForce2 MX/AGP/SSE2
    X11 Vendor The X.Org Foundation
    Multimedia
    Audio Adapter ICH - Intel 82801BA-ICH2
    Input Devices
    Macintosh mouse button emulation
    AT Translated Set 2 keyboard
    Power Button
    Power Button
    PC Speaker
    Logitech USB Optical Mouse
    Printers
    No printers found
    SCSI Disks
    ATA ST3160212A
    ATA IC35L090AVV207-0
    LITE-ON LTR-16102B
    TSSTcorp CD/DVDW TS-H552D
    Operating System
    Version
    Kernel Linux 2.6.30-ARCH (i686)
    Compiled #1 SMP PREEMPT Wed Sep 9 12:37:32 UTC 2009
    C Library GNU C Library version 2.10.1 (stable)
    Default C Compiler GNU C Compiler version 4.4.1 (GCC)
    Distribution Arch Linux
    Current Session
    Computer Name norova
    User Name mythus (Travis K. Randall)
    Home Directory /home/mythus
    Desktop Environment Unknown (Window Manager: Fluxbox)
    Misc
    Uptime 11 hours, 38 minutes
    Load Average 0.20, 0.38, 0.34
    Kernel Modules
    Loaded Modules
    ipv6 IPv6 protocol stack for Linux
    reiserfs ReiserFS journaled filesystem
    usbhid USB HID core driver
    hid
    arc4 ARC4 Cipher Algorithm
    ecb ECB block cipher algorithm
    snd_seq_dummy ALSA sequencer MIDI-through client
    rt2500pci Ralink RT2500 PCI & PCMCIA Wireless LAN driver.
    snd_seq_oss OSS-compatible sequencer module
    rt2x00pci rt2x00 pci library
    snd_seq_midi_event MIDI byte <-> sequencer event coder
    rt2x00lib rt2x00 library
    snd_seq Advanced Linux Sound Architecture sequencer.
    led_class LED Class Interface
    snd_seq_device ALSA sequencer device management
    input_polldev Generic implementation of a polled input device
    mac80211 IEEE 802.11 subsystem
    snd_intel8x0 Intel 82801AA,82901AB,i810,i820,i830,i840,i845,MX440; SiS 7012; Ali 5455
    uhci_hcd USB Universal Host Controller Interface driver
    snd_pcm_oss PCM OSS emulation for ALSA.
    fan ACPI Fan Driver
    cfg80211 wireless configuration support
    ppdev
    ehci_hcd USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    snd_mixer_oss Mixer OSS emulation for ALSA.
    snd_ac97_codec Universal interface for Audio Codec '97
    nvidia
    lp
    eeprom_93cx6 EEPROM 93cx6 chip driver
    parport_pc PC-style parallel port driver
    ohci1394 Driver for PCI OHCI IEEE-1394 controllers
    parport
    psmouse PS/2 mouse driver
    ac97_bus
    ieee1394
    serio_raw Raw serio driver
    8139too RealTek RTL-8139 Fast Ethernet driver
    e100 Intel(R) PRO/100 Network Driver
    snd_pcm Midlevel PCM code for ALSA.
    pcspkr PC Speaker beeper driver
    battery ACPI Battery Driver
    8139cp RealTek RTL-8139C+ series 10/100 PCI Ethernet driver
    snd_timer ALSA timer interface
    i2c_core I2C-Bus main module
    iTCO_wdt Intel TCO WatchDog Timer Driver
    mii MII hardware support library
    evdev Input driver event char devices
    snd Advanced Linux Sound Architecture driver for soundcards.
    ac ACPI AC Adapter Driver
    iTCO_vendor_support Intel TCO Vendor Specific WatchDog Timer Driver Support
    usbcore
    soundcore Core sound module
    sg SCSI generic (sg) driver
    shpchp Standard Hot Plug PCI Controller Driver
    snd_page_alloc Memory allocator for ALSA system.
    processor ACPI Processor Driver
    thermal ACPI Thermal Zone Driver
    pci_hotplug PCI Hot Plug PCI Core
    intel_agp
    button ACPI Button Driver
    agpgart AGP GART driver
    rtc_cmos Driver for PC-style 'CMOS' RTCs
    rtc_core RTC class support
    rtc_lib
    ext4 Fourth Extended Filesystem
    mbcache Meta block cache (for extended attributes)
    jbd2
    crc16 CRC16 calculations
    sr_mod SCSI cdrom (sr) driver
    cdrom
    sd_mod SCSI disk (sd) driver
    ata_piix SCSI low-level driver for Intel PIIX/ICH ATA controllers
    ata_generic low-level driver for generic ATA
    pata_acpi SCSI low-level driver for ATA in ACPI mode
    libata Library module for ATA devices
    floppy
    scsi_mod SCSI core
    Display
    Display
    Display
    Resolution 1600x900 pixels
    Vendor The X.Org Foundation
    Version 1.6.3.901
    Monitors
    Monitor 0 1600x900 pixels
    Extensions
    BIG-REQUESTS
    Composite
    DAMAGE
    DOUBLE-BUFFER
    DPMS
    DRI2
    GLX
    Generic Event Extension
    MIT-SCREEN-SAVER
    MIT-SHM
    NV-CONTROL
    NV-GLX
    RANDR
    RECORD
    RENDER
    SECURITY
    SHAPE
    SYNC
    X-Resource
    XC-MISC
    XFIXES
    XFree86-DGA
    XFree86-VidModeExtension
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
    OpenGL
    Vendor NVIDIA Corporation
    Renderer GeForce2 MX/AGP/SSE2
    Version 1.5.8 NVIDIA 96.43.13
    Direct Rendering Yes
    Processor
    Processor
    Processor
    Name Intel(R) Pentium(R) 4 CPU 1.60GHz
    Family, model, stepping 15, 1, 2 (Pentium 4)
    Vendor Intel
    Configuration
    Cache Size 256kb
    Frequency 1594.77MHz
    BogoMIPS 3190.44
    Byte Order Little Endian
    Features
    FDIV Bug no
    HLT Bug no
    F00F Bug no
    Coma Bug no
    Has FPU yes
    Cache
    Cache information not available
    Capabilities
    fpu Floating Point Unit
    vme Virtual 86 Mode Extension
    de Debug Extensions - I/O breakpoints
    pse Page Size Extensions (4MB pages)
    tsc Time Stamp Counter and RDTSC instruction
    msr Model Specific Registers
    pae Physical Address Extensions
    mce Machine Check Architeture
    cx8 CMPXCHG8 instruction
    apic Advanced Programmable Interrupt Controller
    sep Fast System Call (SYSENTER/SYSEXIT)
    mtrr Memory Type Range Registers
    pge Page Global Enable
    mca Machine Check Architecture
    cmov Conditional Move instruction
    pat Page Attribute Table
    pse36 36bit Page Size Extensions
    clflush Cache Line Flush instruction
    dts Debug Store
    acpi Thermal Monitor and Software Controlled Clock
    mmx MMX technology
    fxsr FXSAVE and FXRSTOR instructions
    sse SSE instructions
    sse2 SSE2 (WNI) instructions
    ss Self Snoop
    ht HyperThreading
    tm Thermal Monitor
    up smp kernel running on up
    pebs Precise-Event Based Sampling
    bts Branch Trace Store
    Memory
    Memory
    Total Memory 1034084 kB
    Free Memory 94276 kB
    Buffers 40536 kB
    Cached 700112 kB
    Cached Swap 0 kB
    Active 170788 kB
    Inactive 726844 kB
    Active(anon) 74112 kB
    Inactive(anon) 88348 kB
    Active(file) 96676 kB
    Inactive(file) 638496 kB
    Unevictable 12 kB
    Mlocked 12 kB
    High Memory 139144 kB
    Free High Memory 252 kB
    Low Memory 894940 kB
    Free Low Memory 94024 kB
    Virtual Memory 2931852 kB
    Free Virtual Memory 2931852 kB
    Dirty 12 kB
    Writeback 0 kB
    AnonPages 156996 kB
    Mapped 57392 kB
    Slab 24260 kB
    SReclaimable 18864 kB
    SUnreclaim 5396 kB
    PageTables 1376 kB
    NFS_Unstable 0 kB
    Bounce 0 kB
    WritebackTmp 0 kB
    CommitLimit 3448892 kB
    Committed_AS 404212 kB
    VmallocTotal 122880 kB
    VmallocUsed 27648 kB
    VmallocChunk 52368 kB
    DirectMap4k 32760 kB
    DirectMap4M 876544 kB
    Benchmarks
    CPU Blowfish
    CPU Blowfish
    This Machine 1595 MHz 50.176
    Intel(R) Celeron(R) M processor 1.50GHz (null) 26.1876862
    PowerPC 740/750 (280.00MHz) (null) 172.816713
    CPU CryptoHash
    CPU CryptoHash
    This Machine 1595 MHz 11.071
    CPU Fibonacci
    CPU Fibonacci
    This Machine 1595 MHz 74.202
    Intel(R) Celeron(R) M processor 1.50GHz (null) 8.1375674
    PowerPC 740/750 (280.00MHz) (null) 58.07682
    CPU N-Queens
    CPU N-Queens
    This Machine 1595 MHz 132.704
    FPU FFT
    FPU FFT
    This Machine 1595 MHz 104.630
    FPU Raytracing
    FPU Raytracing
    This Machine 1595 MHz 212.639
    Intel(R) Celeron(R) M processor 1.50GHz (null) 40.8816714
    PowerPC 740/750 (280.00MHz) (null) 161.312647
    So what I am wanting help with is finding the solution to the cpu usage so that I can use this computer at least until I can afford a new power supply or whatever. I am open to any good suggestions, though I must state I am not really interested in tiling wm's at the moment. I am just not a true minimalist.
    Thanks in advance for any and all help. I understand that there is a lot of info in this post, but it is my hope that with this info the problem can be solved. If there is info I didn't provide that is needed, please let me know.

    also check that you have
    session.screen0.opaqueMove false
    in your .fluxbox/init  this will probably help a bit if it is currently true,
    Last edited by Cyrusm (2009-01-26 13:52:13)

  • How can i reduce CPU usage while playing video?

    Hi,
    I have recently finished and then published a  project to my desktop which is a video jukebox application. The  application plays music videos in a large popup window upon a button  click. The problem i have is that when the video is not playing the CPU  usage on my windows machine runs at about 15% on average, however once  the video is playing in the popup the CPU usage jumps to almost 90-100%.
    I  have seen some of the developements introduced in Flash 10.2 in regard  to Stage Video and was wondering if this could maybe fix my problem. At  present my application is running on AIR 1.5 with Flash Player 9. If I  simply install the latest versions of AIR and Flash Player and try  running my published project again will this be enough to improve the  video performance? Or do I need to change the settings of my project  within Flex Builder so that it uses the latest version Flash?
    Any advise would be great.
    Thanks
    Adam

    StageVideo is still not available for AIR and until then it appears nothing can be done about this problem.

  • System freeze, 100% CPU usage

    Occasionally the CPU usage while running Windows goes up to 100% and the fan starts spinning like crazy. The system is then hardly responsive and becomes unusable.
    I then have to boot into OSX before booting back into Windows to recover.
    With Boot Camp 1.4 I had this problem maybe once a week, but since installing the Boot Camp 2.0 windows drivers this happens several times a day.
    Is there maybe a work around for this problem? Is Apple working on a solution?
    Cheers,
    Erik

    The part of system that is using all the CPU time is the battery driver, all the drivers come under system, it obviously has a major bug in it, I have deduced this over a period of about a year of this problem, I only get it once every couple of months now, it seems as though the Leopard drivers are worse than before, I will resist the temptation to upgrade to Leopard, it seems like many people are having trouble with leopard, particularly concerning battery life, A coleague of mine has installed leopard on a DAW machine and had a lot of problems on first install. after install he wasn't impressed by the new OS, tiger and boot camp 1.4 is working well for me, I think I will leave it there until someone has something positive to say about Leopard.
    maybe you can roll back the drivers to bootcamp 1.4, only thing I miss is the trackpad tap, which apparently still doesn't work in leopard drivers, well done apple, seems like £80 of wasted money if you upgraded.

  • CPU usage on Flash Builder 4

    Dear all,
    since we use Flash Builder 4 final release, we observe a very high CPU usage (Vista or windows 7 same behavior. Configs with 4GB or 8GB doesn't change anything ), after 10 to 20 minutes of usage, that suddenly goes to 60-80% for eclipse*32 process. Heap memory fix in eclipse.ini doesn't change anything, even if this problem seems to occur when Eclipse*32 process is above 500MB.
    Does anyone observed this ? What can we do ? Starting and relaunching Eclipse is the only way to get around for now.
    Regards,
    Cédric

    Sameer,
    Thank you very much for interesting on that issue, that it is really annoying on the day to day development work, as we have to quit eclipse with FB an average of 3 times a day either because it is becoming extremely slow, or because we have an OutOfMemory popup at some point.
    It is quite difficult to define what exactly trigger this over CPU usage. However, it seems that it is mainly debugging stage that it is the cause of this, as we just code and build without launching the app, the phenomenon occurs much later.
    What we can also observe is that it seems to be linked to memory consumption of eclipse process, as when we exceed a rough 300-400 MB in Windows Taks List generally we also have this 50-70% CPU usage, and only quitting Eclipse solves the issue. But cannot ensure that it is always the case, I mean we can have the CPU usage increase sometimes with 800 MB and sometimes with only 300MB windows memory consumption.
    Note then that increasing eclipse memory parameters in eclipse.ini doesn't change anything to this issue, maybe slightly delaying it a little bit, but that's all.
    Regarding your other questions : we have many projects in the workspace, but of course we try to avoid having several opened at the same time, because search, refactoring, content assist are much longer if you have many projects opened. We can also say that this phenomenon occurs only with the main project, which is quite big (~300 classes, 40K-50K lines of code).
    Unfortunately I cannot share the project as it our main asset and strictly confidential. But what I can say to you, and we think it might be a important point to check, is that project is a multi windowed AIR 2.0 project massively using Flash GoogleMap API, and RemoteObject services with the GraniteDS client server framework. We have observed another issue, but well documented is that memory consumption of the application being running under adl is growing very quickly if we display lot of objects on google maps (400MB-800MB typical memory footprint). But please note that when application is stopped and adl.exe terminates, this memory is freed, our problem here is the eclipse CPU usage process only.
    Regards,
    Cédric

  • Windows98 100% cpu usage, any fix?

    Hi,
    Any fix available for the 100% cpu usage problem in Windows 98, or do we have to wait untill 8.1.7 for Win98 and hope that it works in that version?
    regards,

    This issue can be caused by confliction from one of the background programs. You may troubleshoot in Clean Boot Mode.
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.microsoft.com/kb/929135
    However if the issue persists in Clean Boot Mode, I suggest you click the Start Button, All Programs, Accessories, System Tools, and then click Internet Explorer (No Add-ons).  If the issue does not reoccur, it may be caused by an IE Add-on. In that
    case, let’s continue to perform the following steps to narrow down the cause.
    Check Internet Explorer Add-Ons
    =========================
    1. Click Tools, and then click Internet Options.
    2. Click the "Programs" tab, and then click Manage Add-ons.
    3. Select an add-on in the Name list, and then click Disable.
    4. Restart IE with Add-ons and check the issue again.
    If the issue is resolved, the disabled Add-on was the cause of the issue. If the issue reoccurs, continue to disable the next Add-on using the same method.
    By doing so, we could determine which Add-on contributed to the issue.
    If it does not help, please reset IE and see if it works.
    How to reset Internet Explorer settings
    http://support.microsoft.com/kb/923737
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • WebKit2WebProcess high cpu usage

    WebKit2WebProcess high cpu usage Safari with windows 7 ... safari unstable ... just started today ... tried reset etc ... problem returns shortly after reset ..

    I love using the Safari Browser compared to any other browser, however the file webkit2webprocess occupies a lot of memory and slows down the browsing, what does this file do and why on earth does it require so much of memory can apple not fix this bug. Have contacted Apple but nobody seems to have an answer to this problem is Apple really working on this issue.

  • My CPU usage jumps to 100 % when I use iTunes 10.6.1 -using Windows XP Service Pack 3

    When I open itunes 10.6.1 my CPU usage jumps to 100%.  it started doing this about 6 months ago when I updated itunes.  

    This helped me.  You should try it.  Now I can run itunes or Safari and my CPU usage is around 22%.
    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 &amp; above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • Windows 8.1 CPU Usage being used by Service Hosts

    My problem has been persistant for several of days and I really need my CPU usage. Some Service Hosts using sometimes up to 50% of my CPU usage. I have tried using the Refresh tool in the advanced settings
    which deletes everything installed to the computer to no prevail. I have even come to the idea of resetting to factory settings but I am beginning to think that the problem will still persist. I have seen several people have this problem with no solution that
    is visible. I have not installed anything to make my CPU usage do this, I have clicked Run then typed in Services.msc and did some things in there. I saw somewhere that the Windows Modules Installer was one of those "CPU-eaters" along with Windows
    Search, so I set there Start Up Type to Manual and put them to a halt. I will put a picture for these Service Host files and how much power each one individually takes. Before the Refresh I would click on the services and then try to end their task, still
    no prevail. Please tell me how I can fix this, I don't really see a need to post my speculations for my computer since it is happening to a lot of other people on Windows 8.1, not a selected few. I hope someone will read my post through and help me, because
    this is troublesome and limits the performance of my PC. Thank you for reading, I hope you have some solutions for my situation.
    Images
    As for the first image, I am showing you the Windows Module Installer Worker using up some CPU, and I am not installing a Windows update by the way.
    As for the second image, I really don't understand what is happening since they are labeled all the same but numbers and networks. But still, they are eating at my usage, just one service taking up 40% is uncalled for in my books. Also,
    as the Service Host rises, the System coincides with it too, rising at the same time. I really don't know how to go about fixing the Hosts. Maybe a downgrade to Windows 7 which I don't have? The most recent version of Windows I have on file is Windows Vista,
    and well, I don't really want to go that far back.
    When I tried to submit my question, I got some red text saying "Body text cannot contain images or links until we are able to verify your account.", and I don't really feel like waiting for that,
    so you are just going to have to go off of the summaries I gave you. Sorry.

    Hi,
    Can you use process explorer to narrow down the culprit?
    Process Explorer v16.02
    http://technet.microsoft.com/en-in/sysinternals/bb896653.aspx
    Alex Zhao
    TechNet Community Support

  • Windows 7 Bootcamp CPU Usage issue

    I just newly installed Windows 7 bootcamp on my MacBook Pro (2010). The installtion ran smoothly. But there seems to be a problem for me. The bootup time from being on to off or vice versa is 7 seconds flat.
    And when I play games, my CPU usage would shoot up into the 80%-100%s making my screen freeze every 2 minutes, and typing anything onto a screen would take 2 seconds for my computer to compute.
    Note: This was not the first time i install windows 7. The first time I did it, everything ran so smooth and fast. the bootup time would be at 2 seconds flat. no freezes when I play games or open anything up. How could I fix this?

    Hi,
    I have an update so I thought I would share in case any other users are experiencing a similar problem.
    I made an appointment with the Genius Bar at the Apple Store.
    I went in and they ran a thorough diagnostic check on my Macbook Air and determined that the sensors were indeed faulty - several were providing no information "No reading" instead of providing a temperature. Thus, the Air was unaware of the temperature across multiple components.
    Despite the laptop being outside the 12 Month Manufacturer Warranty, the Apple Store determined that it was covered under warranty through Australian Consumer Law - the laptop is now in for a complete repair under warranty at no cost to myself.
    I couldn't be happier.

  • Cpu usage high on macbook air in Windows 8.1

    Guys Please Help me!!! 
    I have installed windows 8.1 using Bootcamp. And each time I open my Task manger the Cpu usage spikes to 100 and return to normal. I searched internet several hours. I installed antivirus but it didn't help me. I re installed windows 8.1 and didn't install anything yet but the same thing occurs. Is this a external problem?
    Model= Mac air A1466.. 13 inch
    http://prntscr.com/4imrae

    I have had bootcamp running on this computer for since june last year and this has only just started happening. where abouts do i get the windows support software? that could be the problem

  • Server 2012R2 Windows backup 100% CPU usage and no backup

    Hello!
    I have a problem with two VM´s on a HP Proliant ML350p Gen8, that has Windows Server 2012R2 operating system with Hyper-V role installed.
    Both VM´s are also 2012R2, one is DC/DNS/FILE/PRINT and the other one is Exchange 2013.
    The problem itself is that, when Windows backup (wbengine.exe - Block level backup engine service) inside VM starts, it uses almost maximum CPU resource, so the VM´s CPUs are 100% used. Backup itself is not working, there is no network trafic. Only
    way to get rid of 100% CPU usage is to restart the server.
    When i start backup manually (Backup once - scheduled backup options), it is working and the CPU usage is around 20-30%.
    One VM (DC/DNS/FILE/PRINT) has 2x vCPU and Exchange has 4x vCPU.
    The problem started suddenly, the backup were performing slowly and failed.
    Backups are scheduled on different time. Host level Hyper-V backup of VM´s works without any problem.
    The backup location is Synology DS414 NAS and the servers are set up using iSCSI, for connecting separate backup lun´s for each server.
    The Hyper-V host and both VM´s are patched up-to-date. Ofcourse i have tried a lot of restarts, looking event log, VSSADMIN - cannot find any errors...
    The network setup:
    Hyper-V host has a team of two physical adapters, that is set up with a external virtual switch (shared with management operating system) and used by the VM`s normal network trafic.
    Hyper-V host itself is using separte physcial network card, for connecting with iSCSI to Synology NAS.
    I tried to set up another physical network card on the host and create a new virtual swich, add extra virtual nic to VM`s and use this for iSCSI traffic for Windows backup and it didnt make things better.
    I need to find a solution, because i cannot restart the server every night for the backups to work.

    Hi,
    There is a similar thread, please change the performance options in WSB from fast to normal:
    wbengine.exe taking all CPU 
    http://social.technet.microsoft.com/Forums/en-US/be5d5743-1ea7-4c26-8072-0c010b47dd9a/wbengineexe-taking-all-cpu?forum=winserveressentials
    If the issue still exists, please check if there any error message in the Event Log.
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • High cpu usage when moving application windows

    Hello all,
    I have two machines with arch installed:
    - an eeepc 701 surf/intel gpu(xorg driver) with xfce
    - an amd 3800+ X2/nvidia 8860 gt(proprietary driver) with kdemod3(also checked with xfce4)/arch amd64 installed.
    I noticed that when i move a window of an application(for example konsole, etc..) too fast i get high cpu usage(30-40 %), when checking with htop.
    Is it normal that the X server uses the cpu so much when moving a window??
    EDIT: up to now i tested it in a friends windows machine, and it happens exactly the same, so i guess is normal. It seems i need to be informed better about how X works :-)
    Last edited by mechmg93 (2008-10-15 08:04:10)

    today i switced back my desktop system to debian unstable and tried to see what the difference is concerning this problem.
    I found out that in kde3 the solution to the "problem" is debians kde default configuration about window behaviour.
    Especially the one mentioned below :
    In debian this is not ticked and this has as a result zero cpu usage when windows are moved.
    Last edited by mechmg93 (2008-10-23 18:36:58)

Maybe you are looking for