Questions tagged [performance]
Questions about software, hardware or network performance. Please use as a supplement for other, more specific tags.
204
questions
0
votes
1
answer
912
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, ...
0
votes
1
answer
284
views
Performance of Raspberry Pi 4B Bullseye VNC headless
I have headless Raspberry Pi 4B 4GB Bullseye connected over USB-C to iPad Pro and I am using VNC to connect to it directly over a USB-C cable which also powers it. I have increased GPU memory to 256 ...
3
votes
1
answer
1k
views
Execution time performance when counting up to 1,000,000,000
I have made a simple C++ program that simply counts up a variable to 1,000,000,000 and then displays the time it took. I used a simple for loop to do this.
for(long n=0;n<1000000000;n++);
The ...
1
vote
1
answer
566
views
Why Raspberry Pi 4b is slower when boot up from USB flash drive than boot up from microSD card?
Providing that what I've read in this article is true I'm wondering why it's faster to run Raspberry Pi 4b from microSD, than it is to run it from a decent speed (200MB/s read) USB Flash Drive?
Is the ...
0
votes
0
answers
55
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 ...
2
votes
2
answers
5k
views
Does being undervoltage decreases the Pi's performance?
I recently blew up the 5V 2A PSU that came with my Pi. Since then, I am using my phone's charger, 5v 1A to run my Pi. And while it runs fine most of the time, I see the undervoltage warning, while it ...
1
vote
2
answers
47
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
80
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 ...
17
votes
7
answers
57k
views
How to change the default governor?
I want to change the default governor on my pi from ondemand to performance. Is there a way of doing this?
1
vote
1
answer
49
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 ...
1
vote
1
answer
65
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
1
answer
129
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 ...
3
votes
1
answer
1k
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 ...
1
vote
0
answers
25
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
0
answers
149
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 ...
11
votes
3
answers
7k
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
0
answers
54
views
Improving Raspberry Pi 3 Hashrate
I have a Raspberry Pi 3 Model B+ (2017 printed on the circuit board) and I am mining XMR. So far my hash rate hovers at around 0.5H/s.
I have read several posts mentioning performance at around 10H/s ...
65
votes
6
answers
125k
views
How do I determine the current MHz?
I've been trying to get an accurate reading of my Raspberry Pi's MHz, since I overclocked it in /boot/config.txt
My /boot/config.txt is as following:
pi@raspbmc:~$ cat /boot/config.txt
arm_freq=900
...
0
votes
0
answers
28
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, ...
22
votes
6
answers
81k
views
How can I stress test my Raspberry Pi
I recently picked up a battery powered USB cell phone charger and I'm running some tests to see what kind of battery life I will get. Right now I'm just testing at Idle. I want to also run a test ...
-1
votes
1
answer
108
views
Is a Raspberry Pi 3 B+ "usable" enough for our coding/development, entertainment, gaming needs?
I'm planning on buying 2 units. One for myself for the purposes of learning web development, and one for my sister for entertainment purposes.
I know that the latest iteration of the device will ...
6
votes
3
answers
5k
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
0
answers
731
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 ...
2
votes
2
answers
2k
views
Performance with an encrypted disk
Is Raspberry Pi (model B, rev. 2) suitable for a home file server with external disks encrypted with LUKS? In particular, is the de/encryption throughput reasonable? I used to have such a disk in a ...
3
votes
4
answers
3k
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
0
answers
257
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
990
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 ...
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 ...
27
votes
5
answers
33k
views
Why is my SD card slow?
My SD card seems to be running slow. I have an ADATA 16 GB SDHC Class 10 card. I checked the compatibility list which lists a card with similar specifications, and it states that it is "working". Even ...
0
votes
1
answer
669
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 ...
3
votes
1
answer
255
views
Transputer Emulation
Given that next year is the 30th anniversary of the Inmos Transputer, I'd like to try to set up a sort of emulation of the distributed architecture using the RPi. Although I'm only at the planning ...
0
votes
0
answers
98
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 ...
1
vote
1
answer
73
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'...
0
votes
0
answers
598
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
820
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
4k
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
81
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
402
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
34
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 ...
0
votes
0
answers
332
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 ...
1
vote
2
answers
3k
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 ...
-1
votes
1
answer
861
views
Raspberry Pi 3 Model B+ vs Odroid C2 huge performance difference
So i benchmarked my Raspi 3 B+ and an Odroid C2 with sysbench by in single and multithread operation by using
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run
The results are kinda ...
2
votes
1
answer
212
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 ...
2
votes
1
answer
8k
views
Pi 3 overall slow performance [closed]
I recently bought my first Pi 3 Model B with a 32GB SD Card. I find overall it is very slow. My Atom (Android) is much faster compared to a Pi.
Do I need to do something for the Pi to perform better? ...
0
votes
0
answers
397
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 ...
3
votes
2
answers
4k
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
3
answers
5k
views
Optimising raspbian performance for python script
(I know this is probably the most overkilled question but)
I've designed a pretty heavy code/script in python, which yes would have been better implemented in c, but in saying that short of over ...
1
vote
1
answer
1k
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 ...
2
votes
1
answer
151
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) ...
43
votes
2
answers
23k
views
What kind of performance can I expect from using a Raspberry Pi as a webserver?
Has anyone done some web server benchmarking on their Raspi? I don't have my Raspi yet but I'm planning on using it as a web server and I'm interested to see stats for:
Number of requests per second
...