Questions tagged [cpu]

Central Processing Unit, or processor for short.

Filter by
Sorted by
Tagged with
0
votes
1answer
27 views

Plotting CPU and Ram utilization

I want to plot the CPU and memory utilisation of an Apache server hosted in Raspberry Pi 3B+ with Raspbian Stretch in it. For that I have followed the procedure mentioned here. The instructions work ...
0
votes
0answers
21 views

Are the Rpi CPUs fabbed specifically for Raspberry Pi Foundation, or are they “off the shelf” components?

I'm curious if these are identical parts to those found in other electronic devices, or if they are fabbed specifically for the Rpi. Most interested in the latest 3 and 4s, but the history of it would ...
0
votes
1answer
45 views

Usability of a Pi 4 as a linux-based MIDI synthesizer/sampler

I'm currently using an old Core 2 Duo 1.8GHz laptop, running Lubuntu 18.04, as a synthesizer (technically, sampler) for a USB MIDI controller. It's not great—the processor seems to be too slow to ...
4
votes
1answer
104 views

How is CPU in Raspberry Pi 4 +36% faster than for Raspberry Pi 3?

CPU benchmarks show that the Raspberry Pi 4 outperforms Raspberry Pi 3 by +36% https://www.geeks3d.com/20190930/raspberry-pi-4-vs-raspberry-pi-3-cpu-and-gpu-benchmarks/ How is this possible given the ...
5
votes
1answer
1k views

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....
0
votes
1answer
917 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 ...
1
vote
2answers
252 views

Controlling fan of the LABISTS Raspberry Pi4

I'm a new Raspberry Pi 4 user. I have bought the Labists Kit which includes 3 heatsinks and a fan. As far as I understand the fan is connected directly two the GPIO pins (see for example this video ...
3
votes
6answers
22k 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, ...
1
vote
1answer
227 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 ...
1
vote
1answer
14k views

Raspberry pi shutting down randomly

I've been using my raspberry pi for about 3 days, and on these 3 days the Pi has stopped running 2 times. It just shuts down. I'm using it as a server and it gets kind off warm when I'm using it. (I'm ...
2
votes
0answers
35 views

Tuning watchdog cpu usage

I've enabled the watchdog module # /etc/modules i2c-dev bcm2835_wdt And installed and activated the watchdog daemon with the following configuration: # /etc/watchdog.conf realtime = yes priority =...
2
votes
0answers
40 views

Load CPU at a specific % with stress-ng

I'm trying to achieve a 50% CPU load on my Pi to run thermal tests on it since that's what I expect the CPU usage to be with the real application. So far I've been playing around with stress-ng and ...
1
vote
1answer
1k 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+ ...
1
vote
2answers
555 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 ...
1
vote
0answers
164 views

How to overclock RPi 3 on Windows 10 ARM

I have an RPi3B running Windows 10 ARM (not scrappy IoT). I used WOA Deployer RPi to burn the image into SD card. I can boot into desktop, but the system is slow & laggy. When I looked up Task ...
57
votes
8answers
75k views

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 ...
1
vote
0answers
21 views

(Pi 3B) CPU Usage turn low while using video record and servo

I am doing a project is using Robot arm to classify package has QR code. Webcam starts streaming and if it scans correct those QR which I set in Python code, the Robot arm picks and places it to other ...
1
vote
2answers
4k 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
0answers
52 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 ...
3
votes
1answer
131 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
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 ...
6
votes
1answer
2k 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 ...
3
votes
2answers
144 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 ...
0
votes
1answer
154 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 ...
1
vote
1answer
39 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
951 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
359 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
190 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 ...
2
votes
3answers
753 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 ...
1
vote
1answer
205 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
130 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
51 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
107 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 ...
0
votes
0answers
465 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
695 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 ...
3
votes
3answers
3k views

When does the OS kill an application?

I have an application which polls a bunch of servers every few minutes. To do this, it spawns one thread per server to poll (15 servers) and writes back the data to an object, however sometimes the ...
2
votes
1answer
539 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 ...
5
votes
1answer
181 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 ...
2
votes
2answers
661 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 ...
0
votes
1answer
741 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
178 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
1k 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
2answers
4k views

vcgencmd measure_temp doesn't always work

I'm trying to measure my Raspberry Pi's temperature using vcgencmd measure_temp but it only works whenever it feels like it: pi@raspberrypi ~ $ sudo /opt/vc/bin/vcgencmd measure_temp vc_gencmd_send ...
11
votes
12answers
30k 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 ...
3
votes
1answer
106 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....
5
votes
2answers
3k views

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 ...
3
votes
2answers
718 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 ...
6
votes
1answer
15k 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.
0
votes
1answer
126 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 ...
0
votes
4answers
3k 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.