Skip to main content

Questions tagged [cpu]

CPU is the abbreviation for central processing unit. Sometimes referred to simply as the central processor, but more commonly called processor

-2 votes
1 answer
108 views

What are the CPU architectures for the most common general purpose devices (i.e., Android, Windows/Linux PC, RaspberryPi etc.)? [closed]

Wikipedia lists over 45 different Instruction Set Architectures. I would bet that most of those are listed for legacy purposes, but I barely have any knowledge on the subject (I'm not even sure if ...
4 votes
2 answers
719 views

Is there genetic relationship between ARM and PDP-11 architectures?

Reading about ARM architecture I found many similarities to PDP-11 architecture which did not exist between ARM and x86. For example, General-purpose registers named Rx compared to AX, BX,... for x86 ...
1 vote
4 answers
273 views

Is the maximum number of outstanding load instructions limited by the CPU architecture or the program?

I'm reviewing some lecture slides and had a question on the following slide : Assumptions (8 clocks to transfer data) Up to 3 outstanding load requests. The slide is illustrating that the number of ...
0 votes
2 answers
173 views

Complicated task scheduling architecture

So I want to make an application in which a user will hit an endpoint to save a job model to storage that includes some metadata to perform a long computation against which will be offloaded to a ...
0 votes
1 answer
707 views

I want my Docker container to use more of the host's CPU resources

I have a DigitalOcean droplet on which I have deployed a Docker container (Docker version: 20.10.14), but my app is sometimes slow, therefore I would like to allocate more resources to it. The droplet ...
1 vote
3 answers
546 views

Memory on multiple cores versus 1 core

I am running a program that, among other things, does some matrix multiplications, singular value decompositions and accessing matrix subsets on a very large data set (these are the lines of code that ...
-5 votes
2 answers
148 views

Archival-quality future-proof pseudo-CPU architecture

Suppose we maintain a massive electronic library of texts/photos/videos etc., and want to ensure that these files are readable indefinitely long in the future. [Update] one of the major problems with ...
1 vote
4 answers
2k views

Memory Alignment

I want to make sure I understand the concept referred to by alignment: Is it just a way of making sure that you never have a non-integer number of words? The wikipedia page says in order for an access ...
3 votes
1 answer
254 views

Benchmarking C# code - results

I watch this YouTuber's mostly excellent videos on .NET features (let's call him Nick). He more often than not uses Benchmark.net to demonstrate the differences in performance of different approaches ...
1 vote
1 answer
96 views

Can we reliably use unaligned scalars on contemporary hardware?

Processors have come a long way in their handling of unaligned data - from crashing at the very notion of it, through suffering severe penalties, all the way to having almost no impact. I suppose it ...
33 votes
7 answers
8k views

Why do modern operating systems *ever* have perceptible input (keyboard/mouse) lag?

Sometimes computers stutter a bit when they're working hard, to the point where the mouse location freezes for a fraction of a second, or stutters intermittently for a few seconds. This sometimes ...
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 ...
26 votes
3 answers
25k views

Why are there separate L1 caches for data and instructions?

Just went over some slides and noticed that the L1 cache (at least on Intel CPUs) distinguishes between data and instruction cache, I would like to know why this is..
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 ...
-2 votes
1 answer
175 views

What is the benefit of equipping a computer or smartphone with multiple CPU cores that differ in clock speed? [closed]

I've bought a samsung galaxy s21 ultra about a year ago. Today i was looking at the specs again and i noticed that the Samsung Exynos 2100 processor consists out of 1 single CPU core of 2.9 GHz, three ...

15 30 50 per page
1
2 3 4 5
9