Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
2answers
73 views

Raspberry + Fedora, wrong CPU load average

For some reason, my "top" command is showing wrong cpu load average. Like 100% cpu usage everytime, but, in fact, the cpu is 100% idle. It's a Raspberry 3, running Fedora 28. CPU temperature is below ...
1
vote
1answer
61 views

CPU/RAM monitoring of one process

I know close questions have been asked, but I did not find any answer to this. I would like to monitor CPU and RAM of a process I launch, which is executed through several threads. I would like the ...
1
vote
1answer
35 views

cpufreq on arch arm aarch64 on a rpi3b+?

The distro is by and large running ok, except that apparently it is blasting at full speed (though hopefully not overclocking the cores). This eventually results in overheating my pi, which makes it ...
0
votes
1answer
32 views

Raspberry Pi 2 power consumption incorrectly

Before, i'd a problem about changing governor for my Pi (cpu always stays at 600Mhz in every mode), after doing some tweaking, i'd already make it up to 900Mhz. However, now i'm using a power-meter to ...
0
votes
0answers
52 views

“Performance” gorvernor doesn't change cpu frequency

When i tried to change the default governor of my Raspberry Pi 2 (currently at Powersave mode) to Performance mode which is expected to push my Pi's CPU freq up to its maximum number (900Mhz) by using ...
5
votes
0answers
226 views

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 ...
0
votes
0answers
91 views

Pi Zero freezes with using camera recording / motion detect programs

I am having problems with a wildlife cam project I am working on. setup: Pi Zero W Stretch 2018-11-13 Pikrellcam with settings: 1024x768 12 fps 3,5 Mbitrate However, the pi frequently freezes. I ...
0
votes
1answer
84 views

How do I increase the RPi 3 minimum clock speed without using force_turbo?

So I don't want to change my max clock speed, but I want to slightly increase the minimum clock speed at light load from 600MHz to 800MHz. However, if I set these options in my /boot/config.txt/ and ...
4
votes
1answer
66 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
1k 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
331 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
96 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
478 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
6answers
5k 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
744 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 ...
3
votes
1answer
97 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....
2
votes
1answer
366 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 ...
3
votes
2answers
482 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
78 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
129 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
21k 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 ...
5
votes
1answer
8k 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
1k 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
161 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
57 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
234 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
62 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
725 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
240 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
444 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
172 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 ...
2
votes
3answers
466 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 ...
2
votes
2answers
16k 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
164 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
866 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
1k 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
902 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
132 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
272 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
2k 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
395 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
18k 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
336 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 ...
1
vote
1answer
197 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 ...