Questions tagged [cpu]

Central Processing Unit, or processor for short.

128 questions
62
votes
8 answers

Will Raspbian move to 64-bit?

In this page, the official RPi3 announcement states: You’ll need a recent NOOBS or Raspbian image from our downloads page. At launch, we are using the same 32-bit Raspbian userland that we use on other Raspberry Pi devices; over the next few months…
zundi
  • 735
  • 2
  • 6
  • 10
17
votes
8 answers

How to directly get CPU temp in Python?

Goal is to switch an exhaust fan at an outside data-logging station at a solar power station. The data-collection program is written in Python under Raspbian. For reading CPU temp at a command line, there is the vcgencmd command. Example in…
SDsolar
  • 2,378
  • 8
  • 26
  • 43
16
votes
4 answers

How can I lower the usage of CPU for this Python program?

I will be having a Python run 24/7 in a while loop, here is an example of the sort of program: while True: print ("me again...") But when I run it, my CPU goes to 100%! But I don't want that since my program will run for long lengths of time,…
user151324
  • 1,270
  • 4
  • 14
  • 17
13
votes
3 answers

Lxpanel using 100% CPU (1 core)

On my Raspbian 2018-11-13 installation with all updates (sudo apt-get update and sudo apt-get upgrade), I see the CPU graph in the task bar (top right corner) at constant 25%. I opened a terminal and used top to have a look at the process list and…
Thomas Weller
  • 2,517
  • 3
  • 30
  • 54
13
votes
12 answers

Can I use all 4 cores of the Raspberry Pi's CPU?

I was wondering if there is a simple way to "turn on" all 100% of the CPU so that I can run processes faster (such as python calculations). 1) Is this possible? 2) Is there an easy way to revert back to normal? 3) Is there a way to use less CPU if…
NaN
  • 241
  • 1
  • 2
  • 4
12
votes
1 answer

Can a Pi be used as an OpenCL CPU device?

Can I use a Pi (or, for that matter, Beagle Bone or Arduino) as an OpenCL CPU device? I understand there isn't much of a GPGPU thing on a Pi, but couldn't I link a bunch together under an OpenCL framework and do something cool and flexible with…
Ethan
  • 223
  • 2
  • 5
11
votes
3 answers

Were CPU features removed on the Raspberry Pi 4 revision 1.5 board?

I have two Raspberry Pi 4s, both running Raspbian. One of them I just purchased this year and the other 2019. On the older board, running Buster with kernel 5.10, my /proc/cpuinfo reads: processor : 0 model name : ARMv7 Processor rev 3…
mmisiewicz
  • 121
  • 1
  • 5
8
votes
1 answer

Crosscompiling: exact archictecture for all models

I would like to crosscompile some piece of C++ software in a way that I can run on every Raspberry Pi. I am confused about the parameter -march. I've found a great deal of resources recommending to use armv6zk to be compatible with all versions of…
Pietro Saccardi
  • 296
  • 1
  • 8
8
votes
1 answer

End Kernel panic - not syncing: Attempted to kill init

I have a problem when starting my Raspberry Pi (Rasberry Pi 3 Model B). Everything worked fine. After the last reboot I've got this error. Any help would be appreciated.
8
votes
3 answers

Why does the Raspberry Pi's GPU control the first stages of the boot process?

According to the answers to this question and other sources, the GPU of the Raspberry Pi's BCM2835 SoC is responsible for the first stages of the boot process, including enabling the ARM CPU. Until Broadcom open-sourced the GPU drivers, this was an…
Kaypro II
  • 298
  • 3
  • 9
5
votes
2 answers

Can the Raspberry Pi 4 better distribute Python scripts to all four cores?

This relates to previous questions regarding the GIL (Global Interpreter Lock) for Python on the Raspberry Pi. My question has to do with the new processor on the Pi 4 - does it still have the same restrictions as the Pi 3, where it cannot natively…
5
votes
3 answers

New PI 2 B+ unusably slow, CPU and RAM not being used?

Just setup a new R Pi 2B+, using raspbian on a 16gb sd card, ethernet, USB mouse/keyboard and HDMI out. Finding it extremely slow - the UI is reasonably responsive however installing monodevelop took about two hours. CPU and ram stay around 5% with…
Kram
  • 51
  • 1
  • 2
5
votes
2 answers

rpi 2: Unable to change irq affinity

I am trying to optimise getting GPIO interrupts into userspace. On the single core rpi 1 I couldn't get rid of quite some timing jitter, which makes sense as there's a lot of stuff going on on the cpu. Now with the dual core rpi2, I wanted to try…
BeerSerc
  • 151
  • 1
  • 2
5
votes
2 answers

Can Compute Modules provide clustering and high availability?

I am very interested in Compute Modules, but have a few concerns: The main press release (linked above) for Compute Modules states that these systems are "primarily designed for those who are going to create their own PCB". Does this mean it is…
smeeb
  • 645
  • 3
  • 9
  • 22
5
votes
1 answer

How to achieve gpu_mem=8?

I see some people claiming (see links) they have a memory splitting of gpu_mem=8, but I always thought 16/496 is the minimum split? Here is an answer on this very page: https://raspberrypi.stackexchange.com/a/12913/14614 Here is a status page I…
Foo Bar
  • 453
  • 3
  • 18
1
2 3
8 9