We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [cpu]

Central Processing Unit, or processor for short.

Filter by
Sorted by
Tagged with
3
votes
1answer
97 views

How to get curent cpu mhz on a raspberry pi with python?

I need a sample program that will put the current CPU MHz in a variable with python. I prefer a short compact program. Thanks in advance.
0
votes
0answers
32 views

Libreoffice using 25% total cpu, 100% one core

When Libreoffice is left open with a document in it, after a while Libreoffice begins using 25% of the total cpu usage. The usage doesn't stop, until: 1. I close Libreoffice 2. I press Ctrl+S even ...
0
votes
1answer
65 views

Can one run a Raspbery Pi Zero W at load continuously?

I want to use a RPi Zero W to drive a display. This will be putting the CPU on-load pretty much 24/7. Can it handle having load near-continuously? I do have a small metal heat sink on the CPU. I ...
0
votes
1answer
263 views

Why don't I see a CPU usage monitor in menu bar on my raspberry Pi 4? And how can I get one?

I cannot seem to find anyone asking about this or talking about this... I'm very new to computers and don't know much at all so any help would greatly be appreciated. So I have a raspberry pi 3b+ ...
3
votes
2answers
82 views

Raspbian Lite uses less cpu?

Does Raspbian lite version use less cpu / memory than the full Raspbian. I know the lite uses less storage for sure but not sure on the cpu memory. I am running some time critical code I am thinking ...
1
vote
1answer
35 views

What is the hottest part, under light load?

For a hobbyist weather station project I am going to use a Raspberry Pi and a Si7021 temperature/humidity sensor. If possible, I want to use one of the available casings, and enclose my Pi and the ...
0
votes
0answers
134 views

Tool to monitor pi performance/resources via website?

Is there a tool for the raspery pi to monitor cpu, ram, storage, resources ... sys health etc. via a web gui?
3
votes
1answer
327 views

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 ...
0
votes
2answers
151 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
119 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
86 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
41 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
83 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 ...
6
votes
1answer
667 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
298 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
415 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 ...
5
votes
1answer
103 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 ...
1
vote
2answers
3k 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
495 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
134 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
739 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
11k 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
3answers
1k 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
102 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
457 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
658 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
91 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
138 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 ...
11
votes
12answers
26k 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 ...
6
votes
1answer
12k 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
188 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
30 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
64 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
265 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
75 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
923 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
301 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
537 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
196 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
591 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
18k 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
173 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
1k 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
2k 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
963 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
137 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
295 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