Questions tagged [cpu]

The central processing unit or "processor" inside a computer which executes the instructions in a computer program.

The central processing unit (CPU) is the portion of a computer system that carries out the instructions of a computer program, and is the primary element carrying out the computer's functions. The central processing unit carries out each instruction of the program in sequence, to perform the basic arithmetical, logical, and input/output operations of the system. This term has been in use in the computer industry at least since the early 1960s. The form, design and implementation of CPUs have changed dramatically since the earliest examples, but their fundamental operation remains much the same.

Source: Wikipedia

4662 questions
2
votes
1 answer

vmstat - cpu not fully busy but there are waiting processes. What does it mean?

I am running some load against a db2 instance. The load is being generated through a java program that runs sql statements. This load generator program is running on another machine. I am running multiple JVMs of the load generator, each of which…
Parag Deuskar
  • 87
  • 1
  • 9
2
votes
2 answers

Space efficient data bus implementations

I'm writing a microcontroller in VHDL and have essentially got a core for my actual microcontroller section down. I'm now getting to the point however of starting to include memory mapped peripherals. I'm using a very simple bus consisting of a…
Pyrohaz
  • 232
  • 2
  • 11
2
votes
4 answers

Visual VM showing strange behavior

I am using VisualVM to monitor my JBoss instance. I have attached a screenshot of it aswell. The problem is after I restart the JBoss instance, the CPU on the OS starts to go high. Load can go as high as 40 and JAVA process in top command shows…
Jason Stanley
  • 169
  • 1
  • 10
2
votes
2 answers

Why doesn't the instruction reorder issue occur on a single CPU core?

From this post: Two threads being timesliced on a single CPU core won't run into a reordering problem. A single core always knows about its own reordering and will properly resolve all its own memory accesses. Multiple cores however operate…
Nan Xiao
  • 16,671
  • 18
  • 103
  • 164
2
votes
0 answers

Increase Azure Database DTU in range of hours

i have a system who uses database of Azure and in the morning(6h~12h) the access is too high, DTU arrive to 100%, but the rest of the day DTU stabilizes in 20%. I want to known if have a way that i can schedule to increase DTU only in the morning,…
Jonathan Molina
  • 703
  • 6
  • 13
2
votes
1 answer

Application speed in different computers

I create few methods using in one application, and when I test performance on this methods with visual studio profiler I see the CPU used around 18% and is finish work around 0.04 second. My question is if in another not so faster computer is used…
Evgeni Velikov
  • 362
  • 3
  • 10
  • 28
2
votes
1 answer

How does cacheline to register data transfer work?

Suppose I have an int array of 10 elements. With a 64 byte cacheline, it can hold 16 array elements from arr[0] to arr[15]. I would like to know what happens when you fetch, for example, arr[5] from the L1 cache into a register. How does this…
Remus
  • 33
  • 3
2
votes
0 answers

With VirtualBox, how does my system's CPU map to the virtual machine?

On my Mac, I have 8 cores working when I run htop. I can modifyvm to have 8 cores in my virtual machine as well, but is it a one to one mapping? Thus, if I set 4 virtual cores, do I have the power of 4 physical cores or do I have the power of 8…
Xiphias
  • 4,468
  • 4
  • 28
  • 51
2
votes
1 answer

Different results of CPU and GPU with Theano

I have the following piece of code: import theano import theano.tensor as T import numpy as np x = theano.shared(np.asarray([1, 2, 3], dtype=theano.config.floatX), borrow=True) y = T.cast(x, 'int32') print 'type of y: ', type(y) print 'type of…
Huo
  • 798
  • 3
  • 12
  • 22
2
votes
1 answer

How to tell JRE to use more than one CPU node

I have a .jar file that I want to run on a supercomputer. There are some 40 CPU nodes available but Java uses only one of them when running my program. Is there any way to tell Java to use all the available nodes to run a given program (preferably…
Reza
  • 388
  • 2
  • 14
2
votes
0 answers

android merge video and audio on cpu, not gpu

I merge video with audio using mp4parser library, but when I have files longer then 5-6 mins some devices can't perform this task (actually app stops but not crashes when try to save resulted file on disk). It means UI is frozen, user can't do…
2
votes
2 answers

a short statement that consumes lots of CPU cycles

I'm seeking a(very) short statement(in any language) that can make the CPU busy for like a second or a half. The statement should consume CPU cycles, not IO stuff.
khelll
  • 23,590
  • 15
  • 91
  • 109
2
votes
1 answer

Processing speed of a core with hyperthreading

If a processor has a specified base frequency and number of threads it supports, what is the frequency that each thread really gets to utilize? For instance, the Intel® Core™ i7-4500U Processor has 2 cores and 4 threads with a base frequency of 1.80…
asdfvar
  • 35
  • 4
2
votes
1 answer

Why does task X, appear two times for unit 0 at clock cycles 4 and 5?

In the image below, why does task X, appear two times for unit 0 at clock cycles 4 and 5? have to make a program for the arrangement of the pipeline, but I need to know why the above happens to complete it. Is it just because the author wants it to…
user287745
  • 3,071
  • 10
  • 56
  • 99
2
votes
1 answer

Threads per JVM or per CPU cores

How does creating threads based on the number CPU cores per JVM differ with thread running on multiple JVMs creating the number of threads on the number of CPU cores, with the condition that all the JVMs runs on one physical system sharing the same…
vvra
  • 2,832
  • 5
  • 38
  • 82
1 2 3
99
100