50% CPU usage in Skype 7.3

Newest Skype 7.3.0.
Windows 7 x64
Newest Google Chrome
Skype is using 45-50% of CPU time.
Trick with .htm file accociation not working.
Solved!
Go to Solution.

Hi and welcome to the Skype Community,
Sorry to hear you are suffering from performance issues like that. It would be utterly helpful if you could provide a Skpye log file of one such session where you encounter bad Skype application performance. Please attach that Skype log file in an archive to your reply here on the Skype Community. Our developers will then be able to have a look at where the execution is slowed down.
Here are the instructions on creating a Skype log file: https://support.skype.com/en/faq/FA12321/how-do-i-​create-log-files
Follow the latest Skype Community News
↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

Similar Messages

  • Skype 4.2.0.11 has abnormally high CPU usage while...

    Skype 4.2.0.11 has abnormally high CPU usage while idle.
    I can't get my laptop under 70 degrees celsius unless I cpulimit or quit skype, and cpulimiting it actually makes it completely unresponsive, as if some other thread is constantly generating a lot of work and taking priority over the UI thread.
    What the heck is skype doing? (And why do any of its threads need nice -10?) It takes up more CPU time than pulseaudio, truecrypt, and deluged combined.
    Its CPU usage is constantly between 5 and 50 percent*, it's absolutely horrible.
    *While idle. I'm unable to make calls.
    I know this is expected from a linux user, but for all I know, Skype is malware. It's not open-source, so I can't find out for myself, and there are no open-source alternatives so the frankly shameful amount of bugs I encounter in Skype will never be fixed.
    There are several bugs I'd love to be fixed in Skype, but first, PLEASE, optimize your code. It's absolutely horriffic at the moment.

    Attached are statistics from my desktop over approximately a 24 hour period for the processes shown (other than firefox and adb).
    Pulseaudio tops skype this time but that's because I've had music playing through mpd for a few hours. Skype uses more than 16 times the CPU that pidgin does, and almost double the RAM! RAM isn't shown in the screenshot but take my word for it. Bear in mind that I haven't taken (or made) any calls in this period of time, and pidgin has been signed into three different services and using encrypted chat.
    I really wish that at least the protocol would be documented so someone could work around this, at the moment I don't think the guys writing skype realize just how unstable the linux port is. At least it's better than the Android port.
    [Edit for those unfamiliar with linux processes: "TIME" is the cumulative time that the program has been scheduled for on any core, effectively making it a measure of total CPU usage for a given time period]
    Attachments:
    2014-06-22-233238_530x119_scrot.png ‏9 KB

  • Skype CPU usage over 75%.

    When i use skype, CPU usage is over 75%  (activity monitor).
    Is this normal ?
    (MBP 2011)

    No, that shouldn't happen. Try uninstalling Skype completely (with AppTrash or TrashMe), then reinstall the latest version.

  • Skype on older PC, high cpu usage

    Hi all!
    Tried recently to use my old PC (Pentium4, 2.0GHz, 1G memory) as skype machine. All went well except when using video+audio, it wasn't enough cpu to handle that. Cpu usage was 100% and there was latency in video and audio. Tested that in local area network. Then what I found, much of the load went from pulseaudio (skype about 60%, pulseaudio about 40%). I installed the thing since GNOME without pulseaudio is somewhat broken. Then I googled and tried to tune pulseaudio:
    From https://wiki.archlinux.org/index.php/PulseAudio, I implemented what said in "Glitches and high CPU usage since 0.9.14", it helped with sound quality.
    From http://www.pulseaudio.org/wiki/PerfectSetup, in file /etc/pulse/daemon.conf
    default-fragments = 8
    default-fragment-size-msec = 5
    And, finally, from http://linux.die.net/man/5/pulse-daemon.conf
    resample-method=trivial
    Something helped, after that PA cpu share dropped to about 15%, and I was able to skype with audio and video, even having couple % of cpu idle
    Now comes interesting part: I went to gstreamer-properties and selected audio output to pulse. PA cpu load went back to 35%. Then a reverted it back to "auto detect", cpu load subsided to 15%. Then I remembered seeing somewhere that skype through PA emulation of ALSA takes less CPU than throug PA directly
    Then I went to sleep
    Any more ideas how to further optimize PA/skype to be able running skype on slow PC? I even consider removing PA altogether but I'm worried about setting sound in GNOME.
    Anton

    Did the sharing and unsharing of screen stabilise your CPU usage? I also tried deleting the Library/Caches/com.skype* directory and whilst it helped initially, in the long run it did not work. The only thing that worked for me was sreen share and unshare.
    Personally I am just getting more and more disappointed with OS X. The way they have implemented HiDPI support with scaling (downscaling and then upscaling) is just insane and a lot of applications struggle. I am sure this is not the root cause of the high CPU usage issue for Skype. It's not long before I come off the Apple ecosystem altogether.

  • Skype vdeo call and high cpu usage on Mac

    Hello,
    I have seen many posts around skype video call causing extremely high CPU usage which in turn causes a lot of heat and fan starts to go crazy. This does not seem to happen on Windows. I have trawled various forums and tried everything but to no avail.
    Finally the workaround that worked for me was simple - during a call when CPU usage is going through the roof and the fans going crazy - just share your screen for a few seconds with the caller and then unshare. CPU usage dramatically falls off and stabilises at around 38% to 40%. I have noticed this my Macbook Pro (2013 2.3ghz, 16gb RAM) running Yosemite.
    This is definitely a problem with Skype. Guys; please fix....

    Did the sharing and unsharing of screen stabilise your CPU usage? I also tried deleting the Library/Caches/com.skype* directory and whilst it helped initially, in the long run it did not work. The only thing that worked for me was sreen share and unshare.
    Personally I am just getting more and more disappointed with OS X. The way they have implemented HiDPI support with scaling (downscaling and then upscaling) is just insane and a lot of applications struggle. I am sure this is not the root cause of the high CPU usage issue for Skype. It's not long before I come off the Apple ecosystem altogether.

  • Google Chrome CPU usage almost 100%

    Hey guys,
    so I recently updated from Snow Leopard directly to Mountain Lion and now I have a issue I can't fix by myself.
    I'm using a Macbook Pro Mid 2010, 4gig Ram, 2,4 Intel Dualcore, GT 320M - now running OSX 10.8.3
    I've got a 27" secondary display, where I usually enjoy my content Youtube e.g.. It used to work very fluently with no probs at all.
    I could run a Skype conv., a Youtube vid, eyeTV and various apps simultaneously without any performance issues.
    NOW: I have no other app running but Chrome, open up any random youtube-video and it starts to lag within seconds. When I switch to my 27" screen it shows a CPU usage of around 100% for Chrome and 80% for Pepperflashplayer, going down to 80%; 70% when displaying on my macbook screen.
    I've read that RAM upgrade might be recommended for running Lion or ML on "older" macbooks. However during this lags and CPU peaks I still have around 1,5gig of free RAM. I've already installed 'Memory Clean' to monitor my RAM usage and keep it at a certain level.
    This happens using      Chrome: Pepperflashplayer + Chrome
                                      Firefox: Shockwaveflash + Firefox
                                       Safari: Flashplayer + Safari
         always having almost full cpu usage and extreme graphic lags.
    This does not happen when displaying HD content from my hard drive, eyetv and such.
    Any suggestions?

    Hi,
    Does this problem occur on another machine or only this
    machine. if it is for only this machine, try to uninstall the Flash
    player and install it again.

  • High CPU usage (more than 100%) while running video applications

    Hello everyone,
    I desperately need help with this.
    I have a late 2007 White Macbook running Mac OS X 10.6.8 :
    Model Name:          MacBook
      Model Identifier:          MacBook2,1
      Processor Name:          Intel Core 2 Duo
      Processor Speed:          2 GHz
      Number Of Processors:          1
      Total Number Of Cores:          2
      L2 Cache:          4 MB
      Memory:          3 GB
      Bus Speed:          667 MHz
    The issue that I am having is, whenever I play a video (Netflix/Silverlight player, YouTube, Skype, etc.) the CPU usage shoots up above 100% and the video or the video chat becomes VERY choppy. It becomes impossible to keep going once that starts. Originally I had 1Gb RAM (512 + 512) ... then I upgraded to (1GB + 512mb) ... it was fine for about a year and then started chocking on memory... so recently I made it (1GB +2GB) and that's when this high CPU  usage thing started (according to my knowledge)
    I have had this machine since last 4 years and its very dear to me. I dont wanna buy a new one. I will really appreciate if someone could help.

    I am spending sleepless nights, researching for a fix. From what I found so far, a considerable amount of people were able to fix this issue by simple cleaning the insides of their machines using air dusters, especially the fans. I don't know how cleaning would help with CPU utilization, but by interpolation, I feel it's worth a try. At least it will be clean, if not perfectly functional. lol
    Now the next big challenge ahead of me is getting the screws on my Macbook open. I was following the Fan Repair Guide on ifixit.com. I went and got the #00 Phillips screwdriver as suggested in the guide... came home and found out the screwdriver is too big.... went back got a #0000 Phillips (I also found out that screwdrivers with same number might be of different sizes in different stores)... got a couple of screws out and then--- another road-block!! there are a few extremely tiny Phillips screws on my macbook. Now I am hunting for the smallest Phillips screwdriver in the world. Hopefully, I will find it in some watch repair or eye-glasses repair kit in a store such as CVS or Walgreens... aaaah... this is sooo frustrating!!! I just want to get his done so that I can check it off the list of probable solutions that I want to try. Will update here if this works.
    From what you say, I think that the Silverlight upgrade might be the culprit in my case too. But the effect is there also for Youtube, Skype , or any other Video/Graphics intensive application that I use. Although, Silverlight/Netflix performs the worst among all the apps.
    I love my Macbook... don't want to part with it.

  • How do i control my cpu usage.

    I have a HP TouchSmart tx2 Notebook PC, and I'm having trouble with my CPU usage, its always high even though i dont have any programs running, so when I am using a program like Oovoo or Skype, I'm not able to use them because it says that my CPU usage is to high, what can I do to control this the CPU usage?

    Moe631 wrote:
    I have a HP TouchSmart tx2 Notebook PC, and I'm having trouble with my CPU usage, its always high even though i dont have any programs running, so when I am using a program like Oovoo or Skype, I'm not able to use them because it says that my CPU usage is to high, what can I do to control this the CPU usage?
    try Message 7 of this thread
    http://h30434.www3.hp.com/t5/TX-TM-Series-Notebooks/HP-TouchSmart-tx2-laptop-is-very-slow/td-p/68583
    also
    try to reduce the number of programs and unnesecary services at startup from the startup manager.
    If my reply was helpful please click the "Kudos" star.
    If your problem is solved please click the "Accept as Solution" button

  • High CPU usage, Live Ultra for Notebooks

    I've been using the Live Ultra for Notebooks for a while, and it has consistently high CPU usage. It breaks down to about 50-60% for the driver (V0070Vid.sys thread, in the "System" process) and then a bit more (+5%) for DPC's. Combined with the host application (Skype, 25% CPU) means the whole thing essentially takes over my CPU.
    Is this typical CPU usage for this webcam? I've used other ones, and I seem to remember that CPU usage was a lot lower. I have this problem on 2 different computers.
    AMD Sempron 300+
    GB Ram
    Windows 2000 SP4
    Please post what webcam, CPU, OS, and about how much CPU % your webcam takes. I'd like to see if these results are normal. Thanks.

    I also have a Toshiba laptop with Vista Home Basic. I tried to install the "BETA" Vista drivers for this camera (VF0070) and it says the driver is only for Vista 32-bit and 64-bit. Is there a solution to this? Should I just return this and go buy a Logitech instead?

  • Macbook getting how with very little cpu usage

    So my macbook pro with retina display is getting oddly hot.
    I run a few applications, about 5 or so, and the CPU reached about 95C, then was pulled back by the fans to 80C. I then played 1 game, (and left other aps open), and the CPU reached 101c. I've then closed everything but two aps, an IRC client, and safari with 6 tabs.
    Current CPU usage:
    16 - 19%
    CPU temps:
    Average is 80C
    Fan speed:
    3710 rpm
    Program I'm using to record temps:
    Temperature Guage
    I've also let the vents on the side of the computer containing the cpu/gfx chip be suspended in air so they aren't onstructed by anything.
    Is there something wrong with my MBP? Apple's tests said everything was alright but it's getting VERY hot compared to many stories I've seen across the net.

    ThePilotGuy wrote:
    Also, when I restart the comp, should the temps stay the same, even after idling for a minute? They do for me.
    Also, restarted my comp, same dock issue persists.
    EDIT: Also, when I restart my computer, the background always changes to this grey backgroundless color and I have to re-set it.
    And, when I log in, the screen quickly flashes white then takes maybe 5 to 9 secs to login. It hasn't done this until recently.
    EDITEDIT: When the background is colorless, the bar at the top of the screen is just black, I cna't read any of the text.
    The white flash is normal. That's the end of launchd process and the start of the loginwindow process.
    The delay in the appearance of the loginscreen indicates that either
    1. you're running something in
     > System Preferences.. Users & Groups | Login Items
    that is causing the problem every time you bootup and login. If either Skype or Limechat are in that list, get them out. Ideally, get everything out of that list.
    or
    2. if there's nothing in your Login Items, you may have a corrupt plist file. Force the system to make a new one by running this command in Terminal (beware that it will reset your Dock to default prefs, so if you've added any other icons to the Dock you'll have to do that again afterwards):
    rm ~/Library/Preferences/com.apple.dock.plist
    press 'return' on the keyboard and restart the mac.

  • /sbin/init high CPU usage (80%)

    My PC run slowly, I viewed the processes by htop utility and it revealed that /sbin/init has a constantly high CPU usage, around 70-80%. I scanned it with clamscan virus scanner, but not infected. What can I do to fix this problem?

    Did you mean "ps -ef" ? Then:
    UID PID PPID C STIME TTY TIME CMD
    root 1 0 8 Sep22 ? 08:27:41 /usr/lib/systemd/systemd --system --deserialize 131
    root 2 0 0 Sep22 ? 00:00:00 [kthreadd]
    root 3 2 0 Sep22 ? 00:45:38 [ksoftirqd/0]
    root 5 2 0 Sep22 ? 00:00:00 [kworker/0:0H]
    root 7 2 0 Sep22 ? 00:05:10 [rcu_preempt]
    root 8 2 0 Sep22 ? 00:00:03 [rcu_sched]
    root 9 2 0 Sep22 ? 00:00:00 [rcu_bh]
    root 10 2 0 Sep22 ? 00:00:02 [migration/0]
    root 11 2 0 Sep22 ? 00:00:01 [watchdog/0]
    root 12 2 0 Sep22 ? 00:00:01 [watchdog/1]
    root 13 2 0 Sep22 ? 00:00:02 [migration/1]
    root 14 2 0 Sep22 ? 00:54:35 [ksoftirqd/1]
    root 16 2 0 Sep22 ? 00:00:00 [kworker/1:0H]
    root 17 2 0 Sep22 ? 00:00:00 [khelper]
    root 18 2 0 Sep22 ? 00:00:00 [kdevtmpfs]
    root 19 2 0 Sep22 ? 00:00:00 [netns]
    root 20 2 0 Sep22 ? 00:00:00 [khungtaskd]
    root 21 2 0 Sep22 ? 00:00:00 [writeback]
    root 22 2 0 Sep22 ? 00:00:00 [ksmd]
    root 23 2 0 Sep22 ? 00:00:52 [khugepaged]
    root 24 2 0 Sep22 ? 00:00:00 [crypto]
    root 25 2 0 Sep22 ? 00:00:00 [kintegrityd]
    root 26 2 0 Sep22 ? 00:00:00 [bioset]
    root 27 2 0 Sep22 ? 00:00:00 [kblockd]
    root 30 2 0 Sep22 ? 00:05:54 [kswapd0]
    root 31 2 0 Sep22 ? 00:00:00 [fsnotify_mark]
    root 35 2 0 Sep22 ? 00:00:00 [kthrotld]
    root 36 2 0 Sep22 ? 00:00:00 [ipv6_addrconf]
    root 37 2 0 Sep22 ? 00:00:00 [deferwq]
    root 63 2 0 Sep22 ? 00:00:00 [khubd]
    root 64 2 0 Sep22 ? 00:00:00 [firewire]
    root 65 2 0 Sep22 ? 00:00:00 [firewire_ohci]
    root 66 2 0 Sep22 ? 00:00:00 [ata_sff]
    root 68 2 0 Sep22 ? 00:00:00 [scsi_eh_0]
    root 69 2 0 Sep22 ? 00:00:00 [scsi_tmf_0]
    root 70 2 0 Sep22 ? 00:00:00 [scsi_eh_1]
    root 71 2 0 Sep22 ? 00:00:00 [scsi_tmf_1]
    root 74 2 0 Sep22 ? 00:00:00 [scsi_eh_2]
    root 75 2 0 Sep22 ? 00:00:00 [scsi_tmf_2]
    root 76 2 0 Sep22 ? 00:00:00 [scsi_eh_3]
    root 77 2 0 Sep22 ? 00:00:00 [scsi_tmf_3]
    root 88 2 0 Sep22 ? 00:01:22 [kworker/0:1H]
    root 89 2 0 Sep22 ? 00:00:00 [scsi_eh_4]
    root 90 2 0 Sep22 ? 00:00:00 [scsi_tmf_4]
    root 91 2 0 Sep22 ? 00:00:07 [usb-storage]
    root 99 2 0 Sep22 ? 00:00:00 [kworker/1:1H]
    root 101 2 0 Sep22 ? 00:00:27 [jbd2/sda1-8]
    root 102 2 0 Sep22 ? 00:00:00 [ext4-rsv-conver]
    root 130 1 0 Sep22 ? 00:08:22 /usr/lib/systemd/systemd-journald
    root 145 2 0 Sep22 ? 00:00:00 [rpciod]
    root 147 2 0 Sep22 ? 00:00:00 [nfsiod]
    root 163 1 0 Sep22 ? 00:00:00 /usr/lib/systemd/systemd-udevd
    root 221 2 0 Sep22 ? 00:00:00 [kpsmoused]
    root 243 1 1 Sep22 ? 01:39:24 /sbin/mount.ntfs-3g /dev/sda2 /mnt/ntfs -n -o rw,uid=1000,gid=100,dmask=022,fmask=133
    root 251 1 0 Sep22 ? 00:00:34 /usr/lib/systemd/systemd-logind
    dbus 253 1 0 Sep22 ? 00:02:38 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
    root 254 1 0 Sep22 ? 00:02:32 /usr/bin/haveged -w 1024 -v 1
    root 255 1 0 Sep22 ? 00:00:00 /usr/bin/dhcpcd -q -b
    rpc 258 1 0 Sep22 ? 00:00:00 /usr/bin/rpcbind -w
    root 288 1 0 Sep22 ? 00:00:13 /usr/bin/NetworkManager --no-daemon
    root 295 1 0 Sep22 ? 00:00:00 /usr/sbin/rpc.idmapd
    root 330 2 0 Sep22 ? 00:00:00 [cfg80211]
    polkitd 333 1 0 Sep22 ? 00:00:09 /usr/lib/polkit-1/polkitd --no-debug
    tor 436 1 0 Sep22 ? 00:03:27 /usr/bin/tor -f /etc/tor/torrc
    privoxy 438 1 0 Sep22 ? 00:00:00 /usr/bin/privoxy --pidfile /run/privoxy.pid --user privoxy.privoxy /etc/privoxy/config
    root 445 1 0 Sep22 ? 00:00:00 /usr/sbin/rpc.statd --no-notify
    root 449 1 0 Sep22 ? 00:00:00 /usr/sbin/rpc.mountd
    root 466 2 0 Sep22 ? 00:00:00 [nfsv4.0-svc]
    root 500 1 0 Sep22 ? 00:00:00 /usr/sbin/lxdm-binary
    root 503 500 6 Sep22 tty7 06:37:07 /usr/bin/Xorg.bin :0 vt07 -nolisten tcp -novtswitch
    root 1755 500 0 Sep22 ? 00:00:00 /usr/lib/lxdm/lxdm-session
    walaki 1756 1 0 Sep22 ? 00:00:00 /usr/lib/systemd/systemd --user
    walaki 1757 1756 0 Sep22 ? 00:00:00 (sd-pam)
    walaki 1763 1755 0 Sep22 ? 00:00:00 /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
    walaki 1773 1 0 Sep22 ? 00:00:00 dbus-launch --sh-syntax --exit-with-session
    walaki 1774 1 0 Sep22 ? 00:00:21 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
    walaki 1781 1763 0 Sep22 ? 00:00:46 xfce4-session
    walaki 1784 1 0 Sep22 ? 00:00:00 /usr/lib/xfce4/xfconf/xfconfd
    walaki 1789 1 0 Sep22 ? 00:00:16 /usr/bin/gpg-agent --sh --daemon --enable-ssh-support --write-env-file /home/walaki/.cache/gpg-agent-info
    walaki 1792 1781 0 Sep22 ? 00:01:54 xfwm4 --display :0.0 --sm-client-id 23fec2b63-e849-4a72-8ded-64b47902bd41
    walaki 1795 1781 0 Sep22 ? 00:00:35 Thunar --sm-client-id 2d0147b28-0a91-4a3b-a669-064fc26ae553 --daemon
    walaki 1797 1781 0 Sep22 ? 00:09:43 xfce4-panel --display :0.0 --sm-client-id 247d7309b-f81b-4064-adbd-0875fed923d4
    walaki 1798 1781 0 Sep22 ? 00:00:18 xfdesktop --display :0.0 --sm-client-id 2e572e480-670a-4c6f-af62-2339f19929ef
    walaki 1799 1 0 Sep22 ? 00:00:36 xfsettingsd --display :0.0 --sm-client-id 26269b48e-af0b-4399-b385-5305502e24f1
    walaki 1802 1781 1 Sep22 ? 01:24:09 /usr/lib/skype/skype -session 21d1f7d38-8c0a-41de-98b7-021e4f2a5bd7_1410900031_251500
    walaki 1803 1781 0 Sep22 ? 00:00:06 kruler -session 20c051002-8d7b-4c2c-bf0b-c384f149b9b5_1410900031_629257
    walaki 1806 1 0 Sep22 ? 00:00:01 xfce4-power-manager --restart --sm-client-id 2154ad16d-be90-40bc-8354-c2647728cf16
    walaki 1810 1 0 Sep22 ? 00:00:00 /usr/lib/gvfs/gvfsd
    walaki 1823 1 0 Sep22 ? 00:00:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
    walaki 1825 1797 0 Sep22 ? 00:00:02 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel/plugins/libsystray.so 6 14680094 systray Notification Area Area where notification icons appear
    walaki 1833 1797 0 Sep22 ? 00:00:07 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel/plugins/libmixer.so 15 14680095 mixer Audio Mixer Adjust volume levels
    walaki 1834 1797 0 Sep22 ? 00:44:27 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel/plugins/libweather.so 16 14680096 weather Weather Update Show current weather conditions
    walaki 1835 1797 0 Sep22 ? 00:46:02 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel/plugins/libsystemload.so 17 14680097 systemload System Load Monitor Monitor CPU load, swap usage and memory footprint
    walaki 1836 1797 0 Sep22 ? 00:00:03 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel/plugins/libactions.so 2 14680098 actions Action Buttons Log out, lock or other system actions
    walaki 1841 1797 0 Sep22 ? 00:00:03 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel/plugins/libthunar-tpa.so 8 14680102 thunar-tpa Trash Applet Display the trash can
    walaki 1843 1 0 Sep22 ? 00:00:04 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
    walaki 1846 1 0 Sep22 ? 00:00:03 /usr/lib/gvfs/gvfsd-trash --spawner :1.9 /org/gtk/gvfs/exec_spaw/0
    root 1856 1 0 Sep22 ? 00:00:00 /usr/lib/upower/upowerd
    root 1857 1 0 Sep22 ? 00:02:10 /usr/lib/udisks2/udisksd --no-debug
    walaki 1862 1 0 Sep22 ? 00:09:10 kwooty -session 2fc05dbf4-9492-4cf1-bd80-efe7e47dfb90_1410900031_251208
    walaki 1895 1 0 Sep22 ? 00:00:00 /usr/lib/GConf/gconfd-2
    walaki 1904 1 0 Sep22 ? 00:00:05 /usr/bin/python2 /usr/bin/glipper
    walaki 1907 1 0 Sep22 ? 00:00:06 nm-applet
    walaki 1922 1 0 Sep22 ? 00:00:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
    walaki 1926 1922 0 Sep22 ? 00:00:25 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
    walaki 1930 1 0 Sep22 ? 00:00:03 /usr/lib/evolution/3.12/evolution-alarm-notify
    walaki 1936 1 1 Sep22 ? 01:59:26 firefox
    walaki 1938 1 0 Sep22 ? 00:01:08 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
    walaki 2023 1 0 Sep22 ? 00:00:00 /usr/lib/evolution-data-server/evolution-source-registry
    walaki 2043 1 0 Sep22 ? 00:00:25 /usr/lib/gnome-online-accounts/goa-daemon
    walaki 2058 1 0 Sep22 ? 00:00:01 /usr/lib/evolution-data-server/evolution-calendar-factory
    walaki 2084 1 0 Sep22 ? 00:00:00 kdeinit4: kdeinit4 Runnin e
    walaki 2089 2084 0 Sep22 ? 00:00:00 kdeinit4: klauncher [kdei e
    walaki 2101 1 0 Sep22 ? 00:00:06 kdeinit4: kded4 [kdeinit]
    walaki 5752 1 0 Sep22 ? 00:00:01 /usr/bin/gnome-keyring-daemon --start --foreground --components=secrets
    walaki 5887 1789 0 Sep22 ? 00:01:01 scdaemon --multi-server
    walaki 7557 11505 0 11:19 pts/8 00:00:00 /bin/bash
    walaki 8876 19571 0 12:04 pts/4 00:00:03 mc
    walaki 8878 8876 0 12:04 pts/9 00:00:00 bash -rcfile .bashrc
    root 10950 2 0 18:10 ? 00:00:02 [kworker/u4:1]
    walaki 10953 18727 0 18:10 pts/6 00:00:04 mc
    walaki 10955 10953 0 18:10 pts/7 00:00:00 bash -rcfile .bashrc
    walaki 11492 1797 0 Sep23 ? 00:02:06 /usr/bin/python2 /usr/bin/terminator
    walaki 11504 11492 0 Sep23 ? 00:00:00 gnome-pty-helper
    walaki 11505 11492 0 Sep23 pts/8 00:00:00 /bin/bash
    walaki 12283 1797 0 13:19 ? 00:00:26 /usr/bin/python2 /usr/bin/terminator
    walaki 12299 12283 0 13:19 ? 00:00:00 gnome-pty-helper
    walaki 12300 12283 0 13:19 pts/1 00:00:00 /bin/bash
    walaki 12707 1797 0 13:23 ? 00:02:59 geany
    walaki 12713 12707 0 13:23 ? 00:00:00 gnome-pty-helper
    walaki 12714 12707 0 13:23 pts/11 00:00:00 /bin/bash
    walaki 13471 1797 0 18:31 ? 00:00:18 /usr/bin/python2 /usr/bin/terminator
    walaki 13487 13471 0 18:31 ? 00:00:00 gnome-pty-helper
    walaki 13488 13471 0 18:31 pts/3 00:00:00 /bin/bash
    walaki 13751 13488 0 18:33 pts/3 00:00:00 /bin/bash
    walaki 16906 1797 46 13:59 ? 04:12:08 /usr/lib/opera-next/opera-next
    walaki 18711 1797 0 Sep23 ? 00:05:05 /usr/bin/python2 /usr/bin/terminator
    walaki 18726 18711 0 Sep23 ? 00:00:00 gnome-pty-helper
    walaki 18727 18711 0 Sep23 pts/6 00:00:00 /bin/bash
    walaki 19550 1797 0 Sep22 ? 00:01:48 /usr/bin/python2 /usr/bin/terminator
    walaki 19570 19550 0 Sep22 ? 00:00:00 gnome-pty-helper
    walaki 19571 19550 0 Sep22 pts/4 00:00:00 /bin/bash
    walaki 21931 23464 3 20:17 ? 00:04:59 /opt/google/chrome/chrome --type=renderer --lang=en-US --force-fieldtrials=AutoReloadExperiment/Enabled/ChromeSuggestions/Most Likely with Kodachrome/ExtensionInstallVerification/None/OmniboxBundledExperimentV1/StandardR4/Prerender/PrerenderEnabled/PrerenderFromOmnibox/OmniboxPrerenderEnabled/PrerenderLocalPredictorSpec/LocalPredictor=Disabled/SPDY/SpdyDisabled/SettingsEnforcement/no_enforcement/Test0PercentDefault/group_01/UMA-Dynamic-Binary-Uniformity-Trial/default/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Population-Restrict/normal/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_14/UMA-Uniformity-Trial-1-Percent/group_22/UMA-Uniformity-Trial-10-Percent/group_05/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_03/UMA-Uniformity-Trial-5-Percent/group_14/UMA-Uniformity-Trial-50-Percent/default/VoiceTrigger/Install/ --renderer-print-preview --enable-offline-auto-reload --enable-threaded-compositing --enable-delegated-renderer --disable-accelerated-video-decode --disable-webrtc-hw-encoding --disable-gpu-compositing --channel=23445.24.769536197
    walaki 22985 23464 0 20:39 ? 00:00:55 /opt/google/chrome/chrome --type=renderer --lang=en-US --force-fieldtrials=AutoReloadExperiment/Enabled/ChromeSuggestions/Most Likely with Kodachrome/ExtensionInstallVerification/None/OmniboxBundledExperimentV1/StandardR4/Prerender/PrerenderEnabled/PrerenderFromOmnibox/OmniboxPrerenderEnabled/PrerenderLocalPredictorSpec/LocalPredictor=Disabled/SPDY/SpdyDisabled/SettingsEnforcement/no_enforcement/Test0PercentDefault/group_01/UMA-Dynamic-Binary-Uniformity-Trial/default/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Population-Restrict/normal/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_14/UMA-Uniformity-Trial-1-Percent/group_22/UMA-Uniformity-Trial-10-Percent/group_05/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_03/UMA-Uniformity-Trial-5-Percent/group_14/UMA-Uniformity-Trial-50-Percent/default/VoiceTrigger/Install/ --renderer-print-preview --enable-offline-auto-reload --enable-threaded-compositing --enable-delegated-renderer --disable-accelerated-video-decode --disable-webrtc-hw-encoding --disable-gpu-compositing --channel=23445.25.841939391
    walaki 23052 23464 2 20:40 ? 00:03:57 /opt/google/chrome/chrome --type=ppapi --channel=23445.26.1843768387 --ppapi-flash-args --lang=en-US
    walaki 23445 1 3 15:02 ? 00:16:57 /opt/google/chrome/chrome
    walaki 23453 23445 0 15:02 ? 00:00:05 /opt/google/chrome/chrome --type=sandbox-ipc
    walaki 23454 23445 0 15:02 ? 00:00:00 /opt/google/chrome/chrome-sandbox /opt/google/chrome/chrome --type=zygote
    walaki 23455 23454 0 15:02 ? 00:00:00 /opt/google/chrome/chrome --type=zygote
    walaki 23461 23455 0 15:02 ? 00:00:00 /opt/google/chrome/chrome-sandbox /opt/google/chrome/nacl_helper
    walaki 23462 23461 0 15:02 ? 00:00:00 /opt/google/chrome/nacl_helper
    walaki 23464 23455 0 15:02 ? 00:00:00 /opt/google/chrome/chrome --type=zygote
    walaki 23484 23445 0 15:03 ? 00:00:04 /opt/google/chrome/chrome --type=gpu-process --channel=23445.0.587379006 --supports-dual-gpus=false --gpu-driver-bug-workarounds=1,14,20,23,43 --disable-accelerated-video-decode --gpu-vendor-id=0x10de --gpu-device-id=0x0322 --gpu-driver-vendor --gpu-driver-version
    walaki 23672 23464 0 15:04 ? 00:01:06 /opt/google/chrome/chrome --type=renderer --lang=en-US --force-fieldtrials=AutoReloadExperiment/Enabled/ChromeSuggestions/Most Likely with Kodachrome/ExtensionInstallVerification/None/OmniboxBundledExperimentV1/StandardR4/Prerender/PrerenderEnabled/PrerenderFromOmnibox/OmniboxPrerenderEnabled/PrerenderLocalPredictorSpec/LocalPredictor=Disabled/SPDY/SpdyDisabled/SettingsEnforcement/no_enforcement/Test0PercentDefault/group_01/UMA-Dynamic-Binary-Uniformity-Trial/default/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Population-Restrict/normal/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_14/UMA-Uniformity-Trial-1-Percent/group_22/UMA-Uniformity-Trial-10-Percent/group_05/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_03/UMA-Uniformity-Trial-5-Percent/group_14/UMA-Uniformity-Trial-50-Percent/default/VoiceTrigger/Install/ --renderer-print-preview --enable-offline-auto-reload --enable-threaded-compositing --enable-delegated-renderer --disable-accelerated-video-decode --disable-webrtc-hw-encoding --disable-gpu-compositing --channel=23445.5.858801638
    root 23962 288 0 Sep25 ? 00:00:00 /usr/bin/dhclient -d -sf /usr/lib/networkmanager/nm-dhcp-helper -pf /var/run/dhclient-enp2s8.pid -lf /var/lib/NetworkManager/dhclient-a8966a98-c9d9-4425-9e4d-459c41d83921-enp2s8.lease -cf /var/lib/NetworkManager/dhclient-enp2s8.conf enp2s8
    root 24159 1 0 15:08 tty2 00:00:00 /sbin/agetty --noclear tty2 linux
    root 24165 1 0 15:08 tty3 00:00:00 /sbin/agetty --noclear tty3 linux
    root 24169 1 0 15:08 tty5 00:00:00 /sbin/agetty --noclear tty5 linux
    root 24174 1 0 15:08 tty6 00:00:00 /sbin/agetty --noclear tty6 linux
    walaki 25161 1 2 Sep23 ? 02:22:03 audacious
    root 25840 2 0 21:32 ? 00:00:01 [kworker/1:1]
    walaki 27082 23464 4 21:51 ? 00:02:56 /opt/google/chrome/chrome --type=renderer --lang=en-US --force-fieldtrials=AutoReloadExperiment/Enabled/ChromeSuggestions/Most Likely with Kodachrome/ExtensionInstallVerification/None/OmniboxBundledExperimentV1/StandardR4/Prerender/PrerenderEnabled/PrerenderFromOmnibox/OmniboxPrerenderEnabled/PrerenderLocalPredictorSpec/LocalPredictor=Disabled/SPDY/SpdyDisabled/SettingsEnforcement/no_enforcement/Test0PercentDefault/group_01/UMA-Dynamic-Binary-Uniformity-Trial/default/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Population-Restrict/normal/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_14/UMA-Uniformity-Trial-1-Percent/group_22/UMA-Uniformity-Trial-10-Percent/group_05/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_03/UMA-Uniformity-Trial-5-Percent/group_14/UMA-Uniformity-Trial-50-Percent/default/VoiceTrigger/Install/ --renderer-print-preview --enable-offline-auto-reload --enable-threaded-compositing --enable-delegated-renderer --disable-accelerated-video-decode --disable-webrtc-hw-encoding --disable-gpu-compositing --channel=23445.29.1207326524
    root 27424 2 0 22:00 ? 00:00:00 [kworker/0:1]
    root 27664 2 0 15:42 ? 00:00:04 [kworker/u4:2]
    root 27769 2 0 22:07 ? 00:00:00 [kworker/1:2]
    walaki 28865 1 0 Sep25 ? 00:00:00 /usr/lib/gvfs/gvfsd-http --spawner :1.9 /org/gtk/gvfs/exec_spaw/1
    walaki 29628 8878 0 22:54 pts/9 00:00:02 /usr/bin/ruby /home/walaki/util/mr1 Nekem az ég - hazafutás
    walaki 29652 23464 0 22:54 ? 00:00:00 /opt/google/chrome/chrome --type=renderer --lang=en-US --force-fieldtrials=AutoReloadExperiment/Enabled/ChromeSuggestions/Most Likely with Kodachrome/ExtensionInstallVerification/None/OmniboxBundledExperimentV1/StandardR4/Prerender/PrerenderEnabled/PrerenderFromOmnibox/OmniboxPrerenderEnabled/PrerenderLocalPredictorSpec/LocalPredictor=Disabled/SPDY/SpdyDisabled/SettingsEnforcement/no_enforcement/Test0PercentDefault/group_01/UMA-Dynamic-Binary-Uniformity-Trial/default/UMA-New-Install-Uniformity-Trial/Experiment/UMA-Population-Restrict/normal/UMA-Session-Randomized-Uniformity-Trial-5-Percent/group_14/UMA-Uniformity-Trial-1-Percent/group_22/UMA-Uniformity-Trial-10-Percent/group_05/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_03/UMA-Uniformity-Trial-5-Percent/group_14/UMA-Uniformity-Trial-50-Percent/default/VoiceTrigger/Install/ --renderer-print-preview --enable-offline-auto-reload --enable-threaded-compositing --enable-delegated-renderer --disable-accelerated-video-decode --disable-webrtc-hw-encoding --disable-gpu-compositing --channel=23445.30.161699173
    root 29693 2 0 22:55 ? 00:00:00 [kworker/0:2]
    root 29915 2 0 23:00 ? 00:00:00 [kworker/0:0]
    root 29930 27664 89 23:00 ? 00:00:31 /usr/lib/systemd/systemd-coredump 29431 1000 100 6 1411765249 wavparse1374:si
    walaki 29946 10955 0 23:01 pts/7 00:00:00 ps -ef
    walaki 29948 10955 0 23:01 pts/7 00:00:00 leafpad
    walaki 30148 1 0 Sep23 ? 00:00:00 /usr/lib/dconf/dconf-service
    walaki 30523 1 0 Sep25 ? 00:00:00 /bin/sh /home/walaki/jdownloader/JDLauncher
    walaki 30544 30523 0 Sep25 ? 00:04:54 /usr/lib/jvm/java-default-runtime/bin/java -Dinstall4j.jvmDir=/usr -Dexe4j.moduleName=/home/walaki/jdownloader/JDLauncher -Xmx512m -Xms64m -Dinstall4j.launcherId=26 -Dinstall4j.swt=false -Di4j.vmov=true -Di4j.vmov=true -Di4j.vmov=true -Di4j.vmov=true -Di4j.vmov=true -Di4j.vpt=true -classpath /home/walaki/jdownloader/.install4j/i4jruntime.jar:/home/walaki/jdownloader/JDownloader.jar com.install4j.runtime.launcher.Launcher launch jd.Main true false true true false true true 0 0 20 20 Arial 0,0,0 8 500 version 0.9 20 40 Arial 0,0,0 8 500 -1

  • Slow computer -- High CPU usage

    OK here's the specs of my computer:
    G4 933Mhz, 1.5Gb Ram 80Gb internal HD, but booting from a 250Gb external firewire
    Now the problem. My CPU usage in Activity monitor gets close to 100% system usage after a few hours even if I don't have more than a couple of programs running. I do notice that pmTool and Kernel_task are eating up the majority of the CPU cycles though. When I boot from the internal it happens as well, but to a much lesser extent.
    I did an archive and install of the 10.4 on the firewire and the problem still exists. Current system is 10.4.8.
    Any ideas how to stop this? It appears that this problem started about a month ago and the only piece of software that's been updated since then has been Skype and Second Life.
    Eric

    I have been looking at applications that might be eating up the processor and the only one that's doing it is the System right now. Restarting seems to help. I've been running for a couple of hours since the last restart and my current stats are 16% User and about 20%-60% System. pmTool seems to be the hog at the moment at 22.5% Kernel_task is only at about 6% though.
    Any more information you'd like that could help to diagnose the problem let me know and I'll provide it. here's the current console log if that might help:
    Mac OS X Version 10.4.8 (Build 8L127)
    2006-10-28 09:23:15 -0700
    FATAL: The database system is starting up
    LOG: database system is ready
    2006-10-28 09:23:26.521 loginwindow[91] FSResolveAliasWithMountFlags returned err = -43
    2006-10-28 09:23:28.716 MediaCentral Launcher[233] http://datapump.equinux.com/channel/Component+Update?creatorCode=MedC&version=12 130&uniqueId=XB20401LM8G
    2006-10-28 09:23:35.370 SystemUIServer[216]
    MenuCracker
    see http://sourceforge.net/projects/menucracker
    MenuCracker is now loaded. Ready to accept new menus. Ignore the failure message that follow.
    2006-10-28 09:23:35.383 SystemUIServer[216] failed to load Menu Extra: NSBundle </Applications/iClock Folder/iClock 2.app/Contents/Resources/MenuCracker.menu> (loaded)
    Oct 28 09:23:45 video mDNSResponder: NAT Port Mapping (LLQ event port.): timeout
    Unsafe JavaScript attempt to access frame with URL http://www.sfgate.com/ from frame with URL http://view.atdmt.com/NYC/iview/sfgtxstw1840000732nyc/direct;wi.160;hi.600/01&74 3552460?click=http://oascentral.sfgate.com/RealMedia/ads/clicklx.ads/www.sfgate.com/main/743552460/Position2/SFGate/sttarwood_ttl_rch_1028_102 9_06/Starwood_Total_Reach_Sky101106.html/34353661666339633432383432343230?. Domains must match.
    Unsafe JavaScript attempt to access frame with URL http://www.sfgate.com/cgi-bin/article.cgi?file=/c/a/2006/10/28/MNGD7M1UNL1.DTL from frame with URL http://view.atdmt.com/NYC/iview/sfgtxstw1840000726nyc/direct;wi.728;hi.90/01&132 643488?click=http://oascentral.sfgate.com/RealMedia/ads/clicklx.ads/www.sfgate.com/news/article/132643488/Top2/SFGate/sttarwood_ttl_rch_1028_ 1029_06/Starwood_Total_Reach_Leaderboard101106.html/34353661666339633432383432343230?. Domains must match.
    [303] http://www.sfgate.com/cgi-bin/article.cgi?file=/c/a/2006/10/28/MNGD7M1UNN1.DTL:T ypeError - Undefined value
    Oct 28 09:37:29 video /usr/sbin/ocspd: starting
    2006-10-28 10:04:38.004 TransmitSync[341] Sycning with identifier: com.panic.TransmitSync.Favorites
    2006-10-28 10:04:38.005 TransmitSync[341] Was told to sync entity names: (
    "com.panic.transmit.favorites.Collection",
    "com.panic.transmit.favorites.Favorite"
    2006-10-28 10:12:05.225 Translator[349] Invoked to sync conduit com.apple.Safari for entityNames: com.apple.bookmarks.Folder,com.apple.bookmarks.Bookmark
    2006-10-28 10:42:15.385 SyndicationAgent[372] WARNING: BestCalendarDateFromString - can't interpret: '28 Oct 2006 13:12:00 EDT'
    Main starting
    2006-10-28 10:51:44.210 Skype[385] Logging to /Users/Video/Library/Application Support/Skype/Logs/skydebug-20061028-1051.log
    2006-10-28 10:51:44.407 Skype[385] NSWindow does not support utility styleMask 0x10
    2006-10-28 10:51:45.027 Skype[385] CFLog (0): CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    2006-10-28 10:51:45.029 Skype[385] CFLog (0): CFPropertyListCreateFromXMLData(): The file name for this data might be (or it might not): /Users/Video/Desktop/Skype.app/Contents/Resources/SkypeEvents.plist
    [303] http://secondlife.com/scripts/_flashdetect02.vbs:SyntaxError - Parse error

  • Extremely High CPU Usage

    Hello! I've been using skype for a very long time and never had any problems with it until about a day or two ago. I don't know if it's a new version of skype causing it, but I've tried uninstalling it and re-installing new ones, old ones, anything to fix this problem.
      Everytime I start Skype up, it works fine for about 2-3 minutes, and then the CPU & Memory the program takes in my Windows Task Manager starts to climb, getting to about 20-30% and 200k-300k memory before it freezes entirely and I'm force to end the process. I'm at my wit's end trying to figure this out. I've searched online for fixes and I've tried everything from changing my default browser to IE, to turning off automatic updates, to running as an administrator, or even in Compatibility mode in Windows XP Service Pack 3 Mode.
      Any solution's to bringing skype's CPU usage back down to 01-10 would be greatly appreciated.

    Try to use these MSI versions.
    http://download.skype.com/msi/SkypeSetup_6.16.0.105.msi
    http://download.skype.com/msi/SkypeSetup_6.18.0.105.msi
    http://www.skype.com/go/getskype-msi
    Note: Ensure to turn off Automatic updates.
    Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time.
    If you found my post useful, please give "Kudos".
    If it helped to answer your problem/question, please mark it as "Accepted Solution" so other people can find it easily.

  • High CPU usage while running a java program

    Hi All,
    Need some input regarding one issue I am facing.
    I have written a simple JAVA program that lists down all the files and directories under one root directory and then copies/replicates them to another location. I am using java.nio package for copying the files. When I am running the program, everything is working fine. But the process is eating up all the memories and the CPU usage is reaching upto 95-100%. So the whole system is getting slowed down.
    Is there any way I can control the CPU usage? I want this program to run silently without affecting the system or its performance.

    Hi,
    Below is the code snippets I am using,
    For listing down files/directories:
            static void Process(File aFile, File aFile2) {
              spc_count++;
              String spcs = "";
              for (int i = 0; i < spc_count; i++)
              spcs += "-";
              if(aFile.isFile()) {
                   System.out.println(spcs + "[FILE] " + aFile2.toURI().relativize(aFile.toURI()).getPath());
                   String newFile = dest + aFile2.toURI().relativize(aFile.toURI()).getPath();
                   File nf = new File(newFile);
                   try {
                        FileCopy.copyFile(aFile ,nf);
                   } catch (IOException ex) {
                        Logger.getLogger(ContentList.class.getName()).log(Level.SEVERE, null, ex);
              } else if (aFile.isDirectory()) {
                   //System.out.println(spcs + "[DIR] " + aFile2.toURI().relativize(aFile.toURI()).getPath());
                   String newDir = dest + aFile2.toURI().relativize(aFile.toURI()).getPath();
                   File nd = new File(newDir);
                   nd.mkdir();
                   File[] listOfFiles = aFile.listFiles();
                   if(listOfFiles!=null) {
                        for (int i = 0; i < listOfFiles.length; i++)
                             Process(listOfFiles, aFile2);
                   } else {
                        System.out.println(spcs + " [ACCESS DENIED]");
              spc_count--;
    for copying files/directories:public static void copyFile(File in, File out)
    throws IOException {
    FileChannel inChannel = new
    FileInputStream(in).getChannel();
    FileChannel outChannel = new
    FileOutputStream(out).getChannel();
    try {
    inChannel.transferTo(0, inChannel.size(),
    outChannel);
    catch (IOException e) {
    throw e;
    finally {
    if (inChannel != null) inChannel.close();
    if (outChannel != null) outChannel.close();
    Please let me know if any better approach is there. But as I already said, currently it's eating up the whole memory.
    Thanks in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Timed loop and CPU usage

    Platform is WIN_XP Pro and machine is a P4 at 2.5Ghz with 512 Mb ram.
    LV7.1 + PCI 6229
    I am using  50ms Timed loop for running a state machine inside it
    and also a  whole lot of other things like reading / writing
    DAQMx  functions;  file I/O functions and such. As the
    project involves a  main and sub-panlel set up local variables
    could not be elimnated fully and there should be something like 150 of
    them. But not all are accessed always - maybe about 15 of them at any
    given time depending on the SM staus.
    Problem :
    Once started the "Finished late"  indication  is off and
    the  actual timing  alternates between 49 to 52 ms. The CPU
    usage is around 25%.
    But as time goes by,  the system gets unstable : After 15 minutes
    or so, the Finished Late indication is always ON and the CPU usage is
    gradually tending towards or exceeds 100%. 
    Obviously the machine control timing now gets affected and things slow
    down badly. Closing the application ands restarting repeats the above
    cycle.
    I am at a loss  to understand what is happening ?  WIll
    breaking down the single Timed Loop to multiple ones help  ? WIll
    that be an efficient way of parallel threading ?
    I can post the code but its quite large and will do it as a last resort.
    thanks
    Raghunathan
    Raghunathan
    LV2012 to Automate Hydraulic Test rigs.

    Hello,
    It sounds like an interesting problem.  It would be worth some experimentation to figure out what's going wrong - attempting to decouple major "pieces" of the code would be helpful.  For example, you could try breaking your code into multiple loops if that makes sense in your architecture, but perhaps you could even eliminate all but one of the loops to begin with, and see if you can correlate the problem to the code in just one of your loops.
    Another concern is that you mention using many local variables.  Variable read operations cause new buffer allocations, so if you're passing arrays around that way, you could be hitting a problem of forcing your machine to perform many allocations and deallocations of memory.  As arrays grow, this can be a bigger and bigger problem.  You can use other techniques for passing data around your block diagram, such as dataflow if possible (just simple wires), or queues where dataflow can't dicatate program flow completely.
    Hopefully looking into your code with the above considerations will lead you in the right direction.  In your case, removing code so that you can identify which elements are causing the problem should help significantly.
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

Maybe you are looking for