Questions tagged [performance]
Questions about software, hardware or network performance. Please use as a supplement for other, more specific tags.
205
questions
0
votes
0
answers
21
views
What simultaneous H264 live encoding capacity could be expected from RPi4
According to the specifications RPi4 is able to encode 1080p at 30fps and I've ssen benchmarks backing that claim up, but I'm interrested in encoding multiple streams simultaneously. What could then ...
0
votes
0
answers
12
views
RPI 5 8G + Debian 12: Long stalls in I/O throughput to the sd card in the PCB slot, but only when Debian installed
Did the "stock" install of Debian 12 as I understand it:
-installed gdm3 as the display manager
used raspi-config to set the window manager to wayland
Doesn't happen with Ubuntu 24.04 or ...
0
votes
0
answers
32
views
performance problem on download with vlan and bridge
I have a weird performance problem with a Rpi with Raspbian 11: when I take a speedtest with Ookla CLI I obtain download speed no better than 30Mbs but upload speed over 60Mbs and I know it's not a ...
1
vote
0
answers
171
views
RaspiOS 64 bit running much slower than 32 bit
I have two RPi 4's running Bitcoin Core v25.0. One is 32-bit RPiOS and the other is 64-bit. 32-bit / 64-bit ARM versions of Bitcoin Core are installed respectively. Both computers are fitted with the ...
0
votes
1
answer
300
views
Raspberry Pi 3 has only 128MB memory available at OS level
I don't know why but my Raspbian installation say me that the Total RAM is 128MB instead of near to 1024MB.
total
used
free
shared
Mem:
116672 kB
54912 kB
26292 kB
192 kB
Swap:
102396 kb
98160 kB
...
0
votes
0
answers
313
views
Using DMA for efficient memory copying
Some background info about my problem:
I have an external device that is constantly giving me data through SPI
I handle SPI reads with DMA from userspace, as kernel based solutions (already ...
1
vote
2
answers
142
views
Why 10% CPU when sleep() on Pi 1B
I'm writing a simple application in C to handle switching relays on an old Pi 1B. When the Pi is supposed to wait for the next action to handle, I use the sleep() system call. I checked with top, only ...
3
votes
0
answers
285
views
How can I reduce the memory usage of my python3 scripts on a Raspberry Pi Zero 2? [closed]
I created 9 python scripts that I run as cron jobs.
When I run them on a VirtualBox virtual machine running Ubuntu Server 20.04 with 512MB of RAM with a single processor, everything runs smoothly and ...
1
vote
1
answer
870
views
Benchmarking performance RPi vs Old Laptop
with the current shortage in RPi availability, I found myself looking for good deals of second hand computers.
Basically, I only want the RPi to perform computation and act as a server, nothing more, ...
1
vote
0
answers
30
views
Port forward fails on high data traffic, how can I fix it?
I wanted to test the bandwidth over port forwarding via iperf:
On the first terminal: ssh myraspberry -R 5001:localhost:5001 -L 5002:localhost:5001
On the second terminal: iperf -s
On the third ...
1
vote
1
answer
703
views
Performance of Minecraft Server on rPi 400
I want to create a Minecraft server at home, and have two spare machines that are candidates for this:
A power hungry Xeon WS-2140B
A power-sipping rPi 400
I like the low power-usage of the rPi, but ...
1
vote
0
answers
358
views
Windows 10 -> Raspberry PI 4 Samba Share Speed extremely slow unless pause and resume
I've been trying to set up my Raspberry PI 4 as a home media server and was planning to use Samba to transfer files from my Windows 10 PC to the Raspberry PI. Currently, I get speeds of <5 MB/s ...
1
vote
1
answer
171
views
bluetoothd CPU usage constant at 100 %
I've had this problem for a few months where the Pi 4 gets very hot to the touch, and it invariably turns out that bluetoothd is stuck at 100 % CPU usage, saturating one core. Currently htop tells me ...
0
votes
0
answers
31
views
5-second increment pauses on Pi Zero W
I've recently set up a Pi Zero W with the as-of-writing most recent Pi OS Lite image. It is connected to my home network via Ethernet and has Pi-hole installed on it. I found that during setup and, ...
1
vote
0
answers
1k
views
SD card speed (IOPS) is awful
For a long time, I'm noticing that my Raspberry Pi 4 is slow in some scenarios, especially when some disk-consuming operations are running.
For example, docker pull something might take around 5-10 ...
1
vote
0
answers
314
views
VNC poor performance on PI4 8GB Bullseye 64bit
I've a PI4 8gb model with a fresh install of Bullseye 64bit and Im getting really poor VNC performance over 2.4ghz wifi network, both devices the client (a mac book pro i9 w/64gb ram) and the server (...
1
vote
3
answers
2k
views
My RPi2 became very slow suddenly
I am running Raspbian on my RPi2 and on top of that a Node.js server.
This morning the Node.js server went down, but I still have access to the SSH terminal.
I ran top but couldn't see any processes ...
0
votes
0
answers
125
views
Run Blynk server, Mosquitto and Node-Red on RasPi Zero?
Never used a pi before so I'm not sure how powerful they are/how much can they run at the same time. (Yes, I obviously know that it depends on what you're running). I was wondering, is there a good ...
0
votes
0
answers
747
views
OpenCV image processing incredibly slow on Pi 3B+
I have a computer vision algorithm on my Pi 3B+ that uses the following function, myVision(), that takes in a frame and outputs the pixel coordinates of a certain colored dot (tuned according to the ...
1
vote
1
answer
2k
views
RPi 4B 4GB: Excessive Shut Down time using the GUI shutdown
I have 5 - 4B-4GB's and 1-8GB systems. One of the 4GB systems is experiencing an excessive shutdown (power off) time of 4.5 minutes. All the other systems take about 15-20 seconds, all my systems ...
1
vote
2
answers
8k
views
Raspberry Pi 3 B insanely slow on basically all tasks
My Raspberry Pi 3 B is only connected via Ethernet to the network and running a couple of server tasks, among them an HTML web server (nginx PostgreSQL Typo3). This was working perfectly fine for ...
2
votes
0
answers
108
views
Overclocking Raspberry Pi after the device has booted
I using a Raspberry-Pi 3B+ device and I am trying to change the maximum frequency after the device has booted. From my understanding, this can be done by editing the files under
/sys/devices/system/...
0
votes
1
answer
534
views
Writing to a NAS from a Raspberry Pi 2B - SMB or NFS?
I'm familiar with Windows but a Linux newbie. I have a Synology NAS which I want to use with my Raspberry Pi 2B (which is running Tvheadend). The NAS supports NFS, SMB and AFP. I want to minimise ...
0
votes
0
answers
90
views
Performance and Media player OS for old Pi model B
I want to replace my old OSes (RaspBMC and Libreelec8) for Raspberry pi B by a more modern distribution but I also I want to ensure that the performance is not much worse.
As modern distributions ...
3
votes
1
answer
2k
views
Can I record HD 1080 p 60 fps through USB on a Raspberry Pi 3 or 4?
I have a set-top box with HDMI output and want to record some programs from it on a Raspberry Pi (model 3 or 4).
I found some HDMI to USB 3.0 converters with HDMI 'loop-out' which would enable us to ...
0
votes
1
answer
1k
views
Slow Pi (running pihole) due to large MicroSD with only one partition?
My piholePi seems somewhat slow.
It is a Raspberry Pi 2 Model B Rev 1.1, so 4 cores @ 900 mhz.
Runs Pi OS Buster
Running the Pi OS Lite version
Here is the general load, of top -d 10
Sometimes, ...
1
vote
2
answers
1k
views
Differences between B0 and C0 steppings of the BCM2711
I just acquired a Raspberry Pi 4 Model B with 4GB RAM. The processor stepping (revision) is B0 (the heat spreader says 2711ZPKFSB06B0T). It seems to be stable at 2.0 GHz with over_voltage=6; it'll ...
1
vote
1
answer
88
views
How to get more samples from ADC converter using SPI
I am trying to use ADC converter in my raspberry which has speed around 100k smp/s. I am setting clock as producent of converter recomend for 20 Mhz. But I only recive around ~ 43k samples/s and I can'...
1
vote
2
answers
4k
views
Max networking performance with RPi 4 (Gigabit ethernet), with/without a USB3 external disk connected
I want to use my RPi4 as a small home NAS. To do that, I'm trying to benchmark the maximum file transfer performance.
Workflow:
Rpi4 connected to home router with a 1 Gbit cable
computer connected ...
0
votes
0
answers
447
views
Samsung 64GB EVO Select U1 Failing SD Card Speed Test
I have a 64 GB EVO Select U1 SD Card (link). I ran the Raspberry Pi Diagnostics SD Card Speed test on it. The card always fails the random write test by a large margin (the target speed for this test ...
4
votes
2
answers
5k
views
sudo apt-get upgrade is extremely slow
I run a new installation of Minimal image based on Debian Buster on Raspberry Pi 3B.
sudo apt-get update gone as usuall - 1-2 minutes. However, sudo apt-get upgrade is running already 1:30 or so. And ...
2
votes
1
answer
184
views
How many parallel server applications are too much?
I am curious what general recommendations are.
I would like to set up the following application, ideally on one device (RPi4, 4GB):
InfluxDB and Grafana
PiHole
PiVPN and SSH
nginx (simple) ...
2
votes
1
answer
269
views
Comparison between Object Detection Solutions on Raspberry PI
I have only little experience with embedded systems. I have a Raspberry Pi 4 with 1gb RAM and a Camera Module v2.1 and want to do object detection and tracking on it. By best solution I mean a ...
0
votes
1
answer
799
views
Is it possible to use PAPI on a Raspberry Pi 4B with raspbian buster?
I want to use the PAPI library to record hardware performance counters during benchmarks, but it does not seem to work on my Raspberry Pi 4 B.
Installing PAPI was not a problem, but there are no ...
0
votes
1
answer
5k
views
Improving web browsing performance on the Raspberry Pi 3
Web browsing on the raspberry pi 3 has become rather dreadful with a later version of raspbian. I am running raspbian on a Samsung EVO+ (which is supposedly faster than most SD cards..). I don't ...
5
votes
1
answer
311
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 ...
0
votes
0
answers
55
views
Network speed problem on Raspberry Pi 3
Both my desktop (running Windows Subsystem for Linux) and raspberry pi 3 connect to router via WiFi.
Download speed from internet on desktop is decent :
~/tmp$ wget https://cdimage.debian.org/debian-...
1
vote
1
answer
2k
views
Does this flat heat sink even work for cooling?
I bought a raspberry pi 4 case, and it came with these heat sinks you see in the picture + a fan. From the sizes, I guess the flat heat sink is for the CPU. I kind of find it hard to believe that this ...
1
vote
0
answers
91
views
How to power RPi with fan from single source?
Electronics beginner here. I have Raspberry Pi 4 GB variant. I have the following power requirements:
power a 5V cooling fan 12V cooling fan (a spare cooler master)thanks @Milliways
safely (i.e. ...
3
votes
1
answer
2k
views
External SSD-Drive very slow when using mounted encrypted container
I have a Raspberry Pi4 (4GB) with a 250GB SSD connected via USB3.
The SSD has a write speed of about 70MB/s, which is very nice.
The SSD is mounted via fstab and the following settings:
LABEL=DATA /...
1
vote
0
answers
864
views
UV4L huge CPU load on streaming audio
I'm building a little baby monitor using RaspberryPi ZeroW and UV4L and run into a little problem. I'm using WebRTC to cast video and audio to my browser from RPI camera (used facedetect demo, ...
0
votes
1
answer
1k
views
Raspberry Pi 4 Low Voltage performance
I am looking what exactly happens when a Raspberry Pi 4 is powered with low voltage. I am not looking whether this will hurt the Raspberry (as this has been asked before) or how to fix this.
I ...
1
vote
0
answers
564
views
Why does Pi 3 have better WebGL than Pi 4?
Based on https://webglsamples.org/fishtank/fishtank.html
Pi 3B, Raspbian Buster, GL driver on, Chromium reports 18 FPS.
Pi 4B4, Raspbian Buster, GL driver on, Chromium reports 12 FPS.
Any idea why ...
0
votes
0
answers
380
views
Raspberry pi 3 B+ Disk IO Bottleneck
I have a RP3 with several docker containers (11) running at home, some for network purposes, other for IoT. The thing is, I've notice several issues related to disk IO, specially when performing unzip ...
4
votes
4
answers
5k
views
Performance of Raspberry Pi 4 in luks?
I found previous version was quite slow (3MB/s), but this newer Pi has more power.
What speeds can I expect with external hdd and standard installation of luks (I believe aes 256, xts, plain 64)?
1
vote
1
answer
145
views
How many blocks can a RPi 2B load per day as a Bitcoin full node?
My Raspi 2B is running a full node over a >20MBit/s internet provider (I subtracted another) and it seems that it only loads about 6 blocks a day which would amount to about 1GB per day.
Is it ...
6
votes
3
answers
6k
views
What sort of throughput is achievabe over the USB 3.0 port on the Pi-4?
Looking to run a router application on the rPi-4, and was wondering if anyone has experience using usb 3.0 -> gigabit ethernet adapters on it - specifically what adapter/chipset worked with what ...
1
vote
1
answer
683
views
Unusably slow performance on Model B Revision 2.0 using latest Raspbian kernel - advice?
I finally decided to try out a RBP that was given to me years ago. It's a Pi 1 Model B Revision 2.0 (PCB 2011.12). I installed and set up the latest Raspian kernel using NOOBS, no problem.
However, ...
3
votes
2
answers
1k
views
Cost-effectiveness of Pi cluster
Does it make sense to use Pi cluster for real computation?
My use case is to carry out intensive computation tasks 24/7. The tasks are pleasantly parallel, and there will be minimum inter-node ...
2
votes
2
answers
399
views
Would ZRAM be helpful for running OpenCV?
I'm doing some OpenCV development on a Raspberry Pi 3, and I have found some information about using ZRAM on the Pi to try and boost its processing effectiveness. I know this isn't actually adding ...