CPU speed determines how fast your process can perform tasks. CPU speeds matter less than they did in the past, thanks to the advent of multi-core processors.
Questions tagged [cpu-speed]
203 questions
6
votes
1 answer
Alternate of getSystemLoadAverage() for Windows?
I am working on with some code to monitor Cpu load using Java. I am using following code in my app to get system load
public static double getCPULoad() {
OperatingSystemMXBean osMBean
= (OperatingSystemMXBean)…

Navdeep Singh
- 63
- 1
- 6
6
votes
2 answers
how to solve the cpufreqset errors
I want to change the cpu frequency. I have install cpufrequtils.
the command "cpufreq-info" give me information
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU…

user2805242
- 155
- 1
- 11
6
votes
2 answers
Why is kmeans so slow on high spec Ubuntu machine but not Windows?
My Ubuntu machine's performance is terrible for R kmeans {stats}, whereas Windows 7 shows no problems.
X is a 5000 x 5 matrix (numerical variables).
k = 6
My desktop machine is an Intel Xeon CPU W3530 @ 2.80GHz x 8 (i.e., 8 cores) Dell Precision…

a different ben
- 3,900
- 6
- 35
- 45
6
votes
3 answers
Measure CPU frequency (x86 / x64)
I'm looking for some kind of a library that gives me accurate CPU frequency values periodically on both Intel and AMD processors, on 32-bit and 64-bit Windows.
The purpose of this is to accuratly measure CPU load on a given computer. The problem is…

xxbbcc
- 16,930
- 5
- 50
- 83
5
votes
7 answers
Can we benchmark how fast CUDA or OpenCL is compared to CPU performance?
How much faster can an algorithm on CUDA or OpenCL code run compared to a general single processor core? (considering the algorithm is written and optimized for both the CPU and GPU target).
I know it depends on both the graphics card and the CPU,…

Roalt
- 8,330
- 7
- 41
- 53
5
votes
0 answers
Changing the clock speed of raspberry pi (underclock)
I have been trying to investigate the effects of changing clock speed in Raspberry Pi in a multi-core system development project. In this regards, I have to change the clock frequency of the Raspberry Pi 3.
As far as I read from the internet, the…

mozcelikors
- 2,582
- 8
- 43
- 77
5
votes
3 answers
How to Disable Dynamic Frequency Scaling?
I would like to do some microbenchmarks, and try to do them right. Unfortunately dynamic frequency scaling makes benchmarking highly unreliable.
Is there a way to programmatically (C++, Windows) find out if dynamic frequency scaling is enabled? If,…

martinus
- 17,736
- 15
- 72
- 92
5
votes
1 answer
How to check if device is *fast* enough
I can't find any better wording to my question.
At some point inside my app I have set up some pretty intensive animation. Thing is, on high-end devices the animation runs smoothly and is pleasant to the eye. On the other hand, one low-end device I…

natario
- 24,954
- 17
- 88
- 158
5
votes
2 answers
C++ Linux get CPU nominal frequency
I need to get a CPU nominal frequency under Linux within C++ code. As far as I know, the /proc/cpuinfo contains a current frequency.
Is /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
always reliable as nominal frequency in kHz?
Or is there a…

Dejwi
- 4,393
- 12
- 45
- 74
5
votes
3 answers
Set core speed - linux
Architecture:
**AMD** Opteron quad-core using 2 CPUs --- Numa system
Processor : x86_64 Operating System: GNU/Linux
I am trying to set the core freq to 2.2GHz(that being the max) on just one core of the die. The other die completely turned…

user1860977
- 89
- 1
- 6
4
votes
4 answers
Machine code alignment
I am trying to understand the principles of machine code alignment. I have an assembler implementation which can generate machine code in run-time. I use 16-bytes alignment on every branch destination, but looks like it is not the optimal choice,…

Sergei
- 71
- 4
4
votes
3 answers
Are limitations of CPU speed and memory prevent us from creating AI systems?
Many technology optimists say that in 15 years the speed of computers will be comparable with the speed of the human brain. This is why they believe that computers will achieve the same level of intelligence as humans.
If Moore's law holds, then…

Roman
- 124,451
- 167
- 349
- 456
4
votes
3 answers
Running parts of my application on a different CPU priority
Got a winform C# application.
It allows a stream of images to be displayed (like a video).
I also upload these jpegs 1 at time to my web server and a User can view these jpegs (like a video).
In the quest to make my code as efficient as possible I…

Andrew Simpson
- 6,883
- 11
- 79
- 179
3
votes
3 answers
Does quad-core perform substantially better than a dual-core for web development?
First, I could not ask this on most hardware forums, because they are mostly populated by
gamers. Additionally, it is difficult to get an opinion from sysadmins, because they have a fairly different perspective as well.
So perhaps, amongst…

Gerhard
- 106
- 2
- 5
3
votes
3 answers
Why does per-process overhead constantly increase for multiprocessing?
I was counting for a 6 core CPU with 12 logical CPUs in a for-loop till really high numbers several times.
To speed things up i was using multiprocessing. I was expecting something like:
Number of processes <= number of CPUs = time identical
number…

clemens
- 105
- 7