Database uses only one cpu core  from 16 available

Hi,
we have an server with 16 CPU cores, and we discovered from em that it uses only 1 core with 100% and the others are idle.
the initialization parameters for CPU are:
cpu_count 16
parallel_threads_per_cpu 2
resource_manager_cpu_allocation 16.
What can we do to use all 16 cores.
Regards
Nicoale Ancuta

Nicolae Ancuta wrote:
Very interesting poit of view, but since I have for some period of time 1 core on 100% and other cores are idle or 0%,
I don't think that we can say that linux and oracle database 11g is using the best from that server, can you?Well, I did not offer a point of view. I offered fact - a reason why on x86 architecture it is faster to keep threads on the same CPU (if sufficient CPU capacity) then run such threads across CPUs.
As for what you are seeing - we cannot see it. So the only data we have is what you offered. And that does not suffice in making any kind of call as to why you are seeing, or even describing the symptoms correctly.
Why don't you try another example? 3 client server applications. Each client post a request (huge update 100% CPU, small update 0% CPU, huge select 100% CPU). What the server does, it switches between those 2 huge requests an uses only one core on 100% abd the others 15 are sleeping. Why don't use each request on different core and reduce the time?Define "+huge request+". Database operations are typically I/O intensive - not CPU intensive. There are also a number of processes. So if PMON for example is showing high CPU, then that means something different as when DBWR is showing high CPU, versus a dispatcher process showing high CPU.
So you need to provide a lot more detail for us to speculate as to what the problem could be, never mind offering a solution.

Similar Messages

  • Only one CPU core high sys usage when create database instance via dbca

    when using dbca to create database instance
    JUST ONLY ONE CPU core high sys usage
    how to troubleshoot it
    see this:
    top - 09:28:19 up 55 days, 20:38, 10 users,  load average: 1.00, 1.08, 1.31
    Tasks: 1231 total,   2 running, 1228 sleeping,   0 stopped,   1 zombie
    Cpu(s):  0.0%us,  1.3%sy,  0.0%ni, 98.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:  57588328k total, 55028620k used,  2559708k free,   196852k buffers
    Swap: 16386292k total,    23156k used, 16363136k free, 23011232k cached
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                        
    11343 oracle    25   0 1771m  30m  23m R 99.7  0.1   5:36.39 oracle                                                                                         
    3692 oracle    16   0 13948 2348  816 S  1.6  0.0  17:00.94 top                                                                                            
    11432 root      15   0 13540 2024  820 R  1.3  0.0   0:00.21 top                                                                                            
    11034 oracle    16   0  737m 171m  33m S  0.3  0.3   0:52.39 java                                                                                           
    11435 oracle    15   0 66056 1596 1180 S  0.3  0.0   0:00.01 bash                                                                                           
        1 root      15   0   784  172  160 S  0.0  0.0  38:56.76 init                                                                                           
        2 root      RT  -5     0    0    0 S  0.0  0.0   0:00.58 migration/0                                                                                    
        3 root      34  19     0    0    0 S  0.0  0.0   0:00.75 ksoftirqd/0                                                                                    
        4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0                                                                                     
        5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.81 migration/1                                                                                    
        6 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/1                                                                                    
        7 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/1                                                                                     
        8 root      RT  -5     0    0    0 S  0.0  0.0   0:02.53 migration/2    mpstat info
    [root@localhost ~]# mpstat -P ALL 2
    Linux 2.6.18-164.el5 (localhost.localdomain)    09/12/12
    09:29:09     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:11     all    0.01    0.00    1.27    0.01    0.00    0.01    0.00   98.69   1658.29
    09:29:11       0    0.50    0.00    0.00    0.00    0.00    0.50    0.00   98.99   1657.29
    09:29:11      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:11      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      77    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      78    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      79    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:13     all    0.01    0.00    1.26    0.01    0.00    0.02    0.00   98.70   1761.19
    09:29:13       0    0.50    0.00    0.50    1.00    0.00    1.99    0.00   96.02   1761.19
    09:29:13      71    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      72    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:13      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      77    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      78    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      79    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00          you can see there is only one CPU CORE (core 74 but is random , other core have same status but just one CPU core)
    [root@localhost ~]# vmstat -S m 2
    procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
    r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
    3  0     23   1861    203  24267    0    0     8    12    0    0  0  0 99  0  0
    4  0     23   1845    203  24262    0    0   602 16460 3682 8121  2  2 96  1  0
    3  0     23   1842    203  24276    0    0   692  7520 3297 6610  2  2 97  0  0
    3  0     23   1830    203  24277    0    0   786  3040 3302 7118  2  2 97  0  0
    4  0     23   1829    203  24277    0    0   126  3144 3247 7343  2  1 97  0  0
    3  0     23   1827    203  24279    0    0    76  2944 3292 7502  2  2 96  0  0
    3  0     23   1823    203  24281    0    0     0  3248 3164 7656  2  1 97  0  0
    2  0     23   1827    203  24279    0    0     0  3646 3080 7480  2  1 97  0  0
    2  0     23   1828    203  24279    0    0     0   476 2942 5648  1  1 98  0  0
    3  0     23   1824    203  24281    0    0     2  7476 3377 8111  2  2 97  0  0iostat infor
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               1.28    0.00    1.29    0.00    0.00   97.43
    Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
    hda               0.00         0.00         0.00          0          0
    sda               5.47         0.00        83.58          0        168
    sda1              0.00         0.00         0.00          0          0
    sda2              5.47         0.00        83.58          0        168
    sda3              0.00         0.00         0.00          0          0
    sda4              0.00         0.00         0.00          0          0
    sda5              0.00         0.00         0.00          0          0
    sdb               8.96         0.00       123.38          0        248
    sdb1              8.96         0.00       123.38          0        248
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               1.27    0.00    1.27    0.00    0.00   97.46
    Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
    hda               0.00         0.00         0.00          0          0
    sda               0.00         0.00         0.00          0          0
    sda1              0.00         0.00         0.00          0          0
    sda2              0.00         0.00         0.00          0          0
    sda3              0.00         0.00         0.00          0          0
    sda4              0.00         0.00         0.00          0          0
    sda5              0.00         0.00         0.00          0          0
    sdb              17.50         0.00       236.00          0        472
    sdb1             17.50         0.00       236.00          0        472
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               1.29    0.00    1.30    0.01    0.00   97.41
    Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
    hda               0.00         0.00         0.00          0          0
    sda               0.50         0.00        16.00          0         32
    sda1              0.00         0.00         0.00          0          0
    sda2              0.50         0.00        16.00          0         32
    sda3              0.00         0.00         0.00          0          0
    sda4              0.00         0.00         0.00          0          0
    sda5              0.00         0.00         0.00          0          0
    sdb               7.50         0.00       144.00          0        288
    sdb1              7.50         0.00       144.00          0        288more detail:
    database version 11.2.0.2.0
    system version
    [root@localhost ~]# cat /etc/issue
    Red Hat Enterprise Linux Server release 5.4 (Tikanga)
    Kernel \r on an \m
    [root@localhost ~]# lsb_release
    LSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
    [root@localhost ~]# uname -a
    Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linuxhardware info
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 47
    model name      :        Intel(R) Xeon(R) CPU E7- 4860  @ 2.27GHz
    stepping        : 2
    cpu MHz         : 2261.057
    cache size      : 24576 KB
    physical id     : 3
    siblings        : 20
    core id         : 18
    cpu cores       : 10
    apicid          : 229
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 11
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx pdpe1gb rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx smx est tm2 cx16 xtpr popcnt lahf_lm
    bogomips        : 4522.11
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 44 bits physical, 48 bits virtual
    [root@localhost ~]# free -m
                 total       used       free     shared    buffers     cached
    Mem:         56238      55892        346          0        196      23645
    -/+ buffers/cache:      32050      24188
    Swap:        16002         22      15979
    [root@localhost ~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda2              19G  4.9G   14G  27% /
    /dev/sda5             230G   27G  192G  12% /home
    /dev/sda1              99M   12M   83M  13% /boot
    /dev/sdb1             2.9T  2.3T  464G  84% /arrayEdited by: JOhnLiu on Sep 11, 2012 7:31 PM

    JOhnLiu wrote:
    thanks for reply sb92075
    [root@localhost ~]# mpstat -P ALL 2
    Linux 2.6.18-164.el5 (localhost.localdomain)    09/12/12
    09:29:09     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:11     all    0.01    0.00    1.27    0.01    0.00    0.01    0.00   98.69   1658.29
    09:29:11       0    0.50    0.00    0.00    0.00    0.00    0.50    0.00   98.99   1657.29
    09:29:11      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:11      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00I think you don't understand what i mean .
    there just have ONLY ONE CORE %sys 100
    the top command show average of all cpu core sys% usage
    when the one core sys% is 100%
    the system are very slow .
    e.g: when I create a database instance used for a long time . over 2 hours
    but generally it will be done at most 1 hours or shorteris any type of OS virtualization involved in this environment?

  • Parallelism in oracle using only one dual-core processor

    Hi, is usefull or could i use parallel execution in oracle using only one dual core processor?
    Can someone explain me why?

    Hi
    To take advantage of parallel processing you need enough resources (mainly CPU and I/O). If you run serially and the bottleneck is the CPU, then parallel processing might help. On the contrary, if the bottleneck is located in the I/O sub-system, throwing more CPU to it would not make things better. So, it's a question of balance between the CPU and I/O resources you have.
    HTH
    Chris

  • Logic 8 using only one CPU while bouncing

    Whenever I bounce a project, Logic 8 uses only one CPU. It also spikes this CPU completely, with the CPU meter going into the red area, which is why I am rather keen on persuading Logic to distribute the load.
    Any ideas?
    (I've given the support document with tips on how to balance multi-core performance a good read, but it doesn't seem to say anything on this particular subject, and following the advice in the document does nothing to change my CPU load.)

    Bouncing is a single core process. Just like rendering is in Final Cut Pro. This won't change until Leopard and Apple's ProApps get better at handling multiple cores.
    It's redlining because the processor core is working as fast as it can. Computer processors don't just randomly run slower, they use their resources for the tasks at hand. If it only used 50% of a core, the bounce would take twice as long to process.

  • Color using only one CPU?

    When rendering with Color it seams that it using only one CPU, according to "top".
    Is it possible to make use of all CPUs?

    Color's work is done on the GPU not the CPU, so unfortunately, the answer to your question is, no.

  • HT5824 Can I use only one (selected) folder from my documents in iCloud?

    Can I use only one (selected) folder from my documents in iCloud for MAC and PC?

    If the folders were created in the Photos app on the iPad, they don't really contain copies of the photos. They contain pointers to those photos that allow them to appear in the albums that you create. Consequently, they cannot be imported to the computer. Those albums are for local organization on the iPad only And cannot be imported.
    You should be able to select the indicidual phots that you want to import, as far as I know. I can do it on a Mac using iPhoto or Image Capture, so I assume that Windows will allow you to pick and choose which photos you want to import.
    Import photos and videos from your iPhone, iPad, or iPod touch to your Mac or Windows PC - Apple Support

  • Dual Core G5 using only one CPU

    Anyone has an idea about what happened to me last week? Here is what happened:
    I let my dual 2.3 GHz Power Mac G5 run over night to run a certain task. When I came back the following morning, the fans were running like crazy and the computer was frozen. I had to reset it. After that it started up, but from then on only used one CPU. In System Profiler as well as in Activity Monitor, only one CPU is shown. After some more days, it would not turn on anymore, not even with one CPU.
    What to do now? Thanks for helping me out...

    It is insurance. It keeps a system running so you can do a safe shutdown. It protects the boot drive from directory corruption. Protects wired ethernet port from getting fried (someone last week's sad tale).
    "Nice idea." Well, yes. Can you drive a car without insurance? I'll take UPS and help protect my systems.
    If you want to leave a system running unattended and not come back to a dead or dying system... I have read enough tales of woe that "but it was working yesterday" and "we've had some storms but lights stayed on" that I don't take chances. And I often give advice that isn't 1:1 correlation. Like "backup daily" and "run disk repairs before there is a problem."
    maybe it over-heated, too.

  • Only one CPU core recognized [solved]

    For some reason the kernel only recognizes one CPU core out of two. I'm not completely sure at which kernel upgrade it disappeared but it is gone in 2.6.36 and 2.6.37. I know it was still there in september 2010 and earlier. I'm using a x86-64 kernel.
    cat /proc/cpuinfo:
    processor    : 0
    vendor_id    : AuthenticAMD
    cpu family    : 16
    model        : 6
    model name    : AMD Athlon(tm) II X2 245 Processor
    stepping    : 2
    cpu MHz        : 2913.253
    cache size    : 1024 KB
    fpu        : yes
    fpu_exception    : yes
    cpuid level    : 5
    wp        : yes
    flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc up rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt npt lbrv svm_lock nrip_save
    bogomips    : 5828.27
    TLB size    : 1024 4K pages
    clflush size    : 64
    cache_alignment    : 64
    address sizes    : 48 bits physical, 48 bits virtual
    power management: ts ttp tm stc 100mhzsteps hwpstate
    Motherboard is: Gigabyte MA770T-UD3P. I use the latest bios.
    I have tried adding the kernel options "acpi=off noacpi apic=off noapic" as to the suggestion of a ubuntu bug report in launchpad but it didn't help. I also disabled ACPI in the bios but I'm still limited to one cpu core.
    Any ideas?
    [SOLVED]
    I just doublechecked the BIOS settings and it had the CPU Core Control set to manual and one core was disabled. I set it to auto again and now both cores are recognized correctly. I don't recall ever touching this setting but at least it works now. Maybe a bios update actually changed the setting or (more probable) a friend of mine.
    Last edited by Baraclese (2011-01-17 19:01:02)

    JOhnLiu wrote:
    thanks for reply sb92075
    [root@localhost ~]# mpstat -P ALL 2
    Linux 2.6.18-164.el5 (localhost.localdomain)    09/12/12
    09:29:09     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:11     all    0.01    0.00    1.27    0.01    0.00    0.01    0.00   98.69   1658.29
    09:29:11       0    0.50    0.00    0.00    0.00    0.00    0.50    0.00   98.99   1657.29
    09:29:11      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:11      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00I think you don't understand what i mean .
    there just have ONLY ONE CORE %sys 100
    the top command show average of all cpu core sys% usage
    when the one core sys% is 100%
    the system are very slow .
    e.g: when I create a database instance used for a long time . over 2 hours
    but generally it will be done at most 1 hours or shorteris any type of OS virtualization involved in this environment?

  • MAXDB on LINUX use only one CPU

    Hi all,
    I have a question regarding the usage of parameter MAXCPU. I have set it the value 3. But I do see only one cpu used and almost at 100% with the command "top".
    My release is MAXDB 7.7 and the kernel for Linux is SMP.
    Someone can tell me what influence this behaviour?
    thank you all

    Hi,
    The database kernel runs as one process divided into threads. Did you start top -H to check the Cpu-Usage?
    Threads can be active in parallel on several processors within the operating system. Threads perform various tasks.
    MaxCPU has influence on the number of Threads which are created during restart.
    In your case after restart you have 3 Threads ( UKT ) -> you can check this with x_cons show all
    How many threads are active in parallel depends on the distribution of the User Tasks on the Threads and the applications which are connected to the User Tasks.
    x-cons <DBNAME> show active shows the status of the different Tasks in an UKT. Notrice that an UKT can contain several Tasks but at one time only one Task in The UKT can have the CPU.
    MaxDb manages this via internal dispatching.
    You will find more information about the process structure in the Expert Sessions recording and slides of session: Session 18: SAP MaxDB Architecture
    You can download the session here ->   SAP MaxDB: The SAP Database - Training
    Regards, Christiane

  • How is oracle 10g configured to use only one cpu

    Today a customer informed me that their instance of 10g was configured to run on only one of four cpu's in a Solaris server.
    How did they do this ?
    George

    On Solaris 10 this could be done in a number of ways.
    One way is to create a processor set with only one CPU in it, and bind the Oracle processes to it. They cannot run on any other CPU any more. As long as you bind the listener to it, any network based connections will come from the listener and so be in the same processor set.
    A more sophisticated way is to create a Zone with a 1 CPU resource in it. A Zone is a software container within Solaris 10, and it can be associated a processor set. The difference to the previous way is that no explicit binding of processes is necessary. A Zone looks like a Solaris system in its own right. And everything in that Zone can only run on the CPUs in the processor set bound to the Zone. So Oracle could be started up in the Zone in the normal way, and be restricted to only one physical CPU, always.
    There is also the possibility of using Solaris Resource Manager, for a softer control of CPU. But this does not restrict processes to a single physical processor. It is a fair share scheduler that allows different processes to receive their configured slice of CPU time, on average. So processes can still run on different CPUs in the system, but the averaging means that no single workload can maximise the system and restrict access for other workloads.
    And the latest Sun systems are capable of running a virtualisation layer when the system boots (sometimes called a HyperVisor), and this partitions the hardware up into virtual systems, before Solaris then loads and runs on top of these. So you can configure a 4 CPU system to look like 4 * 1 CPU systems through virtualisation, and each runs its own instance of Solaris. And then one of these you run Oracle.
    John

  • Is it possible to log an array to a database using only one statement?

    I'm using Teststand 2.0.1. Now I can use "database options.." to log single number or string to Oracle database with no problem. But I have the difficulty to log an array to my database by using only one statement. Does Teststand has the ability to loop the stepresult usingthe array size as an index to log the array to the database? Or some other way to log array?

    Jingtao -
    You have a two options to log array data:
    1) Use the Str expression function to convert the array of number property to a string with elements delimited by some character like a comma or space. You could then the single value to a variable string field. To retrieve the data you will have to parse the string to repackage the data.
    2) Log the data directly to a binary field. TestStand takes the safearray version of the array and writes it byte for byte out to the field. To retrieve the data, you will have to pull it back into a safearray to repackage it in binary form.
    Did you have a different way that you would have liked TestStand to use to store the data? What type of data field and what format of data?
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • Only one CPU core is working during video export from Premiere Media Encoder

    Windows Resource Monitor showed cores 'parked' at first. I was able to turn that feature off using regedit. They no longer say they are parked'. but still only one core is at 100% while the other seven cores are at close to zero %. Windows 7 Ultimate SP1 64-bit. i7-2600k processor 3.4 GHz running at 3.8 GHz XMP setting. ASUS P8Z77-V motherboard 32 GB RAM.
    I had this problem in the past and fixed when I turned off core parking. But, I recently clean installed Windows and problem has returned. I contacted Microsoft and they assured me that the problems lies with Premiere or AME.
    it just took over an hour to export a video that should have taken 10 minutes

    This has been driving me CRAZY... so going over the message boards from 2 to 5 am this morning I found the best explanation I have seen.   The problem is that Adobe Creative Cloud is NOT "Processor Group Aware".  Windows parses any more than 36 cores into "Processor Groups" and while the Pro version of Windows 7 & 8 can handle 256 threads they have to spread them across multiple processor groups.
    Simple Version:  AREA | How many cores does 3ds Max support?
    Microsoft's Explanation:  Processor Groups (Windows)
    Clearly, this is an Adobe Problem... If any engineers are reading this PLEASE review the below and incorporate it into your next build of Creative Cloud!!!
    https://msdn.microsoft.com/en-us/library/windows/hardware/dn653313%28v=vs.85%29.aspx
    Again, I bought a VERY expensive machine based on your white paper that recommended Dual Xeon Workstations.  Please, Please Give us the product you PROMISED!!!
    Michael

  • [Solved] Dualcore Macbook using only one cpu

    Hello,
    I have a dual core macbook running Arch, default installation with default kernel (64bit). I just noticed that I only have one cpu running, even when I do some cpu-intensive work. Here is the output of /proc/cpuinfo:
    └─■ cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
    stepping : 11
    cpu MHz : 800.000
    cache size : 4096 KB
    physical id : 0
    siblings : 2
    core id : 0
    cpu cores : 2
    apicid : 0
    initial apicid : 0
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts tpr_shadow vnmi flexpriority
    bogomips : 4391.55
    clflush size : 64
    cache_alignment : 64
    address sizes : 36 bits physical, 48 bits virtual
    power management:
    processor : 1
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
    stepping : 11
    cpu MHz : 800.000
    cache size : 4096 KB
    physical id : 0
    siblings : 2
    core id : 1
    cpu cores : 2
    apicid : 1
    initial apicid : 1
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts tpr_shadow vnmi flexpriority
    bogomips : 4390.91
    clflush size : 64
    cache_alignment : 64
    address sizes : 36 bits physical, 48 bits virtual
    power management:
    which shows two cpus registered to the system, but when I do top, I get the following output:
    top - 00:29:07 up 7:33, 0 users, load average: 0.05, 0.05, 0.05
    Tasks: 93 total, 2 running, 91 sleeping, 0 stopped, 0 zombie
    Cpu(s): 9.0%us, 4.1%sy, 0.2%ni, 86.1%id, 0.7%wa, 0.0%hi, 0.0%si, 0.0%st
    Mem: 4020236k total, 1386244k used, 2633992k free, 53056k buffers
    Swap: 0k total, 0k used, 0k free, 826672k cached
    Which tells me I only have one cpu. Am I doing something wrong? I have cpufreq-utils and laptop-mode running, but I don't think it should affect this. The following is the output of cpufreq-info
    └─■ cpufreq-info
    cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
    Report errors and bugs to [email protected], please.
    analyzing CPU 0:
    driver: acpi-cpufreq
    CPUs which run at the same hardware frequency: 0 1
    CPUs which need to have their frequency coordinated by software: 0
    maximum transition latency: 10.0 us.
    hardware limits: 800 MHz - 2.20 GHz
    available frequency steps: 2.20 GHz, 2.00 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 800 MHz
    available cpufreq governors: ondemand, performance
    current policy: frequency should be within 800 MHz and 2.20 GHz.
    The governor "ondemand" may decide which speed to use
    within this range.
    current CPU frequency is 800 MHz.
    analyzing CPU 1:
    driver: acpi-cpufreq
    CPUs which run at the same hardware frequency: 0 1
    CPUs which need to have their frequency coordinated by software: 1
    maximum transition latency: 10.0 us.
    hardware limits: 800 MHz - 2.20 GHz
    available frequency steps: 2.20 GHz, 2.00 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 800 MHz
    available cpufreq governors: ondemand, performance
    current policy: frequency should be within 800 MHz and 2.20 GHz.
    The governor "ondemand" may decide which speed to use
    within this range.
    current CPU frequency is 800 MHz.
    and it also shows the two cpus, and cpu1 frequency gets higher when I do cpu intensive work, as it should, but cpu0 always stays at 800MHz. Can anybody help me please? Thanks!
    Last edited by kcirick (2011-01-24 15:41:21)

    Thanks foutrelis. I installed htop and monitored my cpu usage. It seems to be in working order. When I mentioned "cpu intensive work", it turned out that I was talking about something that was using average 50% on both cores, and assumed that meant one was at 100% and the other was 0% (I have conky tell me the average cpu usage).
    Marking this as solved. Thanks again!

  • Weblogic is using only one of the available cpus!

    Hi all, I have this problem: weblogic application server 9 mp2 on a linux server with 4 cpus is using only one cpu. The jvm seems to be pinned on one cpu.
    Is there something to set or a particular jvm parameter? I'm using the jrockit jvm.
    Thanks
    Marco Strullato

    Firefox is 32 bit if you want to use all 8 cores you can use a 64 bit variant of firefox such as
    * Waterfox - http://www.waterfoxproject.org/
    * Nightly 64bit - http://forums.mozillazine.org/viewtopic.php?t=2239223&f=23 (Linux Only)
    '''NOTE:''' Both of these versions of firefox are unstable and may combust.

  • Multisim 11 only uses one CPU core during simulation

    Hi,
    Just recently I've been using MultiSim again, v11 if that matters, and simulating goes slow, to my opinion that is.
    Now there are two things that I've noticed:
    - Multisim only uses one of two CPU cores during simulation, not both;
    - I've enabled CPU throttle (AMD's Cool'n'Quiet) but corespeed remains very low even though Multisim needs CPU power while simulating.
    The simulating of a NE555-based LED-flash circuit requires about 28 seconds to get to 100ms in the simulation. Now if I can get the CPU to throttle up, by for example having Prime95 stress one of the two cores, then the simulation only requires 12 seconds to get to 100ms.
    So here are my two questions:
    1. Is Multisim 11 capable of using more than one CPU core while simulating? If yes, how can I get it to use more than one?
    2. Probably not the right forum to ask, but is there a way to force Windows 7 Ultimate x64 to throttle up the CPU when Multisim starts simulating? Since Multisim does not seem to stress the only core it uses enough to throttle it up. Using Prime95 on one core does trigger a throttle up.
    With regards,
    Bart Grefte
    Relevant specs:
    Windows 7 Ultimate x64
    Multisim v11
    AMD A4-3400
    16GB RAM

    Completely forgot this topic....
    Is there a good reason why there is no multicore support? Multisim can certainly use it for simulating.
    As for the CPU throttling, I found a batch that can increase/decrease the "minimum processor state"-setting and it works immediately, no reboot required.
    @echo off
    powercfg.exe -getactivescheme > "%userprofile%\appdata\~apo.tmp"
    set /p v_currentscheme= <"%userprofile%\appdata\~apo.tmp"
    set v_currentscheme=%v_currentscheme:~24,36%
    del "%userprofile%\appdata\~apo.tmp"
    powercfg -setacvalueindex %v_currentscheme% 54533251-82be-4824-96c1-47b60b740d00 893dee8e-2bef-41e0-89c6-b55d0929964c %1
    powercfg -setdcvalueindex %v_currentscheme% 54533251-82be-4824-96c1-47b60b740d00 893dee8e-2bef-41e0-89c6-b55d0929964c %1
    powercfg -s %v_currentscheme%
    exit
    Usage is simple:
    Start -> run -> c:\pathtobatch.bat 100
    for "minimum processor state"-setting at 100%
    Start -> run -> c:\pathtobatch.bat 5
    for "minimum processor state"-setting at 5%
    Please note that "set v_currentscheme=%v_currentscheme:~24,36%" is not the same for every language. The original batch had "set v_currentscheme=%v_currentscheme:~19,36%" (most likely for the English version of Windows 7), but since my Windows install is in Dutch, I had to change it in order for it to work.
    Running the batch with @echo off removed will show why.

Maybe you are looking for

  • Error while installing Oracle 10 g

    Hi , I've got following error while installing Oracle 10g. Exception java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key Name occurred.. java.util.MissingResourceException: Can't find resource for

  • My iPad cannot connect to my internet.  the internet is working but not with my ipad.

    my iPad cannot connect to my internet.  the internet is working but not with my ipad.

  • Blank text boxes on RIM website????

    I noticed this anomoly earlier today while trying to download an app from appworld to my PC, and just ran into the same glitch again on the RIM OS support download page... When you type your text into the text boxes, NO TEXT SHOWS IN THE BOX!!! You c

  • Control of Change of Vendor in Batch Master

    Hi Experts, We have a scenario wherein we want that when a batch is recieved from EG Vendor, the batch master should get populated with Vendor number (available in standard SAP) and when we do an IG recipet i.e when we transfer the batch from one com

  • Urgent: Customize BP for Products Java iView

    Hi, We have implemented Business Package for Products 50.3.1 in EP 6.0. I want to ewmove some buttons like create document and change materials in the Java iView provided in the Business Package. I have no idea how this customization could be done? I