Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cpu]

Central Processing Unit, or processor for short.

3
votes
1answer
53 views

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 ...
0
votes
1answer
301 views

CPU frequency scaling on RPi3+

This is a bit of a follow up to Why is my Pi running at 700MHz all the time? and Overclocking - CPU Frequency Measurement Accuracy: vcgencmd vs cpuinfo_cur_freq I have a Raspberry Pi B3+ (at least ...
0
votes
1answer
169 views

What causes this (strange?) CPU usage on Raspberry Pi 3?

I am running two python scripts from two different terminals like so: python3 one.py and python3 two.py one.py Waits for an input on GPIO 27, and then starts counting in seconds how long the ...
0
votes
0answers
51 views

Simple socket server taking up 75% cpu

I've made a socket server to listen for data to play a sound for a length of time. All is working fine, except I see that cpu runs constantly at 75%, and after some time I get an overheat warning. I'...
0
votes
2answers
289 views

How to increase CPU cache on Raspberry Pi?

I'm mining some Monero on my raspberry pi (Of course only for educational purposes). In order to increase my hashrate I'd like to increase my CPU cache. I already searched SE but haven't found a ...
1
vote
5answers
2k views

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, ...
0
votes
2answers
443 views

Increase CPU for raspberry pi 3b+

I am running a Bitcoin Full Node on Raspberry pi 3b+. Blockchain sync is dead slow because of less CPU. Is there a way to add additional CPU to a pi board. or connecting additional pi to the same Hard ...
4
votes
1answer
95 views

Raspberry Pi's reaction to 7.2 Volts applied to a GPIO pin?

I was using a Raspberry Pi 3 model B in a project. The Pi was connecting to a web socket and receiving data from the user on a PC or whatever device connected to the same socket. It was fine at first....
1
vote
1answer
300 views

RPi threading too slow

So I have rpi wheeled robot, with wheel encoders and I want to always keep the track of the encoders and to be able to access the value when ever I need it. Basically, I created a thread, which ...
4
votes
2answers
405 views

Cooling down the Raspberry Pi 3 in a Vacuum

I'm working on a small little project involving the Raspberry Pi 3 and the LSM9DS1 Breakout board from Adafruit. We plan to place the Pi and the sensor board in a high radiation environment (but ...
0
votes
1answer
71 views

Any way to kill an application on high temperature?

I have a Raspberry Pi 3 and I'm thinking of running a process 7/24, but it sometimes uses CPU too much, and from my last 2 questions, I understood that Raspberry Pi 3 cannot power itself off on high ...
3
votes
2answers
119 views

CPU speed changes by a multiply of 2 for short durations

I'm using a raspberry pi and I need really fast performance from my CPU for a certain process. To achieve that, I added isolcpus=3 to my kernel boot parameters, to isolate the core for this process ...
10
votes
12answers
18k views

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 ...
4
votes
1answer
6k views

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.
2
votes
1answer
927 views

How to decrease CPU usage of conky

those of you who dont know what conky is, its a GUI for desktop raspbian that shows you loads of information about your pi at that moment, for example temperature, CPU usage, ip address of the pi, ...
0
votes
0answers
122 views

RPi 2 CPU constantly at 100%

I have a rpi3 and a rpi2 they are both running stretch. However my Rpi2 constantly stays at 100% CPU. It is also extremely slow executing commands from the terminal. I am using all 4 USB ports and ...
1
vote
1answer
29 views

Raspberry “blocks” after some work

I've installed plex server and samba on my raspberry pi 3. My configuration is: - jessie-lite - Micro sd samsung, 16GB, class 10; - Power: 5V - 1.5A; - an usb dongle for keyboard; - external 3,5" hdd,...
0
votes
2answers
55 views

How does the eth0 hwaddress get set based off the cpuinfo serial number?

How can I change the OUI24 top part of the MAC address of eth0, to one of my own, while leaving the bottom device specific 24 bits to be same. I can see clearly that it appears Jessie's default ...
1
vote
0answers
196 views

Avoid frezing/optimize Raspberry Pi 3 is under heavy load

I am trying to run some prediction on pictures with Keras with pre-trained model vgg16. Here is my code: from keras.applications import VGG16 from PIL import Image from keras.applications ...
1
vote
0answers
59 views

Diagnosing Pi slowness?

How do you diagnose slow computing time issues on the Pi? I have Ubuntu 16.04 installed on a Raspberry Pi 3. All Ubuntu package updates are installed, and I've installed the most recent Pi firmware. ...
0
votes
1answer
604 views

Detect CPU slowdown due to overheating

How do you detect when the Pi is slowing down its clockspeed due to overheating? I know I can find the "current" CPU speed by running: sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq ...
0
votes
2answers
190 views

Are VNC servers too heavy to run on a raspberry pi?

I've read that VNC servers were made so that the powerful processor could control a compact display remotely. A lot of things, including the raspberrypi.org documentation, include tutorials on ...
0
votes
4answers
2k views

how to cool down raspberry pi

I've got a Raspberry Pi 3 running 24h/24h at 100%: it is costantly at 70°C.. I'd like to know if there are simple and cheap solutions to cool it down.
2
votes
2answers
371 views

Why does Raspberry PI use GPU for loading bootloaders and configuration

There is a great explanation of the boot process - What is the boot sequence? But I can't understand why GPU is responsible for doing all that work. Could someone explain this decision? I can't ...
1
vote
0answers
149 views

Embedded devices boot process vs PC

I am trying to dive deeper into the boot process and understand how everything works. I have understanding but I am not sure I am right. I have already found a lot of great examples like that What ...
3
votes
2answers
383 views

Does Pi Zero Have built-in-audio component?

I am looking to buy a Raspberry Pi Zero for my retro gaming project. I am asking wherher the Raspberry Pi Zero has any built-in internal audio speaker in the chip itself or not? If there isn't, is ...
3
votes
2answers
13k views

Raspberry PI 3 as NVR

I'm planning to do a NVR with a Raspberry Pi 3. I want to record video from 8 IP cameras at 640x480@24fps with motion detection implemented in the Raspberry Pi (using motion or OpenCV probably) so the ...
3
votes
0answers
155 views

Ubuntu Mate pernament CPU governor state?

I'm changing Rpi3 with Ubuntu Mate governor on user login to 'performance' but it seems like the kernel is changing the state back to original value after some time (ALSO THE 7" LCD SCREEN BRIGHTNESS)....
0
votes
1answer
660 views

Is there a way to log CPU load?

I need to examine how my CPU is performing. I could simply open the task manager, but I will have to sit in front of the monitor long time. My problem is that CPU seems to be spiking or overloading ...
1
vote
1answer
964 views

How cold is too cold?

I have an Rpi2 out in my garage, today it is about 35f degrees out, and the CPU temp is 28.2c. Is this too cold, how cold is too cold? Is there a min I should be concerned about, and what will ...
2
votes
0answers
779 views

Safest highest operating temperature of a Raspberry Pi 3 Model B

What is the safest highest operating temperature of a Raspberry Pi 3 Model B? I was able to get my temperature up to 77'C by running: fulload() { dd if=/dev/zero of=/dev/null | dd if=/dev/zero of=/...
1
vote
1answer
123 views

Will ARM7 .so file work in the rPi3?

A .so file is compiled for the ARMV7 (rPi2) architecture. Is the rPi3 (ARM8) architecture so different that the .so file must be recompiled? The Raspberry Pi 2 uses a Broadcom BCM2836 SoC with a ...
1
vote
0answers
262 views

What should Pi 3 CPU/GPU split be for command line boot to run MJPG-Stream

The Raspberry Pi 3 - now has 1GB RAM, and older docs have always recommended 128M GPU split for most of the video streaming apps I've looked at - but a lot of them refer to 512M RAM limit in the older ...
0
votes
4answers
1k views

do I need radiator for Raspberry PI 3 model B [duplicate]

I am going to build cluster with Raspberry Pi 3 Model B. I am going to buy dozen of raspberry. and I wanted to know if I need radiator too
2
votes
1answer
341 views

Bare metal: Why does the CPU automatically read instructions from the SD card?

I'm learning bare metal programming on the RPi. My main experience is from using 8-bit PIC microcontrollers. Reading from SD cards is comparatively high level. How does the CPU achieve this? Does it ...
-2
votes
1answer
17k views

Raspberry PI 3 Increase Gpu Memory to 944 [closed]

I use Raspberry PI 3 and wnat to get more GPU memory to work. I overclock my PI to get more performance because I use it for home Apache/PHP/MySQL server, Access Point and somethimes play music and ...
1
vote
1answer
288 views

Overclocking - CPU Frequency Measurement Accuracy: vcgencmd vs cpuinfo_cur_freq

As a follow-up to this question: Raspberry Pi B+ Overclocking: Force Turbo not working I had trouble getting force turbo to work. I was using the command: sudo vcgencmd measure_clock arm to get the ...
0
votes
1answer
2k views

Raspberry Pi B+ Overclocking: Force Turbo not working [Solved: Undervoltage Problem]

Good day, I am overclocking my raspberry pi. I have selected the turbo option from the raspi-config. I have found out however that the Pi was not running consistently at 1GHz. I have tried setting ...
1
vote
1answer
6k views

Can I watch movies with the Rasberry Pi Zero?

I want to make a DIY home-theater system with the Raspberry Zero. My question is will the processor and RAM be enough to play a movie with no problems. (I am planning to use an HDMI cable and an ...
0
votes
1answer
183 views

Process readKey with high CPU load

I recently installed an "Ubuntu 16.04 LTS" on a Raspberry 3 fully upgraded to evaluate some Z-Wave devices functionality. Now I see a high readKey load (15-20%) all around the clock which is not ok ...
2
votes
3answers
1k views

How can i discover the current CPU load?

I would like to use the percentage of CPU load in a program to discover wether or not it has an affect on some other sensors but i need to be able to get that number as an integer in python. I looked ...
1
vote
1answer
2k views

Shut down raspberry pi cpu and gpu cores and USB ports?

The documentation online allows the user to change RAM allocation and CPU clock speed via the config text. However, I am interested in reducing the raspberry pi 3 power consumption while not crippling ...
1
vote
2answers
415 views

Raspberry Pi fuse (F1) and cpu (IC2) is so hot and not booting, what's wrong?

My Raspberry Pi was working great but after a couple of hours I found it not booted. then I found out it's CPU and F1 fuse are extremely hot. I unplugged it and let it to rest for half an hour, then I ...
3
votes
1answer
3k views

How does a Raspberry Pi deal with high temperature?

Is there a overheating protection circuit integrated into the Raspberry Pi like in desktop processors from Intel or AMD? When I did research about this question I just found vendor specification about ...
0
votes
0answers
497 views

Can I set the number of threads for FFMPEG on the Raspberry Pi 3 to 4 since it is a Quadcore?

I want to use the full potential of the Pi 3's Quad Core ARM. Right now my FFMPEG encoder is set to 1 Thread (settings from my Pi 2.) I'm curious if I can up the thread count to 4 since I have 4 cores ...
46
votes
8answers
55k views

Raspbian moving to 64-bit mode

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 ...
4
votes
1answer
2k views

Using GPU to decode QRCODE

I'm using a raspberry pi compute module and my question is : Can we use the GPU to decode QRCODE ? I am using my own function inspired by the one from QRTOOLS and by doing so the timing is divided by ...
4
votes
2answers
5k views

Virtualization on Pi 3 Raspbian

The new Pi 3 was announced this morning. It's the first Pi to ship with a 64-bit processor, the ARM Cortex A53. The product page for that chip suggests that it's capable of hardware virtualization. ...
1
vote
1answer
1k views

Temperature differences between CPU & GPU

So recently I was interested in CPU and GPU temperatures and did some work displaying the temperatures in real time on a page and also recording the temperatures on a graph using rrdtool (which is ...
3
votes
1answer
1k views

Raspberry Pi clock speed won't increase

I overclocked the raspberry pi to 900mhz with raspi-config, however, when I use "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq" to check the speed, I get 600,000 (600 Mhz). This is causing ...