[Solved] Empty optical drive = high CPU usage

Hello,
I have been a Gentoo user for 4 years and have installed Arch on my new laptop.  The install went well and my system is nearly trouble-free.  The problem I'm having is that both of my CPU cores idle at 25-30% when the combo drive is empty.  When I put a CD in the drive, both cores idle at 2-3%.
It appears to be a udev problem.  The hal-disable-polling command didn't help (yes, I restarted hal), and top shows me this:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
19473 root 20 0 266m 111m 13m R 5 2.9 1:33.85 X
654 root 18 -2 6156 840 428 R 4 0.0 1:36.15 udevd
479 root 15 -5 0 0 0 S 2 0.0 0:44.57 scsi_eh_1
2443 aaron 20 0 298m 24m 13m S 1 0.6 0:03.11 konsole
3758 aaron 20 0 70148 4044 2828 S 1 0.1 0:41.02 conky
29169 aaron 20 0 447m 34m 23m R 1 0.9 0:29.03 kwin
1 root 20 0 3796 668 576 S 0 0.0 0:00.27 init
It seems that udevd process is the one looking at the combo drive.  What else do I need to look at to fix this problem?
Edit:  I forgot to mention that I'm not getting any relevant spam in my messages.log.
Last edited by AaronD (2009-10-08 01:36:40)

This is a known bug in the current version of udev.  See this thread for workarounds.

Similar Messages

  • (Solved) systemd-journald extremely high CPU usage

    I started noticing this problem a few days ago, but I thought it was because I was running too much with too little RAM. But when running nothing more than a KDE desktop, my CPU usage bounces between 50% and 100%, making things laggy. It looks like systemd-journald is to blame, as it is using 50% of the CPU. This is an AMD Phenom II dual core, so this definitely shouldn't be happening. I noticed journal logs were more than 2 GB, so I deleted everything within /var/log/journal/. Rebooted, no change, so I disabled journal storage, but that did not solve the problem.
    Nothing in the logs looks like a problem to me:
    $ sudo journalctl
    -- Logs begin at Tue 2013-03-12 17:31:37 PDT, end at Tue 2013-03-12 18:15:56 PDT. --
    Mar 12 17:31:37 silverstone systemd-journal[149]: Allowing runtime journal files to grow to 298.6M.
    Mar 12 17:31:37 silverstone kernel: Initializing cgroup subsys cpuset
    Mar 12 17:31:37 silverstone kernel: Initializing cgroup subsys cpu
    Mar 12 17:31:37 silverstone kernel: Linux version 3.7.10-1-ARCH (tobias@T-POWA-LX) (gcc version 4.7.2 (G
    Mar 12 17:31:37 silverstone kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=31669ea0-76db
    Mar 12 17:31:37 silverstone kernel: e820: BIOS-provided physical RAM map:
    Mar 12 17:31:37 silverstone kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
    Mar 12 17:31:37 silverstone kernel: BIOS-e820: [mem 0x000000000009f000-0x000000000009ffff] reserved
    Mar 12 17:31:37 silverstone kernel: BIOS-e820: [mem 0x00000000000e2000-0x00000000000fffff] reserved
    Mar 12 17:31:37 silverstone kernel: BIOS-e820: [mem 0x0000000000100000-0x00000000cff8ffff] usable
    Mar 12 17:31:37 silverstone kernel: BIOS-e820: [mem 0x00000000cff90000-0x00000000cff9dfff] ACPI data
    Mar 12 17:31:37 silverstone kernel: BIOS-e820: [mem 0x00000000cff9e000-0x00000000cffdffff] ACPI NVS
    Mar 12 17:31:37 silverstone kernel: BIOS-e820: [mem 0x00000000cffe0000-0x00000000cfffffff] reserved
    Mar 12 17:31:37 silverstone kernel: BIOS-e820: [mem 0x00000000ffe00000-0x00000000ffffffff] reserved
    Mar 12 17:31:37 silverstone kernel: BIOS-e820: [mem 0x0000000100000000-0x00000001afffffff] usable
    Mar 12 17:31:37 silverstone kernel: NX (Execute Disable) protection: active
    Mar 12 17:31:37 silverstone kernel: SMBIOS 2.5 present.
    Mar 12 17:31:37 silverstone kernel: DMI: MSI MS-7642/890GXM-G65 (MS-7642) , BIOS V1.2 03/31/2010
    Mar 12 17:31:37 silverstone kernel: e820: update [mem 0x00000000-0x0000ffff] usable ==> reserved
    Mar 12 17:31:37 silverstone kernel: e820: remove [mem 0x000a0000-0x000fffff] usable
    Mar 12 17:31:37 silverstone kernel: No AGP bridge found
    Mar 12 17:31:37 silverstone kernel: e820: last_pfn = 0x1b0000 max_arch_pfn = 0x400000000
    Mar 12 17:31:37 silverstone kernel: MTRR default type: uncachable
    Mar 12 17:31:37 silverstone kernel: MTRR fixed ranges enabled:
    Mar 12 17:31:37 silverstone kernel: 00000-9FFFF write-back
    Mar 12 17:31:37 silverstone kernel: A0000-EFFFF uncachable
    Mar 12 17:31:37 silverstone kernel: F0000-FFFFF write-protect
    Mar 12 17:31:37 silverstone kernel: MTRR variable ranges enabled:
    Mar 12 17:31:37 silverstone kernel: 0 base 000000000000 mask FFFF80000000 write-back
    Mar 12 17:31:37 silverstone kernel: 1 base 000080000000 mask FFFFC0000000 write-back
    Mar 12 17:31:37 silverstone kernel: 2 base 0000C0000000 mask FFFFF0000000 write-back
    Mar 12 17:31:37 silverstone kernel: 3 disabled
    Mar 12 17:31:37 silverstone kernel: 4 disabled
    Mar 12 17:31:37 silverstone kernel: 5 disabled
    Mar 12 17:31:37 silverstone kernel: 6 disabled
    Mar 12 17:31:37 silverstone kernel: 7 disabled
    Mar 12 17:31:37 silverstone kernel: TOM2: 00000001b0000000 aka 6912M
    Mar 12 17:31:37 silverstone kernel: x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    Mar 12 17:31:37 silverstone kernel: e820: update [mem 0xd0000000-0xffffffff] usable ==> reserved
    Mar 12 17:31:37 silverstone kernel: e820: last_pfn = 0xcff90 max_arch_pfn = 0x400000000
    Mar 12 17:31:37 silverstone kernel: found SMP MP-table at [mem 0x000ff780-0x000ff78f] mapped at [ffff880
    Mar 12 17:31:37 silverstone kernel: initial memory mapped: [mem 0x00000000-0x1fffffff]
    Mar 12 17:31:37 silverstone kernel: Base memory trampoline at [ffff880000099000] 99000 size 24576
    $ systemctl status systemd-journald
    systemd-journald.service - Journal Service
    Loaded: loaded (/usr/lib/systemd/system/systemd-journald.service; static)
    Active: active (running) since Tue 2013-03-12 18:10:41 PDT; 8min ago
    Docs: man:systemd-journald.service(8)
    man:journald.conf(5)
    Main PID: 142 (systemd-journal)
    Status: "Processing requests..."
    CGroup: name=systemd:/system/systemd-journald.service
    `-142 /usr/lib/systemd/systemd-journald
    However, it looks like the log files keep getting corrupted:
    $ sudo journalctl --verify
    PASS: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/system@5e6edd359123491f9998a310206ccbf9-000000000007f543-0004d7c4445effa4.journal
    Invalid object contents at 124687944ââââââââââââââââââââââââââââââââââââââââââ 49%
    File corruption detected at /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/system@2c1af599e637441985385fe37ded2a2c-00000000000a8cb7-0004d7c3d52e9748.journal:124687944 (of 134074368, 92%).
    FAIL: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/system@2c1af599e637441985385fe37ded2a2c-00000000000a8cb7-0004d7c3d52e9748.journal (Bad message)
    Invalid object contents at 75715936âââââââââââââââââââââââââââââââââââââââââââ 49%
    File corruption detected at /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/system.journal:75715936 (of 76156928, 99%).
    FAIL: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/system.journal (Bad message)
    PASS: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/system@2c1af599e637441985385fe37ded2a2c-00000000000290d6-0004d7c3a0033472.journal
    PASS: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/system@5e6edd359123491f9998a310206ccbf9-0000000000000001-0004d7c413227650.journal
    PASS: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/[email protected]~
    PASS: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/system@2c1af599e637441985385fe37ded2a2c-00000000000fcfc0-0004d7c3fd8ee9c5.journal
    PASS: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/[email protected]~
    Invalid object contents at 124701856ââââââââââââââââââââââââââââââââââââââââââ 49%
    File corruption detected at /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/system@2c1af599e637441985385fe37ded2a2c-0000000000000001-0004d7c3876dda65.journal:124701856 (of 134049792, 93%).
    FAIL: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/system@2c1af599e637441985385fe37ded2a2c-0000000000000001-0004d7c3876dda65.journal (Bad message)
    PASS: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/system@5e6edd359123491f9998a310206ccbf9-00000000000a9da8-0004d7c45187e39e.journal
    PASS: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/system@2c1af599e637441985385fe37ded2a2c-00000000000d26b1-0004d7c3ea1b73f7.journal
    PASS: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/system@5e6edd359123491f9998a310206ccbf9-000000000002a43f-0004d7c425785944.journal
    PASS: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/system@2c1af599e637441985385fe37ded2a2c-00000000000539fb-0004d7c3b2d1f935.journal
    PASS: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/system@5e6edd359123491f9998a310206ccbf9-0000000000054d23-0004d7c4354da4ef.journal
    PASS: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/user-1000@2c1af599e637441985385fe37ded2a2c-0000000000001706-0004d7c38cd3de88.journal
    PASS: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/user-1000@5e6edd359123491f9998a310206ccbf9-00000000000019b4-0004d7c4153f8628.journal
    PASS: /var/log/journal/9ddaa50d8841758bb1bea9b700000f33/system@2c1af599e637441985385fe37ded2a2c-000000000007e345-0004d7c3c3ed8197.journal
    I am using a two or three year old SSD, so maybe it has gotten some bad sectors? But that doesn't explain why journald still bricks things when it isn't logging anything. The install is 10 months old, and I switched from init to systemd around October. Is there anything I can do, short of reinstalling?
    Thanks,
    Nicholas
    Last edited by bicyclingrevolution (2013-03-14 05:57:13)

    Thanks for the tip ilkyest, but it didn't make any difference to the systemd-journald problem.
    However, I looked at journalctl again and found it cluttered with CUPS failures:
    -- Logs begin at Tue 2013-03-12 19:17:00 PDT, end at Wed 2013-03-13 22:31:31 PDT. --
    Mar 12 19:17:00 silverstone spideroak_inotify[796]: Program started
    Mar 12 19:21:30 silverstone systemd[1]: cups.service start request repeated too quickly, refusing to start.
    Mar 12 19:21:30 silverstone systemd-journal[143]: Suppressed 7199 messages from /system
    Mar 12 19:21:27 silverstone systemd[1]: Starting CUPS Printing Service...
    Mar 12 19:21:30 silverstone systemd-journal[143]: Suppressed 5471 messages from /system
    Mar 12 19:21:27 silverstone systemd[1]: cups.service start request repeated too quickly, refusing to start.
    Mar 12 19:21:30 silverstone systemd-journal[143]: Suppressed 5699 messages from /system
    Mar 12 19:21:27 silverstone systemd[1]: Failed to start CUPS Printing Service.
    Mar 12 19:21:27 silverstone systemd[1]: Starting CUPS Printing Service...
    Mar 12 19:21:27 silverstone systemd[1]: cups.service start request repeated too quickly, refusing to start.
    Mar 12 19:21:27 silverstone systemd[1]: Failed to start CUPS Printing Service.
    Mar 12 19:21:27 silverstone systemd[1]: Starting CUPS Printing Service...
    Mar 12 19:21:27 silverstone systemd[1]: cups.service start request repeated too quickly, refusing to start.
    Mar 12 19:21:27 silverstone systemd[1]: Failed to start CUPS Printing Service.
    Mar 12 19:21:27 silverstone systemd[1]: Starting CUPS Printing Service...
    Mar 12 19:21:27 silverstone systemd[1]: cups.service start request repeated too quickly, refusing to start.
    Mar 12 19:21:30 silverstone systemd-coredump[1592]: Process 1590 (cupsd) dumped core.
    Mar 12 19:21:28 silverstone colord[354]: Profile added: Deskjet_3840-Gray..
    Mar 12 19:21:28 silverstone colord[354]: Profile added: Deskjet_3840-RGB..
    Mar 12 19:21:28 silverstone colord[354]: Device added: cups-Deskjet_3840
    Mar 12 19:21:28 silverstone colord[354]: Profile added: Deskjet_F4100-Gray..
    Mar 12 19:21:28 silverstone colord[354]: Profile added: Deskjet_F4100-RGB..
    Mar 12 19:21:28 silverstone colord[354]: Device added: cups-Deskjet_F4100
    Mar 12 19:21:28 silverstone dbus[337]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
    Mar 12 19:21:28 silverstone dbus[337]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory. See system logs
    Mar 12 19:21:28 silverstone colord[354]: Profile removed: Deskjet_3840-Gray..
    Mar 12 19:21:28 silverstone colord[354]: Profile removed: Deskjet_3840-RGB..
    Mar 12 19:21:28 silverstone colord[354]: device removed: cups-Deskjet_3840
    Mar 12 19:21:31 silverstone colord[354]: Profile removed: Deskjet_F4100-Gray..
    Mar 12 19:21:31 silverstone colord[354]: Profile removed: Deskjet_F4100-RGB..
    Mar 12 19:21:31 silverstone colord[354]: device removed: cups-Deskjet_F4100
    Mar 12 19:21:31 silverstone dbus-daemon[337]: dbus[337]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
    Mar 12 19:21:31 silverstone dbus-daemon[337]: dbus[337]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or director
    Mar 12 19:21:31 silverstone systemd-journal[143]: Missed 6365 kernel messages
    Mar 12 19:21:31 silverstone systemd[1]: cups.service start request repeated too quickly, refusing to start.
    Mar 12 19:21:31 silverstone systemd[1]: cups.service start request repeated too quickly, refusing to start.
    Mar 12 19:21:31 silverstone cupsd[1590]: Unknown directive DefaultAuthType on line 9.
    Mar 12 19:21:31 silverstone cupsd[1590]: cupsd: client.c:757: avahi_client_get_host_name: Assertion `client' failed.
    Mar 12 19:21:31 silverstone systemd[1]: cups.service start request repeated too quickly, refusing to start.
    Mar 12 19:21:31 silverstone cupsd[1594]: Unknown directive DefaultAuthType on line 9.
    Mar 12 19:21:31 silverstone systemd[1]: cups.service start request repeated too quickly, refusing to start.
    Mar 12 19:21:31 silverstone systemd[1]: cups.service start request repeated too quickly, refusing to start.
    Mar 12 19:21:31 silverstone systemd[1]: cups.service start request repeated too quickly, refusing to start.
    Mar 12 19:21:31 silverstone systemd[1]: cups.service start request repeated too quickly, refusing to start.
    Mar 12 19:21:31 silverstone systemd[1]: cups.service start request repeated too quickly, refusing to start.
    Mar 12 19:21:31 silverstone systemd[1]: cups.service start request repeated too quickly, refusing to start.
    Disabling cups solved the CPU usage issue.
    It looks like the root of the problem is Avahi failing to start, but I have no idea why it isn't working.
    $ systemctl status dbus-org.freedesktop.Avahi.service
    dbus-org.freedesktop.Avahi.service
    Loaded: error (Reason: No such file or directory)
    Active: inactive (dead)

  • [SOLVED] qemu-kvm high cpu usage when using pulseaudio alsa-plugin

    My Arch system is configured to use pulseaudio. When an application connects to the sound server it will use either a native pulseaudio driver, or the pulseaudio alsa-plugin if it using a alsa driver.
    qemu-kvm in 'extra' is not compiled with native pulseaudio support. When running guests with sound hardware support, qemu-kvm connects to the sound server using the pulseaudio alsa-plugin.
    The problem I'm seeing is high cpu usage on the Arch host even though cpu usage on the guest is low. Also, the guest is often unresponsive for a period of time when opening sound applications like the mixer or playing audio.
    My solution is to recompile qemu-kvm with native pulseaudio support. This eliminates the use of the pulseaudio alsa-plugin on the Arch host and fixes the above problems.
    An easy was to do this is run:
    yaourt -S qemu-kvm --build
    And edit the PKGBUILD changing the line:
    --audio-drv-list=alsa,sdl,oss,esd \
    To:
    --audio-drv-list=pa,alsa,sdl,oss,esd \
    Finish building and install. Don't forget to add yourself to the kvm group.
    Last edited by bytesize (2010-08-16 02:34:08)

    Problem disappeared.
    I'm not sure, but i think installing xf86-video-modesetting helped to fix this issue.
    I had an error messages in /var/log/Xorg.0.log like this:
    (EE) Failed to load module "modesetting" (module does not exist, 0)

  • Config Manager Agent - after Hardware Inventory High CPU Usage with WMIPRSVE and very fast empty Battery

    Hi there,
    since a few days there is on some machines (40-60) a high cpu usage on one core (quad core cpu machines) with the WMIPRSVE.EXE if the HARDWARE INVENTORY CYCLE started.
    i try out some tests, read some forum articles and troubleshooting the WMI management but a real problem i doesn´t see.
    in some articles i read that hardware inventory runs about minutes up to more hours but some machines runs longer, someone more as 1 day.
    here an example of mine PC:
    at 8:07 i started Hardware Inventory Cycle, in the InventoryAgent.log i can see that some Collection Namespace are captured.
    after a few minutes there stopped and does nothing round about 5.9 hours or better, after 21436.097 Seconds.
    For any hints i am grateful. :)
    Inventory: *********************** Start of message processing. ***********************
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Inventory: Message type is InventoryAction InventoryAgent
    18.03.2015 08:09:56 11088 (0x2B50)
    Inventory: Temp directory = C:\WINDOWS\CCM\Inventory\Temp\
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Inventory: Clearing old collected files. InventoryAgent
    18.03.2015 08:09:56 11088 (0x2B50)
    Inventory: Opening store for action {00000000-0000-0000-0000-000000000001} ...
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    CInvState::VerifyInventoryVersionNumber: Mismatch found for '{00000000-0000-0000-0000-000000000001}': 4.2 vs. 0.0
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Inventory: Version number mismatch; will do a Full report.
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Inventory: Action=Hardware, ReportType=ReSync, MajorVersion=5, MinorVersion=0
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Inventory: Initialization completed in 0.141 seconds
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Collection: Namespace = \\localhost\root\Microsoft\appvirt\client; Query = SELECT __CLASS, __PATH, __RELPATH, CachedLaunchSize, CachedPercentage, CachedSize, LaunchSize, Name, PackageGUID, TotalSize, Version, VersionGUID FROM Package; Timeout = 600 secs.
    InventoryAgent 18.03.2015 08:09:56
    7836 (0x1E9C)
    Failed to get IWbemService Ptr for \\localhost\root\vm\VirtualServer Namespace: 8004100E
    InventoryAgent 18.03.2015 08:10:02
    7836 (0x1E9C)
    Failed to enumerate instances of VirtualMachine: 8004100E
    InventoryAgent 18.03.2015 08:10:02
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, AddressWidth, BrandID, CPUHash, CPUKey, DataWidth, DeviceID, Family, Is64Bit, IsHyperthreadCapable, IsMobile, IsTrustedExecutionCapable, IsVitualizationCapable, Manufacturer,
    MaxClockSpeed, Name, NormSpeed, NumberOfCores, NumberOfLogicalProcessors, PCache, ProcessorId, ProcessorType, Revision, SocketDesignation, Status, SystemName, Version FROM SMS_Processor; Timeout = 600 secs.
    InventoryAgent 18.03.2015 08:10:02
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\CCM\powermanagementagent; Query = SELECT __CLASS, __PATH, __RELPATH, Requester, RequesterInfo, RequesterType, RequestType, Time, UnknownRequester FROM CCM_PwrMgmtLastSuspendError; Timeout = 600 secs.
    InventoryAgent 18.03.2015 08:10:03
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Availability, Description, DeviceID, Manufacturer, Name, Status FROM Win32_IDEController; Timeout = 600 secs.
    InventoryAgent 18.03.2015 08:10:03
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, BinFileVersion, BinProductVersion, Description, ExecutableName, FilePropertiesHash, FilePropertiesHashEx, FileSize, FileVersion, HasPatchAdded, InstalledFilePath, IsSystemFile,
    IsVitalFile, Language, Product, ProductCode, ProductVersion, Publisher FROM SMS_InstalledExecutable; Timeout = 600 secs.
    InventoryAgent 18.03.2015 08:10:03
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, DefaultIPGateway, DHCPEnabled, DHCPServer, DNSDomain, DNSHostName, Index, IPAddress, IPEnabled, IPSubnet, MACAddress, ServiceName FROM Win32_NetworkAdapterConfiguration; Timeout
    = 600 secs. InventoryAgent
    18.03.2015 14:06:43 7836 (0x1E9C)
    Collection: Namespace = \\.\root\Nap; Query = SELECT __CLASS, __PATH, __RELPATH, description, fixupState, friendlyName, id, infoClsid, isBound, percentage, registrationDate, vendorName, version FROM NAP_SystemHealthAgent; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:06:43
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, AdditionalProductCodes, CompanyName, ExplorerFileName, FileDescription, FilePropertiesHash, FileSize, FileVersion, FolderPath, LastUsedTime, LastUserName, msiDisplayName,
    msiPublisher, msiVersion, OriginalFileName, ProductCode, ProductLanguage, ProductName, ProductVersion, SoftwarePropertiesHash FROM CCM_RecentlyUsedApps; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:06:43
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, BankLabel, Capacity, Caption, CreationClassName, DataWidth, Description, DeviceLocator, FormFactor, HotSwappable, InstallDate, InterleaveDataDepth, InterleavePosition, Manufacturer,
    MemoryType, Model, Name, OtherIdentifyingInfo, PartNumber, PositionInRow, PoweredOn, Removable, Replaceable, SerialNumber, SKU, Speed, Status, Tag, TotalWidth, TypeDetail, Version FROM Win32_PhysicalMemory; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:07:02
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Availability, Description, DeviceID, InstallDate, Manufacturer, Name, PNPDeviceID, ProductName, Status FROM Win32_SoundDevice; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:07:02
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Caption, ClassGuid, ConfigManagerErrorCode, ConfigManagerUserConfig, CreationClassName, Description, DeviceID, Manufacturer, Name, PNPDeviceID, Service, Status, SystemCreationClassName,
    SystemName FROM Win32_USBDevice; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Collection: 62/74 inventory data items successfully inventoried.
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: Collection Task completed in 21436.097 seconds
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: 12 Collection Task(s) failed. InventoryAgent
    18.03.2015 14:07:12 7836 (0x1E9C)
    Inventory: Temp report = C:\WINDOWS\CCM\Inventory\Temp\25bf01b2-12fc-4eea-8e97-a51b3c75ba50.xml
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: Starting reporting task. InventoryAgent
    18.03.2015 14:07:12 7552 (0x1D80)
    Reporting: 4381 report entries created. InventoryAgent
    18.03.2015 14:07:13 7552 (0x1D80)
    Inventory: Reporting Task completed in 1.030 seconds
    InventoryAgent 18.03.2015 14:07:13
    7552 (0x1D80)
    Inventory: Successfully sent report. Destination:mp:MP_HinvEndpoint, ID: {5541A94A-BED9-4132-AE54-110CB6896F02}, Timeout: 80640 minutes MsgMode: Signed, Not Encrypted
    InventoryAgent 18.03.2015 14:07:13
    7552 (0x1D80)
    Inventory: Cycle completed in 21453.570 seconds
    InventoryAgent 18.03.2015 14:07:30
    7552 (0x1D80)
    Inventory: Action completed. InventoryAgent
    18.03.2015 14:07:30 7552 (0x1D80)
    Inventory: ************************ End of message processing. ************************
    InventoryAgent 18.03.2015 14:07:30
    7552 (0x1D80)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Caption, ClassGuid, ConfigManagerErrorCode, ConfigManagerUserConfig, CreationClassName, Description, DeviceID, Manufacturer, Name, PNPDeviceID, Service, Status, SystemCreationClassName,
    SystemName FROM Win32_USBDevice; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Collection: 62/74 inventory data items successfully inventoried.
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: Collection Task completed in 21436.097 seconds
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: 12 Collection Task(s) failed. InventoryAgent
    18.03.2015 14:07:12 7836 (0x1E9C)
    Inventory: Temp report = C:\WINDOWS\CCM\Inventory\Temp\25bf01b2-12fc-4eea-8e97-a51b3c75ba50.xml
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: Starting reporting task. InventoryAgent
    18.03.2015 14:07:12 7552 (0x1D80)
    Reporting: 4381 report entries created. InventoryAgent
    18.03.2015 14:07:13 7552 (0x1D80)
    Inventory: Reporting Task completed in 1.030 seconds
    InventoryAgent 18.03.2015 14:07:13
    7552 (0x1D80)
    Inventory: Successfully sent report. Destination:mp:MP_HinvEndpoint, ID: {5541A94A-BED9-4132-AE54-110CB6896F02}, Timeout: 80640 minutes MsgMode: Signed, Not Encrypted
    InventoryAgent 18.03.2015 14:07:13
    7552 (0x1D80)
    Inventory: Cycle completed in 21453.570 seconds
    InventoryAgent 18.03.2015 14:07:30
    7552 (0x1D80)
    Inventory: Action completed. InventoryAgent
    18.03.2015 14:07:30 7552 (0x1D80)
    Inventory: ************************ End of message processing. ************************
    InventoryAgent 18.03.2015 14:07:30
    7552 (0x1D80)

    InventoryAgent 18.03.2015 08:10:03
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, DefaultIPGateway, DHCPEnabled, DHCPServer, DNSDomain, DNSHostName, Index, IPAddress, IPEnabled, IPSubnet, MACAddress, ServiceName FROM Win32_NetworkAdapterConfiguration; Timeout
    = 600 secs. InventoryAgent
    18.03.2015 14:06:43 7836 (0x1E9C)
    Collection: Namespace = \\.\root\Nap; Query = SELECT __CLASS, __PATH, __RELPATH, description, fixupState, friendlyName, id, infoClsid, isBound, percentage, registrationDate, vendorName, version FROM NAP_SystemHealthAgent; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:06:43
    7836 (0x1E9C)
    Looks like something in one or both of those wmi queries.  it goes from 8:10:03 to 14:06:43 right around there.  6 hours to do that... 
    try running those queries from wbemtest manually; and see which one just never finishes.
    Standardize. Simplify. Automate.

  • DNS server process, high CPU usage

    Hello,
    I am having a problem with high CPU usage on DNS process. We have 1921 setup in network of about 100 workstations that use it as DNS server. It also performs split view functionality for couple of domains in order to avoid hairpin NAT. I know that a router is not fit for heavy server duty but such setup was unfortunately necessary.
    In peak work hours we oftenly have CPU hitting 100%  with DNS server process being the root cause,and on several occasions we had DNS process stuck in such state for prolonged periods of time during which other router functions were affected (t's a default gateway, IPsec concentrator etc.). Sometimes shutting the process and restarting it would solve the problem, but once it required a full reload in order to restore functionality (such was the description that engineer on duty reported to me).
    Forwarder queue statistics:
    Current size = 0
    Maximum size = 86
    Drops        = 0
    IOS upgrade did not help, we are currently running 15.2(2)T.
    The question is ... is such behaviour (CPU load) to be expected on LAN with 100 workstations due to slow CPU on router or we have bugged IOS DNS server (requiring a TAC case)?
    The previous solution seem to do this functionality quite nicely (even though it was also a router), so I am not inclined to think that we are dealing with someone DoS-ing the DNS (WAN access to DNS is of course forbidden)
    P.S.
    Since we moved servers off the routers DNS, we do not receive complaints, but we had a couple of unresolved messages a day while mail server was using router for DNS. I am suspecting that an old bug where IOS DNS servers occasionaly sends clients back empty DNS replies (properly formatted message but without A record) could be still around?

    hi,
    i have the same problem on UC540 and 2911 on IOS 15.0.1. CPU high, router crashed. Reboot helps but until CPU usage spikes again. the only fix is to remove "ip dns server" from config and use a different DNS server
                        111                       1111    1111111111
              999999999900077777777799999777778888000099990000000000
        322222111119999900077776666622222111119999000088880000000000
    100            ********                       ******************
     90       *************         *****     **********************
     80       ***************************     **********************
     70       ******************************************************
     60       ******************************************************
     50       ******************************************************
     40       ******************************************************
     30       ******************************************************
     20       ******************************************************
     10       ******************************************************
       0....5....1....1....2....2....3....3....4....4....5....5....6
                 0    5    0    5    0    5    0    5    0    5    0
                   CPU% per second (last 60 seconds)
    after removed IP dns server
                                           111                      
                                 99999999990007777777779999977777888
                  33333333332222211111999990007777666662222211111999
    100                               ********                      
     90                          *************         *****     ***
     80                          ***************************     ***
     70                          ***********************************
     60                          ***********************************
     50                          ***********************************
     40                          ***********************************
     30                          ***********************************
     20                          ***********************************
     10                          ***********************************
       0....5....1....1....2....2....3....3....4....4....5....5....6
                 0    5    0    5    0    5    0    5    0    5    0
                   CPU% per second (last 60 seconds)

  • Realtek hd audio high cpu usage

    hi i have a hp 2000 notebook this is a new pc and ive been having trouble with the cpu usage and the realtek hd audio driver for some reason if theres sound comming from the speakers or not norton will pop up and tell me theres high cpu usage and every time its realtek hd audio thats causing the problem this program has crashed 10 times in a week i cant play any good games since the audio driver take up so much of the cpuive never known a audio program to use up to 64% of a cpu before and this pc has dual core on it the program causes my pc to lag and crash please help me with finding a answer is there a program that i can use with my laptop instead or is there a way that i can fix this problem i love the laptop but this realtek is a real pain in the butt

    Hi,
    A
    Download correct driver from HP support site for Your model:
    Click on Support & Drivers link. (Upper part of this page.)
    Choose option: Download drivers and software (and firmware)
    In form:
          Enter a product name / number
          For product provide Your p/n. (How to find correct p/n informations here.)
    Click on Go and choose Your correct system.
    Find there audio driver.
    Disconnect from Internet.
    Uninstall from Your system current audio drivers.
    Resources:
    Uninstalling Software in Windows 7
    Uninstall or change a program in Windows 7
    Restart Your system:
    On boot press ' F8 ' and choose ' Safe mode '.
    Go to Control Panel -> Devices Manager -> Audio, Video and Games Controllers 
    and find there Audio card. Click on it with right button of Your mouse and choose uninstall driver.
    Restart Your system and this time start it in normally.
    Install downloaded audio driver.
    If problem will not be solved then:
    B
    Go to Control Panel -> Devices Manager -> Audio, Video and Games Controllers
    and find there IDT audio card. Click on it with right button of Your mouse and choose properties.
    Then go to ' Details ' tab and paste here Hardware ID .
    Below You've got example how to do it:
    ** Say thanks by clicking the "Thumb up" icon which is on the left. **
    ** Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. **

  • Mdworker process suddenly high CPU usage

    Hi All
    I've been running Mountain Lion since it was released, upgrading from Lion. I've never had a problem with mdworker until a few days ago when suddenly, the mdworker process started hitting 90% CPU on my iMac.
    I've disabled Spotlight, deleted the .Spotlight directories, rebooted the iMac, but each time mdworker . Prior to this, the iMac's CPU temperature was around 43C, with very little CPU usage, but now it is around 60C and 100% across the two cores. The only way to 'get back to normal' is to use :
    sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
    but of course Spotlight doesn't work at all.
    I've used 'sudo fs_usage -w -f filesys mdworker' but I can't see anything that mdworker is perhaps choking on.
    Does any have any ideas? I'm racking my brain to remember if I did anything different a few days back that might have caused this to happen, but apart from just normal email and web surfing, nothing else springs to mind.
    Help!
    Paul

    David Losada
    This solved my questionRe: mdworker process suddenly high CPU usage     Nov 28, 2012 1:41 AM    (in response to antobal) 
    In my case it was the BritannicaBookmark.mdimporter that was a PowerPC mdimporter. But it was not in \library\spotlight but inBritannica 12.0/Ultimate Reference Suite.app/Contents/Library/Spotlight.
    You can see what spotlight plugin is choking on you by selecting the mdworker process in the Activity monitor and click on Open files and processes.
    Sounds helpful, but I don't see "Open files and processes" in Activity Monitor. If I click on inspect, I get a choice to "Sample" processes. I get a system log that is a bit beyond me.
    antobal Brussels, Belgium
    Re: mdworker process suddenly high CPU usage     Oct 3, 2012 12:47 PM    (in response to asfafa) 
    I was having the same problem, and a second level support person at Apple helped me solve the issue today:
    Look in the \library\spotlight folders both at your drive root level and your user folder. These folders contain spotlight plugins, with the extension .mdimporter. Some of those plugins, if defective, can make the Spotlight indexing processes to run continuously.
    Also sounds helpful, I found .mdimporter files in my system library, but nothing looked unusual. I didn't see a spotlight folder in my user library. I looked in application support and several other places. I used Onyx to repair permissions, rebuild spotlight index, clear caches etc, rebooted, it seems to be OK now.

  • High cpu usage when idle / x230

    Hi all,
    I have an i5 x230, win8 pro installed on a crucial m4 msata ssd, 16gb of ram. I lately noticed a sharp drop in battery life. I believe this is due by high cpu utilization when idle, which I see from task manager, and shows the System process hovering above 30% cpu utilization. This goes down when I restart, but comes up again after a while, possibly when coming back from sleep.
    Does anyone have any idea about this? I tried to search the knowledge base a bit, but nothing came up.
    Thanks!
    Solved!
    Go to Solution.

    Indeed it was risdxc64.sys; I used process explorer to find out. I uninstalled the win 8 driver, and installed back the win 7 driver, and CPU usage is normalized.
    Thanks for pointing in the right direction!

  • High CPU usage when updating or instlling s/w

    When updating Win8 or installing MS Office system slows down and has to run all night to make any progress. Task Manager shows "System" using 49%. "go to process" shows "NT Kernel & System". The system was bought with Win7 and is now double booting both 7 & 8. Win 8 partition has 500 GB.
    This question was solved.
    View Solution.

    Hello @Dan-44,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I have read your post on how your computer is displaying a high CPU usage when installing updates or other software. I would be happy to assist you in this matter!
    What other programs are in use when these updates take place? How full is your computer's Local Disk hard drive? In the meantime, I recommend following the steps in this document on Resolving Slow System Performance (Windows 8). This should help improve the speed and efficiency of your operating system.
    Please re-post with the results of your troubleshooting, as well as the requested information above. I look forward to your reply!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • High CPU usage when graphics card is put at work

    I have a 13inch Air with 2GB RAM and 256GB  with Windows 7 Ultimate 64bit. All possible updates have been installed.
    I noticed some tearing when trying to move program windows across the screen so I started checking the CPU usage. I saw that it is spiking to 25-35% when moving a window across the screen.When you drag down a window you can see the different copies of the top bar across the screen. Not smooth at all like on a standard PC windows system. Same issue when scrolling through webpages which spikes the cpu
    I also noticed a high cpu usage when playing mkv files 25-30% while on an Atom HTPC i get a lower load playing the same file. The Air should be faster than an atom with a nvidia 9400m when playing video files.
    I already tried updating the nvidia files to the latest version on their site by hacking the driver inf but this did not resolve the issue.
    Has anyone experienced the same or know what could be causing the beavior?
    Many thanks

    Maybe my initial post was not clear so let me add some clarifications.
    I have the problem with Aero disabled
    I have the problem on the Apple site which does not have any flash content.
    I have already hacked the lastest nvidia drivers to get them on my system which did not change anything. Can you provide a link to some other 'supported' beta drivers?
    I am using the new 13 inch air so it has the newer graphics card so I would expect it to be faster than an old HTPC with a 9400m in it. I wasn't stating that my Air had a 9400m.
    It would be great if someone you also do the test to check the cpu load:
    - when playing a 720 mkv
    - when dragging a window across the screen
    Just open task manager and see if the CPU spikes.
    Many thanks!

  • High CPU Usage On client application when upgrade remote SQL database

    Hi,
    Is anyone here encountered very high CPU usage after upgraded the database from SQL 2005 to SQL 2012? Following describes my issue.
    I have my client application running on Windows 7 that access to central database (SQL 2005) on Windows server 2003 using ODBC connection, this client application basically query data and perform data insert and update. There are a number of this similar
    clients connected to the database.
    Due to slowness of the database server, company decided to upgrade the database server to SQL 2012 and also new hardware runing Windows Server 2012. There is no change on the client application and client hardware and the client application still using the
    same ODBC connection to query, insert or update the new database server.
    The problem I am now experiencing now is that my client PC where my client application running the CPU usage is very high almost hitting 100% when accessing to the central database. I am also noticed this program lsass.exe that utilized almost 40-50% of
    the CPU time when client application accessing the central database.
    Is anyone here know, why client PC CPU usage 100% when access to upgraded SQL 2012 database? What is lsass.exe program doing, it only appear when accessing to database server. How to reduce the CPU usage on client?
    Thanks.
    Chee Wee.

    Hello,
    After upgrading, please rebuild indexes and update statistics on the databases.
    http://www.mssqltips.com/sqlservertip/1367/sql-server-script-to-rebuild-all-indexes-for-all-tables-and-all-databases/
    http://www.mssqltips.com/sqlservertip/1606/execute-update-statistics-for-all-sql-server-databases/
    Configure maxdop on the instance.
    http://blogs.msdn.com/b/sqlsakthi/archive/2012/05/24/wow-we-have-maxdop-calculator-for-sql-server-it-makes-my-job-easier.aspx
    If the above does not solve the issue, let us know.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • High CPU usage - Rapid Battery Drain - Running HOT

    Looking for help.. PLEASE!
    Z10 - Model STL100-3 Software release 10.2.1.2179
    Symptoms;
    Occasionally, and for no apparent reason, I notice my Z10 getting hot in my pocket. I run the device monitor App and see a very high CPU usage, which consequently drains the batter very quickly.
    I've tried all the solutions from every support group thread and blog. And I mean ALL!
    Pulling the battery
    Replaced the battery
    Removed the SIM
    Deleted G Mail
    Removed all 3rd party Apps (2)
    Stopped email sync
    Stopped calendar sync
    Turned off all radio
    Turned Off Wi-Fi
    Let it sit for hours, even days to let it finish doing whatever its trying to do
    Etc Etc Etc.
    Finally, I called BB support, they wanted $50 to talk to someone. I told them the issue, they said the device is bad and must be replaced. I said its software related!! They said.. no, its a hardware issue. Device is under warranty and they want me to just go get a new one. I don't want a new one, I want a fix! Stop the waste of BB $
    Temporary solution
    Eventually, I decided I would do a restore, back to the factory settings, and here's when I found something
    I run BB Link, connect the device, do a back-up... and LOW AND BEHOLD.. this fixes the high CPU usage and the device runs great, very cool, low cpu and extremely long battery life.
    Sadly! .. this problem reoccurs, after a few days, sometimes after a couple of weeks and just out of the blue.
    I can force this fault to occur, simply by doing a restart of the device. Sure enough, it will run hot, use all the cpu and I will have to do a back-up to get it to settle down again. I've tried to wait for the so called 'indexing' to finish, but it never stops running with high cpu and doesn't help.
    Can any one tell me whats happening and how to make this a permanent fix?
    There are hundreds if not thousands of people having very similar issues, and many different methods to fix it. Its my belief that there is an underlying bigger problem that relates to all these differing fixes, but as yet.. I cant find it and none of these fixes work for me. For now... I will keep doing the occasional back-up and hope I get a response that can help.
    Thanks to all that read this.

    curve8530curve8330 wrote:
    The heat may be normal. After a little water damage incident, which I repaired, I disassembled my Z10 the find a small heat sink will thermal compound. This helps dissipate heat efficiently. I found a large number of air bubbles and possibly a large air pocket by the way the paste stuck to both sides. I removed the old paste and replaced it with artic silver paste and the z10 has been much much cooler. It use to run about 105*f and now it is around 85*f.
    See this thread I posted for before and after pictures using a thermal imager.
    http://supportforums.blackberry.com/t5/BlackBerry-​Z10/Z10-heating-up-fix/m-p/3031220#M71390
    @Curve8530 .....as much a s your discovery is appreciated, I hardly believe that most people will actually dismantle their phone to remove the paste and replace with arctic silver. Besides, what you are doing is not a fix for the actual problem....
    In most cases, this heat is associated with apps using the CPU resources beyond the normal limits.
    As an easy fix, finding and removing the app(s) in question followed by a reboot, solves the issue. In some cases an OS reload is necessary.... but under no circumstances I would even remotely suggest to any member to dismantle their phone and do what you did...     

  • High CPU usage on select

    This is a spin off from another thread which started off as slow inserts. But what actaully happens is every insert is preceded by select it turned out that the select was slow.
    We have a multi-tier web application conencting to the DB using connection pool and inserting about a 100000 records in a table. To isolate the issue I wrote a PL/SQL which does the same thing.
    This problem happens every time the schema is recreated or the table dropped and created again and we start inserting. When the table is empty, the selects choose a full table scan but as the records are inserted it continues to use the same even though after a few thousands of rows I run stats. But as its running if gather stats and flush the shared pool, it picks up the new plan using the indexes and immediately gets faster.
    But in either case, full tablescan being slow after a few thousands of rows or using the index and getting much faster. Or me just doing the same select and no inserts on a table with 100000 rows, the CPU seems to be pegged to the core.
    The code snipped repeated again
    DECLARE
       uname    NVARCHAR2 (60);
       primid   NVARCHAR2 (60);
       num      NUMBER;
    BEGIN
       FOR i IN 1 .. 100000
       LOOP
          uname := DBMS_RANDOM.STRING ('x', 20);
          primid := DBMS_RANDOM.STRING ('x', 30);
          DBMS_OUTPUT.put_line (uname || ' ==> ' || primid);
          SELECT   COUNT (*)
              INTO num
              FROM TEST
             WHERE ID = 0
               AND (primid = primid OR UPPER (username) = uname OR uiname = uname
               AND (deldate IS NULL)   
          ORDER BY TIME DESC;
          INSERT INTO TEST
               VALUES (0, uname, uname, 1, uname, primid);
          IF MOD (i, 200) = 0
          THEN
             COMMIT;
             DBMS_OUTPUT.put_line ('Commited');
          END IF;
       END LOOP;
    END;This is the original thread
    Re: Slow inserts

    Maybe if you post the actual code, or a code as similar to the actual code, the users of this forum may provide you with more appropriate suggestions.
    Personally, I would like to understand what is the logic behind, so I can provide you with better advices.
    Anyway, let's focus on the code that we currently have on the table.
    Why your CPU goes high?
    - Huge amount of LIOs produced by SELECT statement which is executed 100000 times.
    - Usage of single-row / aggregate functions
    - You mentioned you have some indexes created on table TEST. Index maintenance consumes some CPU as well.
    Let's focus on the SELECT statement, since it is the most important reason for having high number of LIOs thus having high CPU usage.
    I built a test case using the query you provided, with one difference, I named TEST table columns as COL1, COL2, etc. And instead of 100,000 cycles, I did 10,000
    declare
       uname varchar2(60);
       pname varchar2(60);
       num number(5);
       begin
       for i in 1..10000 loop
          uname:=dbms_random.string('x',30);
          pname:=dbms_random.string('x',20);
          select count(1)
          into num
          from test
          where col1=0
          and (col2=uname or upper(col5)=pname or col3=uname)
          and col4 is not null;
          insert into test
          values (0,uname,pname,1,uname,uname);
          if mod(i,200)=0 then
                  commit;
          end if;
       end loop;
      end;When I run 10046 trace and made tkprof report, I got the following for the SELECT part:
    SELECT COUNT(1)
    FROM
    TEST WHERE COL1=0 AND (COL2=:B1 OR UPPER(COL5)=:B2 OR COL3=:B1 ) AND COL4 IS
      NOT NULL
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        2      0.00       0.00          0          0          0           0
    Execute  10050      0.48       0.43          0          0         50           0
    Fetch    10000     94.07      94.37          0    2910664          2       10000
    total    20052     94.56      94.80          0    2910664         52       10000As you can see, tkprof report indicated high CPU usage and 2,910,664 LIO calls.
    The execution plan (I didn't include that part) indicated FULL TABLE scan on table TEST was used.
    At this point the goal should be to reduce the number of LIO calls.
    For this purpose I created the following indexes:
    TEST_IDX1 on TEST(col2)
    TEST_IDX2 on TEST(col3)
    TEST_IDX3 on TEST(upper(col5)) - a Function Based Index
    Let's forget about the statistics at this moment.
    I will use index_combine hint in the SELECT statement to make CBO to try every index combination for listed indexes (B-Tree) and make bitmap conversion.
    The new code looks like this
    declare
       uname varchar2(60);
       pname varchar2(60);
       num number(5);
       begin
       for i in 1..10000 loop
          uname:=dbms_random.string('x',30);
          pname:=dbms_random.string('x',20);
          select /*+ index_combine(test test_idx1 test_idx2 test_idx3) */ count(1)
          into num
          from test
          where col1=0
          and (col2=uname or upper(col5)=pname or col3=uname)
          and col4 is not null;
          insert into test
          values (0,uname,pname,1,uname,uname);
          if mod(i,200)=0 then
                  commit;
          end if;
       end loop;
      end;After running 10046 trace and creating tkprof report, I got the following result:
    SELECT /*+ index_combine(test test_idx1 test_idx2 test_idx3) */ COUNT(1)
    FROM
    TEST WHERE COL1=0 AND (COL2=:B1 OR UPPER(COL5)=:B2 OR COL3=:B1 ) AND COL4 IS
      NOT NULL
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute  10000      0.79       0.70          0          0          0           0
    Fetch    10000      0.68       0.71          3      59884          0       10000
    total    20001      1.47       1.42          3      59884          0       10000
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 54     (recursive depth: 1)
    Rows     Row Source Operation
      10000  SORT AGGREGATE (cr=59884 pr=3 pw=0 time=1188641 us)
          0   TABLE ACCESS BY INDEX ROWID TEST (cr=59884 pr=3 pw=0 time=1012723 us)
          0    BITMAP CONVERSION TO ROWIDS (cr=59884 pr=3 pw=0 time=915796 us)
          0     BITMAP OR  (cr=59884 pr=3 pw=0 time=820728 us)
          0      BITMAP CONVERSION FROM ROWIDS (cr=20039 pr=1 pw=0 time=258455 us)
          0       INDEX RANGE SCAN TEST_IDX1 (cr=20039 pr=1 pw=0 time=157107 us)(object id 52988)
          0      BITMAP CONVERSION FROM ROWIDS (cr=19902 pr=1 pw=0 time=198466 us)
          0       INDEX RANGE SCAN TEST_IDX2 (cr=19902 pr=1 pw=0 time=109999 us)(object id 52989)
          0      BITMAP CONVERSION FROM ROWIDS (cr=19943 pr=1 pw=0 time=198730 us)
          0       INDEX RANGE SCAN TEST_IDX3 (cr=19943 pr=1 pw=0 time=107200 us)(object id 52990)As you can see the number of LIO calls fallen dramatically. Also CPU time is significantly less.
    The second code completed in few seconds compared to the previous one which needed about 100 seconds to complete.
    Please be aware that this is just an example of tuning the code that you provided.
    This solution might not be suitable for your actual code, since we don't have any information about it. That's why it is important to give us as much information as you could, so you can get the most appropriate answer.
    If the test code is similar to the actual one, you should focus on reducing LIOs calls.
    In order to achieve it, you may want to use hints to force an index to be used.
    Cheers,
    Mihajlo

  • High CPU Usage with Flash Player 11

    I am not sure what the problem is but ever since I had those issues I went back to flash archive and installed a previous version that did not come with the flash plug in and I never had any problem with it since I am currently using the Adobe flash version 10 plug in with an adobe flash player active X. and I find out it was the new flash plug in that is the issue it suck all your ram. If you get some people who is having the same issues where flash player is duplicating and eating all their ram then ask them to try the version 10 plug in with the flash 11 active x it will work fine. I tried to run the version 10 flash as a complete set but some dynamic site that plays videos require a later version of flash active x to work and will be asking for an update however by keeping the flash 10 plug in there won't be any other issues. Adobe need to find out what is wrong with the new flash plug in and run a comparison with the flash 10 plug in. I hope this will help some user to get over the issues that made my online experience a nightmare for a while too.

    The best way to get a resolution is to address your individual issue.  Your complaint is that RAM usage is high, which is unrelated to the thread from the guy on Mac that was seeing High CPU usage on high definition video.
    In order to fix the issue that you're describing, we need to be able to reproduce it.  Please provide the information below, and the results of the basic troubleshooting steps as you work through them.  This will help us narrow down the root-cause, and allow us to find comparable hardware in our compatibility lab to reproduce the issue with.
    Basic Troubleshooting Info
    To help troubleshoot we'll need the following system information:
    - Operating system
    - Browser
    - Flash Player version - http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html
    - Antivirus/Anti-Malware software and versions
    The first step is to work through the video troubleshooting guide for your operating system, here:
    - Windows - http://helpx.adobe.com/flash-player/kb/video-playback-issues.html
    - Mac - http://helpx.adobe.com/flash-player/kb/video-playback-issues.htm
    When reporting issues with video or audio, it's also helpful to get your system hardware and driver details.  Instructions for finding this information can be found here:
    - Windows - http://helpx.adobe.com/flash-player/kb/video-playback-issues.html#main_For_Windows_users
    - Mac - http://helpx.adobe.com/flash-player/kb/video-playback-issues.html#main_For_Mac_OS_users
    Finally, sometimes video and audio problems are caused at a lower level and not directly related to Flash Player.  I recommend trying both of the links below to see how they perform.  If the problem exists with both, then Flash Player is most likely not the culprit as the HTML5 video link does not use Flash Player when playing.  You can verify this by right clicking the HTML5 video and looking for the words "About HTML5" at the bottom of the menu.
    - HTML5 video - http://www.youtube.com/watch?v=cTl3U6aSd2w&html5=True
    - Non-HTML5 video - http://www.youtube.com/watch?v=cTl3U6aSd2we
    Thanks!

  • Unusually high cpu usage with iMovie 6.0.3

    I'm having trouble with very high cpu-usage. Just the open imovie app is taking up about 50%, during playback it sometimes peaks over 100%! The project file is pretty big (about 30 gig), but that is mainly because of the amount of footage imported into it. The movie itself is about 25 minutes in length. There is some audio editing going on: some soundeffects, musicfiles (no drm-protection), audio commentary that i recorded within imovie. I know that imovie has trouble when there is a lot of audio/audio editing involved and this project is probably a little more complex than other stuff i did in imovie, but i never had such problems. i can hardly use playback anymore. I recently updated Quicktime to 7.6.4 and Perian to version 1.2.1. Any ideas what's going on or how to work around the problems? Since the movie is about 80% finished i don't really want to start all over again. Thanks in advance for your input!

    Hi Klaus1
    I have several plug-ins by cfx and the slick volumes 4, 6 8 and 10. I can post a list of all of them if you like. Up to now they never made any trouble, but you'll never know...
    The edit in the timeline is about 25 minutes long. But the project file contains captured dv-footage of about 2 hours, so that alone adds up to something like 26 GB. Then there are a few rendered effect-clips done with some of the plug-ins like stabilizing or color correction which also add to the 30 GB, as well as some audio-files (some music, my voice-over commentary). I emptied the trash several times while working on the movie. At this moment there are only a few MB of erased audio in it.
    It all sounds a bit like this is an insanely huge and complex project, but as i said, i have done projects like this in imovie without the massive cpu-usage. I'd like to continue to use imovie, but if this problem keeps coming up with future projects, i might as well take the step and switch to Final Cut Express.
    For now I will try your idea of exporting the movie as it is now and open it in a new project file.
    Thanks for your help and input so far!

Maybe you are looking for

  • Taking Java a little lower

    This post is not a help request. It's just a sort of poll or curiousity question. Would you agree to let java (by means of new api and jvm support of them, obviously) have lower level features? Java VM works on every system, through native code, or b

  • Error-valuation data does not exist.

    hello all during conversion of planned order to production order system giving error-valuation data for material XXXX does not exisst. what may be the reason? regards

  • Keyboard sticks/jumps

    Recently I t realized that my keyboard has started to stick and jump around a page as I type. It will randomly jump up to a different section of the text and start writing there, or just highlight a portion of text, which then causes me to erase it a

  • CAPEX Settlement

    Hi, This problem pertains to Asset accountign and internal order accounting. A Capex is made. A settlement rule is defined in the capex wherein the CAPEX is to be settled against the asset under category - AIP- P&M. While trying to settle the CAPEX a

  • Passing values to plsql dynamically

    Hai all, 10.2.0.5 on Sun Solaris 10 We have a table with around 719 single column values . I need to pass this values to a procedure one by one and execute it. {code} select numid from namet1; scott tiger the above values from the table need to be pa