Questions tagged [cpu]
CPU is the abbreviation for central processing unit. Sometimes referred to simply as the central processor, but more commonly called processor
123
questions
2
votes
3
answers
5k
views
Comparison of build times on various hardware; why non-linear results?
Why do the compile times not vary significantly between different era CPUs, even though disk (NVMe vs. HDD) and CPU benchmarks vary significantly in performance?
Why does disabling hyperthreading ...
0
votes
2
answers
206
views
How did old OSs create or expand a segment in memory without issues?
On an 8086 CPU before the flat memory model had been adopted, when the OS wanted to create a new segment for a process, how did it know what virtual memory ranges were already covered by existing ...
3
votes
4
answers
4k
views
How to align on both word size and cache lines in x86
From what it sounds like, a 64 bit processor means aligning to 64 bits, which means if you have unicode utf-8 stored in there, each 8-bit chunk would take up 64 bits of space. That doesn't really make ...
-6
votes
1
answer
85
views
two processes with same execute time [closed]
Process A take 10 seconds to finish an execution.
Process B take 10 seconds to finish an execution.
Is it possible to take 5, 8, 15 seconds to finish an execeution if they run stimulately.
1
vote
2
answers
6k
views
What is more efficient: Reading and parsing a large JSON file, or large CSV file?
I plan on using Scrapy to crawl a local website for a LOT of data and store it in a file. Then I plan to parse that file and put some of the data in a SQL database.
Will my computer use less CPU and ...
0
votes
4
answers
1k
views
Does instruction length affect cycles per instruction?
ISAs define things like instruction lengths and the instructions themselves and there are some things that I do not understand.
Does the instruction length (the amount of bits) affect the amount of ...
2
votes
1
answer
2k
views
What receives the output of the ALU?
I know that the Arithmetic Logic Unit (ALU of a processor performs arithmetic (and bitwise) operations and the result is stored as the ALU's output - but what component, device or software is actually ...
9
votes
2
answers
8k
views
How does a CPU load multiple bytes at once if memory is byte addressed?
I've been reading about CPUs and how they are implemented, and some big complex architectures (looking at you x86) have instructions that load from memory during one clock cycle. Since one address ...
1
vote
2
answers
346
views
Increase processing use of Digital Signal Processor
I have a DSP (Digital Signal Processor) with a very well defined application, (this explication will be simplified)
The DSP uses TDM (Time Division Multiplexer) frames to receive audio information, ...
7
votes
3
answers
7k
views
What does "address space" means when talking about IO devices?
The following quote is from this page:
While some CPU manufacturers implement a single address space in their
chips, others decided that peripheral devices are different from
memory and, ...
2
votes
1
answer
273
views
What does "data bus control" mean?
This video mentions the following:
What does it mean for the DMA controller to be granted the data bus control, does that mean the CPU cannot use the bus to access memory and IO devices until the DMA ...
6
votes
3
answers
3k
views
What happens to multiple parallel tasks running on a server when CPU hits 100% usage?
I am running 10 instances of the same executable where each executable is accessing a different 1/10 chunk of the total data that needs to be processed on a Windows Server 2012 R2. (Intel(R) Xeon(R) 2....
0
votes
1
answer
2k
views
Feature of CPU needed to run Javascript fast
This is more of a Computer Engineering question, but what is the feature of a CPU to run Javascript fast? I use to access the internet with an AMD Phenom II with 6 cores and I could almost have as ...
73
votes
3
answers
65k
views
How does a single thread run on multiple cores?
I am trying to understand, at a high-level, how single threads run across multiple cores. Below is my best understanding. I do not believe it is correct though.
Based on my reading of Hyper-threading,...
2
votes
3
answers
387
views
Why are CPUs' datapaths multiple of 8?
Current and common processing units are 8, 16, 32, 64, 128, etc bit. Why are their datapath multiple of 8 ? Is this all linked to the fact that the industry has settled with a 8-bit byte ?
The PDP-7 ...