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
0
votes
1 answer
Why IA32_HWP_CAPABILITIES.Highest_Performance are not equal on P-cores of Alder Lake desktop processors?
On i9-12900K, the value of Highest_Performance field in IA32_HWP_CAPABILITIES MSR are not equal, which causes linux kernel reporting different value for each thread in /sys/devices/system/cpu/cpu${id}/cpufreq/cpuinfo_max_freq. There are 2C/4T of…

KagurazakaKotori
- 562
- 4
- 14
0
votes
1 answer
Clock Speed what does it mean?
lets say i have a dual core having a speed of 2.7. Does the 2.7 stands for the sum of the speed of each core, or the speed of each individual core?

cristopher cutas
- 39
- 10
0
votes
2 answers
Can increment of a register be used to determine the clock rate?
Can increment of a register (in a loop) be used to determine the (effective) clock rate?
I've naturally assumed it can, but I was commented that Cpu's may implant Super-scalar techniques that make this kind of computation useless.
Also I was told…

Liran Orevi
- 4,755
- 7
- 47
- 64
0
votes
2 answers
Python algorithm speed up / Perfomance tips
I'm working with big file manipulation (over 2Gb) and I have a lot of processing functions to deal with the data.
My problem is that it is taking a lot (A LOT) of time to finish the processing. From all function the one that seems to take longer is…

Izalion
- 708
- 4
- 11
0
votes
1 answer
Why is a / (b*c) slower than a / b / c in Python (and in general)?
I stumbled across an interesting optimization question while writing some mathematical derivative functions for a neural network library. Turns out that the expression a / (b*c) takes longer to compute than a / b / c for large values (see timeit…

Thomas
- 859
- 6
- 16
0
votes
0 answers
How to know the cpu utilisation of node process?
I tried it by using top -pid 27045 which gives the output
Then calling an api which having decrypting some values, looping over arrays in multiple time.
It leads to degrading the AWS instance.
I need to determine which process take these much of…

Ashwanth Madhav
- 1,084
- 1
- 9
- 21
0
votes
1 answer
Making an apply function faster in Python
I am running the following code on about 6 million rows. It's so slow and never ends.
df['City'] = df['POSTAL_CODE'].apply(lambda x: nomi.query_postal_code(x).county_name)
It assigns a corresponding city to each postal code. When I run it on a…

Benn
- 59
- 7
0
votes
0 answers
Is using for loop faster for the computer than repeated instructions?
What I mean is which would be faster for a computer to execute.
The following code is in python3.
for in range(10):
print('billy bob')
OR
print('billy bob')
print('billy bob')
print('billy bob')
print('billy bob')
print('billy…

epiconan
- 11
- 1
0
votes
3 answers
How to optimize this code to make it faster
I am a really really new noobie high school student in java and we're currently optimizing a project but I'm stuck now. I think I've down everything I can do.
Below are my 3 classes.
PS, These codes print out the time spent in while loop and I'm…

asdfg
- 57
- 4
0
votes
1 answer
Approximating Processing Power from CPU-Time
In a particular scenario I found that a code has taken 20 CPU Years and 4 real Months time. My goal is to approximate the amount of processing power utilized considering the fact that all the processors were on 100% usage all the time. So, my…

Pritam Pallab
- 117
- 8
0
votes
1 answer
How to calculate column y+1 based on value in prior column y more efficienty (Monte Carlo SImulation)
my current code is following:
stock_values = np.zeros([path, steps+1])
stock_values[:, 0] = s
for y in range(0, steps):
stock_values[:, y+1] = stock_values[:, y] * (
np.exp(change[:,y]))
with:
change = (r_d - 0.5*(sigma_d ** 2)) *…

Mathis Schulze
- 1
- 1
0
votes
1 answer
Is getting data back from Redis SETS faster or more performant than HSETS?
I currently have a scenario where we are using REDIS to store string field-value pairs within a hashed set HSET.
The original reasoning behind using hashed sets instead of just sets is ease of retrieving the records using HSCAN inside a GUI Search…

SavSamoylov
- 65
- 1
- 2
- 7
0
votes
0 answers
How to Speed up Frame Rate of Remote Viewer?
So, I built an application that has two parts, the client and the server. The client takes a screenshot, converts that to a byte array, sends that to the server, and then waits for a response to repeat all that. The server takes the byte array,…

J. Doe
- 1
- 2
0
votes
0 answers
Why does more workers than processors in Multiprocessing Python improve runtime?
I am playing around with concurrent.future in python as a means to understand a few simple implementations that use multiprocessing. However, I've come across a very unexpected result. Before I begin, here are my system details:
Computer Type:…

Code Doggo
- 2,146
- 6
- 33
- 58
0
votes
0 answers
App Speed Up and Stop lag
My name is Moncef and i want to know how can i speed up my app because when i tried it on my phone it was lagging to much i have tried to delete the unused codes and images and things like that but it still lagging.
and the app is just a Calendar…

Tech-Tips
- 19
- 1