Rpc.lockd CPU usage over the top

Hello everyone,
I just bought a new Mac Mini Server (2,6GHz, 4GB memory, with Mac OS X Snow Leopard Server and 10.6.5)
It takes the role of network services and Open Directory master.
The clients are all linux systems and have access to their home directories via NFS.
At first all worked very well, but then users started to get freezing programs, which were trying to access the home directory.
The client log states the following when this happens:
Nov 30 10:06:29 clientName kernel: 7913.576030 lockd: server macminiserver not responding, still trying
This makes the client unusable!
On the server, you can see that the process rpc.lockd takes all CPU power. sometimes 1 core, sometimes both cores. only killing the process and/or restart helps. It is logical that if the process on the server hangs, all clients freeze too. But how can I avoid this.All clients, need to relogin too. This is very frustrating, and nobody can work uninterrupted.
I saw people having similiar problems in this thread, but it is archieved now.
http://discussions.apple.com/thread.jspa?messageID=11089358
Is there a solution or a workaround?
Do I need this looking process, or can I somehow disable locking on the clients side?
Thank you.
Benjamin
Message was edited by: ben_k42

hi raleigh,
thank you for your suggestion. I turned verbose mode on and restarted.
Then I started to start my clients. This is what I got in /var/log/system.log
Dec 1 18:49:22 server rpc.statd[72]: Failed to contact host clientName: RPC: Port mapper failure - RPC: Timed out
Dec 1 18:52:56 server rpc.lockd[138]: *** process 138 exceeded 500 log message per second limit - remaining messages this second discarded ***
Dec 1 18:54:01: --- last message repeated 15 times ---
Dec 1 18:53:22 server rpc.lockd[138]: *** process 138 exceeded 500 log message per second limit - remaining messages this second discarded ***
This looks kind of strange to me.
I checked for the RPC ports:
On my client I executed: rpcinfo -p
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
And I checked the open ports on the server with: nmap server
111/tcp open rpcbind
so the ports should be ok, I guess.
how can I make him tell me those messages?
Thank you
Ben
PS: a few additional hints.
I ran: fs_usage -w rpc.lockd
and it called select() over and over and over, many many times per second.
Another thing which catched my eye, was when I inspected the process in the Activity Monitor.
It had over 2 billion unix system calls and added probably a few millions every few seconds at least.
Also, I sampled the rpc.lockd process as it was running with max cpu, maybe someone can read something out of there:
2157 select$DARWIN_EXTSN
This is running over and over again.
Analysis of sampling rpc.lockd (pid 9985) every 1 millisecond
Call graph:
2633 Thread_52623 DispatchQueue_1: com.apple.main-thread (serial)
2633 0x13776330c
2633 0x137767ea8
2161 0x137766fd2
2157 select$DARWIN_EXTSN
4 0x137766fd2
384 0x137766f9a
383 getdtablesize
1 0x137766f9a
32 0x13776700f
32 gettimeofday
25 __gettimeofday
14 __nanotime
11 __gettimeofday
7 gettimeofday
25 0x137766fac
21 __memcpy
2 0x137766fac
1 __bcopy
1 bcopy
10 0x137767059
7 0x13776931f
3 0x1377680fb
2 0x13776812d
1 0x137768115
1 0x137768165
1 0x137769309
1 0x13776930d
1 0x137769394
5 0x137767029
3 svc_getreqset
2 0x137767029
4 dyld_stub_getdtablesize
3 dyld_stub_svc_getreqset
2 0x137766f9c
2 0x137766fd4
2 dyld_stub_bcopy
1 0x137766fa4
1 0x137766fc6
1 dyld_stub_select$DARWIN_EXTSN
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
select$DARWIN_EXTSN 2157
getdtablesize 383
__memcpy 21
__nanotime 14
__gettimeofday 11
gettimeofday 7

Similar Messages

  • Radeon, XBMC, HD Audio plus a 50% decrease in CPU usage over Catalyst

    Radeon, XBMC, VDPAU, HD Audio plus a 50% decrease in CPU usage over AMD Catalyst Drivers
    Big Thanks goes out to Fritsch! I could not have put this all together without him doing all the upfront grunt work.
    For Fritch's thread and install guide for Ubuntu:
    Linux Radeon OSS with vdpau (Ubuntu How To).
    Since you are using Arch Linux (which requires Linux experience) I take that into account with my instructions. Consider this an OVERVIEW with the various packages, patches, etc. that you will need to do it yourself.
    (If you have installed Arch, XBMC, etc. this should be a breeze. Otherwise, if you need additional help... post and I or someone else will reply.)
    What you get:
    - Bitstream Audio (including DTS-HD, TrueHD, LPCM 7.1)
    - max resolution: 2048 x 1152
    - mpeg2, mpeg4, h264, vc1 accleration
    - Bob deinterlacing via vdpau
    - 24 fps Video Playback (AMD and Intel Haswell CPUs)
    - XBMC runs with 50% less CPU usage over AMD Catalyst Drivers
    Hardware tested on:
    CPU - AMD 8350
    Video Cards Tested - AMD 5770 and AMD HD6450
    Instructions:
    1. Install of Arch (Running Linux Kernel 3.12.1)
    2. Install the mesa10-git
    (mesa-git,mesa--libgl-git,ati-dri-git)
    3. Install linux-firmware, xorg-server, xf86-video-ati, xorg-xinit, etc. using Pacman (Arch Package Manager).
    Below is a link to my xorg.conf:
    Note: I am running Xen, unRAID, XBMC and several other VMs. XBMC is my desktop so I disabled composite. If you are running a desktop, enable it.
    Radeon xorg.conf
    Be sure to check out the Radeon Wiki on how to set up your xorg.conf correctly and other settings like Dynamic power management.
    4. Add radeon.dpm=1 radeon.audio=1 clocksource=hpet hpet=enable to GRUB_CMDLINE_LINUX in /etc/default/grub.
    5. Update grub.
    grub-mkconfig -o /boot/grub/grub.cfg
    6. Add export LIBVA_DRIVER_NAME=vdpau and export VDPAU_DRIVER=r600 to /etc/bash.bashrc and to /var/lib/xbmc/.bashrc.
    7. Unmute any of the S/PDIFs that might be muted.
    alsamixer
    8. Store alsamixer settings.
    alsactl store
    9. May be required - Edit /usr/share/alsa/alsa.conf and set the correct card and device id.
    For my System:
    defaults.pcm.card 0
    defaults.pcm.device 3
    10. Install xbmc-xvba (FernetMenta).
    11. Enable XBMC to autostart:
    systemctl enable xbmc.service
    To start xbmc:
    systemctl start xbmc.service
    12. Add / Create advancedsettings.xml (location: /var/lib/xbmc/.xbmc/userdata) and add the following:
    <advancedsettings>
    <loglevel hide="false">0</loglevel>
    <gui>
    <algorithmdirtyregions>3</algorithmdirtyregions>
    <nofliptimeout>0</nofliptimeout>
    </gui>
    <video>
    <latency>
    <delay>0</delay>
    <refresh>
    <min>23</min>
    <max>24</max>
    <delay>175</delay> <!-- set to zero or adjust if audio seems out of sync with 24p movies -->
    </refresh>
    </latency>
    </video>
    </advancedsettings>
    13. Restart XBMC for the above settings to be used:
    systemctl restart xbmc.service
    XBMC Settings:
    Settings->System->Video Output:
    Vertical Sync: Always Enabled
    Settings->Video->Playback:
    VDPAU: On
    Prefer VDPAU Mixer: ON
    VAAPI: Off
    XVBA: Off
    Adjust Refreshrate to match video: Off <--- If this is not set to off DTS-HD and TrueHD will not work.
    Sync Playback to Display: Off <--- When turned on audio sync issues are possible.
    Settings->System->Audio Output
    Audio Output: HDMI
    Speaker Configuration: 7.1 (5.1 if that is how many speakers you have)
    Boost Volume Level on Downmix: On
    Output To All Speakers: Off
    Dolby Digital (AC-3): On
    DTS: On
    AAC: On (Not every Receiver can decode AAC. If not, set it to off)
    Multichannel LPCM: On
    TrueHD:On
    DTS-HD:On
    Audio Output Device: HD-Audio Generic
    Passthrough Output Device: HD-Audio Generic
    Last edited by ddeeds (2013-11-29 05:19:44)

    I followed these instrucitons and the worked perfectly on my HTPC build (running the AMD APU A4-4000 on a Gigabyte GA-F2A88XN-WIFI).  I have a quick question though.  When I want to shutdown or reboot I hit the power button on the lower left of the XBMC main window.  Usually a dialog menu pops up giving me the option to Suspend, Shut-Down, Reboot... etc. etc.  The menu in the xbmc-xvba build only shows "Exit".  How do I enable these other options?  I'd like to at least be able to shutdown or reboot from within XBMC.
    EDIT:
    Nevermind, I solved it..
    I found this thread
    It says that running XBMC as a service will not register my session and polkit will not work.  I have to autologin as the user xbmc and startx automatically.
    I followed the instructions here and here.  Then I added "exec xbmc --standalone" to the end of my /var/lib/xbmc/.xinitrc file.
    Everything works fine now.
    Last edited by necbot (2013-12-05 17:30:18)

  • CPU usage displayed by top does not make sense.

    Here is the CPU usage displayed by top (while running VirtualBox with a guest Windows 7, the Archlinux machine is the host).
    top - 11:49:07 up 54 min, 3 users, load average: 1.80, 1.18, 0.74
    Tasks: 143 total, 1 running, 142 sleeping, 0 stopped, 0 zombie
    %Cpu0 : 2.2/7.7 10[|||||||||| ]
    %Cpu1 : 2.2/7.7 10[|||||||||| ]
    %Cpu2 : 1.8/8.2 10[|||||||||| ]
    %Cpu3 : 2.2/8.8 11[||||||||||| ]
    GiB Mem : 79.4/3.796 [ ]
    GiB Swap: 5.3/3.356 [ ]
    PID USER PR NI VIRT RES %CPU %MEM TIME+ S COMMAND
    3504 oesser 20 0 4209.1m 2.396g 173.3 63.1 5:11.05 S VirtualBox
    2688 oesser 20 0 997.1m 273.6m 0.0 7.0 0:27.96 S firefox
    3204 oesser 20 0 949.7m 64.3m 0.0 1.7 0:02.24 S VirtualBox
    2812 oesser 20 0 1015.5m 63.6m 0.0 1.6 0:02.10 S VirtualBox
    3068 oesser 20 0 882.8m 60.5m 0.0 1.6 0:01.66 S VirtualBox
    990 root 20 0 393.5m 40.3m 6.7 1.0 0:50.11 S Xorg
    2235 oesser 20 0 949.8m 22.2m 0.0 0.6 0:05.03 S VirtualBox
    1134 oesser 20 0 435.5m 16.4m 0.0 0.4 0:02.57 S xfce4-terminal
    318 ntp 20 0 105.3m 15.4m 0.0 0.4 0:00.14 S ntpd
    1029 oesser 20 0 208.0m 13.5m 0.0 0.3 0:05.94 S xfwm4
    2220 oesser 20 0 832.5m 12.8m 0.0 0.3 0:05.47 S VBoxSVC
    1038 oesser 20 0 612.8m 11.9m 0.0 0.3 0:00.68 S xfdesktop
    1033 oesser 20 0 385.2m 11.6m 0.0 0.3 0:01.47 S xfce4-panel
    1120 oesser 20 0 265.4m 8.3m 0.0 0.2 0:03.82 S panel-14-cpugra
    1119 oesser 20 0 196.3m 7.0m 0.0 0.2 0:00.03 S panel-4-systray
    1093 oesser 20 0 299.5m 4.4m 0.0 0.1 0:00.02 S gvfs-udisks2-vo
    1059 oesser 20 0 774.4m 4.3m 0.0 0.1 0:01.14 S AgentAntidote.b
    2778 oesser 20 0 16.7m 4.3m 0.0 0.1 0:00.02 S bash
    1019 oesser 20 0 357.8m 4.2m 0.0 0.1 0:00.05 S xfce4-session
    560 root 20 0 415.1m 4.1m 0.0 0.1 0:00.44 S udisksd
    1037 oesser 20 0 363.3m 3.7m 0.0 0.1 0:00.10 S xfsettingsd
    1380 oesser 20 0 16.7m 3.6m 0.0 0.1 0:00.09 S bash
    1064 oesser 20 0 214.3m 3.3m 0.0 0.1 0:00.01 S gvfsd
    3746 oesser 20 0 34.9m 3.3m 0.0 0.1 0:00.00 R top
    1121 oesser 20 0 489.4m 3.2m 0.0 0.1 0:00.08 S panel-2-mixer
    514 root 20 0 219.0m 3.2m 0.0 0.1 0:00.03 S upowerd
    1035 oesser 20 0 202.9m 3.1m 0.0 0.1 0:00.02 S Thunar
    2212 oesser 20 0 150.4m 3.0m 0.0 0.1 0:02.77 S VBoxXPCOMIPCD
    1022 oesser 20 0 34.6m 2.8m 0.0 0.1 0:00.02 S xfconfd
    1139 oesser 20 0 16.7m 2.7m 0.0 0.1 0:00.03 S bash
    1058 oesser 20 0 462.8m 2.6m 0.0 0.1 0:00.04 S xfce4-volumed
    1048 oesser 20 0 268.2m 2.6m 0.0 0.1 0:00.04 S xfce4-power-man
    1067 oesser 20 0 42.6m 2.5m 0.0 0.1 0:00.00 S gconfd-2
    1045 oesser 20 0 365.9m 2.4m 0.0 0.1 0:00.10 S polkit-gnome-au
    1 root 20 0 33.5m 2.3m 0.0 0.1 0:00.36 S systemd
    1012 oesser 20 0 30.7m 2.1m 0.0 0.1 0:00.09 S dbus-daemon
    1077 oesser 20 0 357.7m 2.0m 0.0 0.1 0:00.00 S gvfsd-fuse
    446 polkitd 20 0 505.5m 1.9m 0.0 0.1 0:00.04 S polkitd
    422 oesser 20 0 34.9m 1.9m 0.0 0.0 0:00.00 S systemd
    1073 oesser 20 0 30.3m 1.9m 0.0 0.0 0:00.05 S dbus-daemon
    266 dbus 20 0 30.6m 1.8m 0.0 0.0 0:00.03 S dbus-daemon
    999 root 20 0 72.4m 1.8m 0.0 0.0 0:00.00 S lxdm-session
    179 root 20 0 34.2m 1.8m 0.0 0.0 0:00.08 S systemd-udevd
    1106 oesser 20 0 366.8m 1.7m 0.0 0.0 0:00.00 S gvfsd-trash
    1086 oesser 20 0 120.2m 1.7m 0.0 0.0 0:00.17 S at-spi2-registr
    263 root 20 0 14.8m 1.7m 0.0 0.0 0:00.01 S systemd-logind
    297 root 20 0 20.1m 1.6m 0.0 0.0 0:00.30 S lxdm-binary
    1138 oesser 20 0 8.2m 1.3m 0.0 0.0 0:00.00 S gnome-pty-helpe
    1000 oesser 20 0 13.7m 1.3m 0.0 0.0 0:00.00 S sh
    144 root 20 0 29.7m 1.3m 0.0 0.0 0:00.09 S systemd-journal
    459 oesser 20 0 161.7m 1.2m 0.0 0.0 0:00.06 S gpg-agent
    307 root 20 0 4.4m 1.0m 0.0 0.0 0:00.10 S dhcpcd
    1062 oesser 20 0 255.6m 1.0m 0.0 0.0 0:00.00 S at-spi-bus-laun
    1011 oesser 20 0 17.6m 0.9m 0.0 0.0 0:00.00 S dbus-launch
    423 oesser 20 0 80.0m 0.0m 0.0 0.0 0:00.00 S (sd-pam)
    457 oesser 20 0 13.0m 0.0m 0.0 0.0 0:00.00 S ssh-agent
    1025 oesser 20 0 13.0m 0.0m 0.0 0.0 0:00.00 S ssh-agent
    2 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kthreadd
    3 root 20 0 0.0m 0.0m 0.0 0.0 0:02.94 S ksoftirqd/0
    5 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/0:0H
    7 root 20 0 0.0m 0.0m 0.0 0.0 0:02.39 S rcu_preempt
    8 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S rcu_sched
    9 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S rcu_bh
    10 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S migration/0
    11 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S watchdog/0
    12 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S watchdog/1
    13 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S migration/1
    14 root 20 0 0.0m 0.0m 0.0 0.0 0:02.55 S ksoftirqd/1
    16 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/1:0H
    17 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S watchdog/2
    18 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S migration/2
    19 root 20 0 0.0m 0.0m 0.0 0.0 0:01.28 S ksoftirqd/2
    21 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/2:0H
    22 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S watchdog/3
    23 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S migration/3
    24 root 20 0 0.0m 0.0m 0.0 0.0 0:00.47 S ksoftirqd/3
    26 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/3:0H
    27 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S khelper
    28 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kdevtmpfs
    29 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S netns
    30 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S perf
    31 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S khungtaskd
    32 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S writeback
    33 root 25 5 0.0m 0.0m 0.0 0.0 0:00.00 S ksmd
    34 root 39 19 0.0m 0.0m 0.0 0.0 0:00.27 S khugepaged
    35 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S crypto
    36 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kintegrityd
    37 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S bioset
    38 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kblockd
    39 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S devfreq_wq
    41 root 20 0 0.0m 0.0m 0.0 0.0 2:31.11 S kswapd0
    42 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S fsnotify_mark
    47 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kthrotld
    51 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S deferwq
    83 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S ata_sff
    84 root 20 0 0.0m 0.0m 0.0 0.0 0:00.38 S kworker/3:1
    85 root 20 0 0.0m 0.0m 0.0 0.0 0:00.48 S kworker/1:2
    86 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_0
    87 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_0
    88 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_1
    89 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_1
    90 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_2
    91 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_2
    92 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_3
    93 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_3
    94 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_4
    95 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_4
    96 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_5
    97 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_5
    100 root 20 0 0.0m 0.0m 0.0 0.0 0:02.53 S kworker/u8:4
    106 root 0 -20 0.0m 0.0m 0.0 0.0 0:01.39 S kworker/0:1H
    107 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.57 S kworker/1:1H
    108 root 0 -20 0.0m 0.0m 0.0 0.0 0:05.04 S kworker/2:1H
    111 root 20 0 0.0m 0.0m 0.0 0.0 0:00.16 S kworker/2:2
    120 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.80 S kworker/3:1H
    123 root 20 0 0.0m 0.0m 0.0 0.0 0:00.07 S jbd2/sda2-8
    124 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S ext4-rsv-conver
    152 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/3:3
    159 root 20 0 0.0m 0.0m 0.0 0.0 0:00.88 S kworker/0:2
    203 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S edac-poller
    204 root -51 0 0.0m 0.0m 0.0 0.0 0:00.00 S irq/27-mei_me
    212 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S acpi_thermal_pm
    238 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kpsmoused
    241 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S hd-audio1
    246 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S hd-audio0
    258 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S led_workqueue
    269 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kvm-irqfd-clean
    298 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S cfg80211
    301 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kfd_process_wq
    303 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S ttm_swap
    379 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
    380 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
    381 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
    382 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
    383 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
    384 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
    886 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S iprt
    1201 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/1:0
    1698 root 20 0 0.0m 0.0m 0.0 0.0 0:00.46 S kworker/2:1
    1922 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S dio/sda2
    1923 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/u8:0
    3098 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/0:1
    3722 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/0:0
    So VirtualBox is using 173% of my CPU time (how is this possible?), but I see only 1% or 2% on each logical CPU. My CPU is an "i3-3240 CPU @ 3.40GHz" (2 physical cores, 4 logical cores) and the kernel is 3.19.3-3-ARCH (latest official Archlinux kernel). How is this possible? What's happening here? Is it a bug or do I completely misunderstand what these stats mean?

    Top does add up your multicore usage. So if a process is using two cores at 100% it is using 200%.
    However something does not add up in correctly in your case.
    I've found top to be kind of unreliable in multicore (especially with hyper threading) systems.

  • Is it possible to use the drawing dynamic content to erase an image rather than draw over the top?

    I'm trying to create a cover for my magazine  that has a chalk board with writing on. I want the user to be able to erase the writing with their finger but can't figure out how to do it. All i can do is draw a solid colour over the top. What i want is for the finger swipe to erase the .png image instead. wondered if it can be done using a mask but I can only get a mask to reveal solid colour not an image.

    If the images are exactly the same size then make sure the layer with the mask
    is the active layer and in the other documents go to Select>Load Selection and choose
    your document with the layer mask under Source document and under channel choose the layer mask.
    After the selection loads press the layer mask icon at the bottom of the layers panel.
    MTSTUNER

  • I backed up my broken ipad, returned it to Apple got it replaced and have now accidently backup'd on my computer over the top of my original Ipad Back up.  how do I get previous copy of my back up??

    i backed up my broken ipad to my computer yesterday, returned it to Apple & got it replaced today and have now accidently backup'd on my computer over the top of my original Ipad Back up from yesterday.  Can anyone advise how do I get previous copy of my back up??

    Look at this knowledge base article on iOS backups to iTunes, note where the backups are kept for your type of computer, Windows or Mac, go to that Library location and see if there are any other files with the same name as the current backup but with a different extension and date/time stamp.  If so you can edit the extension of the current backup and then change the extension of the previous backup so it looks like what was on the current and the do a restore.  iTunes will think the older backup is now new and use it to restore.
    If there are no such files then you over-wrote the backup and it is gone.

  • Is there a way to monitor CPU usage during the execution of a vi?

    I am wondering if there is a way, using LabView, to monitor the CPU usage during the execution of a vi. I want to be able to programmatically adjust the program controls based on the CPU usage. This program is designed to run all day in the background.
    Thanks!

    JAI wrote:
    > I am wondering if there is a way, using LabView, to monitor the CPU
    > usage during the execution of a vi. I want to be able to
    > programmatically adjust the program controls based on the CPU usage.
    > This program is designed to run all day in the background.
    >
    > Thanks!
    There are at least two Windows tools you can use to see CPU usage
    (depending on what version of Windows you have). The Task Manager
    (ctrl-alt-del) has a panel that shows CPU usage. There is another
    program that has more options as to what to watch. Under W2K, it is in
    the Administrative Tools in the Control Panel and is called Performance.
    Play around with adding various new "Counters".
    Another option is to measure CPU usage programmatically. George Zou
    has a tool that makes the appropriate dll call. Check out
    http://www.geocities.com/gzou999/index.html
    Regards,
    Dave Thomson
    David Thomson 303-499-1973 (voice and fax)
    Original Code Consulting [email protected]
    www.originalcode.com
    National Instruments Alliance Program Member
    Certified LabVIEW Developer
    Certified Instrument Driver Developer
    Research Scientist 303-497-3470 (voice)
    NOAA Aeronomy Laboratory 303-497-5373 (fax)
    Boulder, Colorado [email protected]
    There are 10 kinds of people: those who understand binary,
    and those who don't.

  • How to get CPU usage in the app?

    Is there any api that can get CPU usage through the code in an iphone app, thanks.

    Maybe you could use getloadavg():
    double la[3];
    getloadavg(la, 3);
    NSLog(@"%f - %f - %f", la[0], la[1], la[2]);

  • IPhoto 6.0.5 Thumbnails pics over the top of other photos

    I have just returned to my Macbook Pro after a break and in viewing recent photos noticed some were distorted, squashed in shape , and even superimposed over the top of other pics. In other words when viewing in the Library source you see a thumbnail size pic which is not the photo that has been recently imported -
    dbl click on it and you get the grey square with an ! mark in the centre.
    2/. when selecting an album I get photos mixed with other photos that have no connection with the album. Some of those photos are equally squashed in shape. In fact I have just gone thru all my albums and see they have all been intermingled with photos from other albums.
    3/. The roll numbers have also jumped numerically from say 289, 290, 291, to numbers starting 816,817, etc.!!!
    Are my problems major in that I should move to trash and start again hopefully importing from my iPod or is there a simple!!! explanation and cure.
    All help will be appreciated.
    Alan

    To TD,
    Thanks for your helpful reply. I have now rebuilt my iPhoto library as you suggested.
    However, I have not found out why my film rolls are being numbered so inconsistently. As I mentioned they were going along fine in a numerical sequence when they started jumping from 3xxs to 8xxs for no apparent reason. In fact having removed some dud pics in the 8xxs range and re-importing from my digital camera (fortunately I hadn't removed them from the flash card) I see my film roll Nos. are going from the 3xxs and jumping to 12xxs & 13xxs !!
    Are there any answers to this problem? and can I re-number the rolls or is there some underlying danger in trying to do that?
    All help will be appreciated
    Alan
    5-11-06
    Imac G5 Macbook Pro   Mac OS X (10.4.8)  

  • Can I install ID6 over the top of 5.5 or do I need to uninstall 5.5 first

    Can I install ID 6 over the top of 5.5 or do I need to uninstall 5.5 first?

    Hi GT Service Desk
    Yes , You can Install both together,

  • Field is expanding over the top of the following fields

    I'm not sure what I'm doing wrong, but the expanding field expands just fine, but over the top of the next fields. I have two hidden subforms that are displayed when the user clicks a radio button. The subform is flowed. Each of the fields is in a flowed subform with Multiple lines, page breaks and expand to fit checked. The subform for the page is set to flowed as well. Document is saved as dynamic.
    Thanks,
    MDawn

    Hi!
    Do you have checked the "Auto fit" checkbox at the Layout tab for the floating subform?
    /mats

  • How can I set up new sites to open in new pages and not over the top of the current open page?

    how can I set up new sites to open in new pages and not over the top of the current open page?

    Middle-click ''(press down mouse scroll wheel)'' <br />
    or <br />
    {Ctrl + Click} <br />
    or <br />
    Right-click and use '''''Open in a New Tab'''''

  • Mountain Lion Notes App missing (IT installed Lotus Notes over the top)

    My IT department installed Lotus Notes and it installed over the top of the Mountain Lion Notes application and thus deleted it. I renamed the Lotus Notes application (originally just called Notes). How do I get the original OSX notes application back?

    Ok, found the solution, download mountain lion from the app store once more, then use Pacifist to extract the notes appllication again.

  • Is it possible to create a 'layer' over the top of a PDF in Captivate?

    I am trying to integrate a 3dpdf within captivate 8 for a software training program, for this it is important to retain functionality to the pdf menu, Captivate handles this well : ) HOWEVER on importing the pdf it becomes clear that the pdf 'trumps' other objects such as clickable areas or text, which therefore don't seem to appear when published. I also wish to provide 'blocked' areas by putting transparent objects over the top of the pdf so as to control the learning process, which also doesn't seem possible on initial inspection.
    Does the PDF exist outside the timeline?
    Does anyone know how to layer objects over a pdf object that will remain there when published?
    Many thanks!
    Sam the Giraffe

    How/where do you want to accomplish it?
    Within the document? Using Acrobat? Using another application?
    Using Acrobat within the document would be possible using Acrobat JavaScript. You can access the annotation objects of your document, and you then can evaluate the properties of each of these objects. Have a closer look at the Annotation Object section in the Acrobat JavaScript documentation.
    You will look for the contents property, and evaluate its content. When you have found something looking like a URL, you can create a link (using the rect property of the annotation), and you have what you want; you might then think to destroy the annotation, as it may overlay the link.
    Hope this can help.
    Max Wyss.

  • I need some help taking my site over the top.

    Ok, i built the site for a small business and i believe it looks better than most sites in the industry. How do i get it noticed in searches and take it over the top and make it look like it was done by a professional. How do i increase the search hits. Has a cottage industry spawned with people who do this in IWEB. i want to maintain control of the site.
    Your thoughts and direction
    john

    Rugbyjoey wrote:
    How do i get it noticed in searches...
    John ~ This article may help:
    _How to get your iWeb Websites into Google & Other Major Search Engines_
    Rugbyjoey wrote:
    ...and make it look like it was done by a professional.
    “Do only what is necessary to convey what is essential. Carefully eliminate elements that distract from the essential whole, elements that obstruct and obscure....Clutter, bulk, and erudition confuse perception and stifle comprehension, whereas simplicity allows clear and direct attention." — Richard Powell, in his book +Wabi Sabi Simple+.
    "One of the biggest mistakes typical business people make with documents is going out of their way to seemingly use every centimeter of space on a page, filling it up with text, boxes, clip art, charts, footers, etc. Space, often called "white space," is good. Embrace it. Use it. Often, the more space you don't use on a page, the clearer your message becomes.
    Empty space is beautiful, yes. But empty space also implies importance, elegance, professionalism. This is true with graphic design, but you can see the importance of space (both visual and physical) in the context of interior design. Think of the retail space, for example. Target is dedicated to design although they are a discounter. They know about space. Target stores are well designed. They have more empty space than other discounters, Walmart, for example."
    ...Understanding such basic points on graphic design will help set you apart. You can read more design tips in this Presentation Zen article:

  • Trying to place one item over the top of another

    I am using DW CS3 and I am trying to create a banner (of pictures) and over the top of that I want text-only logo to appear above and drop down to overlap the top of the pictures. I'm sure there is some easy way to do this, but everything I try doesn't work. I can get the text behind the pictures but not in front of them. Any help is greatly appreciated.
    I have attached a .gif image so you can see what I want it to look like.

    Gary,
    I do understand that it is easier if I send a link to what I'm trying to do; however, I am just beginning the designing so it is pretty much a blank slate. Here is what I have in mind:
    I have The Nook Cafe as a logo image .gif that I want to place over a banner of pictures I have that are individual pictures placed within a container, this is what I am thinking:
    #header
    this would contain text for the upper right corner
    #headerlogo
    this would contain The Nook Text image
    #photos
    this div would contain the photos
    #photo1
    #photo2
    etc...
    So this is what i have tried:
    <div id="header">
    <div id="headerlogo">
    <div id="photos"> <div id="photo1"></div><div id="photo2"></div><div id="photo3"></div>
    </div></div></div>
    then I played with the z value and the margin settings.....all to no avail.
    Does this make more sense? As you can see I am lost as to how to accomplish the overall look I am going after.

Maybe you are looking for