Warning: Can't find topic Blog.WebMenu
You are here: Beat » Personal Infostructure » RaspberryPi

Raspberry Pi

09 Aug 2023 - 14:08 | Version 16 |

Meine Installation

Hardware

  • Raspberry Pi 4B 2GB
  • Intenso SSD per USB3 angeschlossen als Boot-Device

Software

Fernbedienung von Maus und Tastatur von Windows aus

  • Allgemeine Erklärung
  • Konkrete Anleitung (Dez 21)
  • Es braucht ein Konto bei synergy um das Linux-Paket herunterladen zu können von https://symless.com/synergy/download (für einen raspberry pi 3 wird die ARMHF-Architektur benötigt)
  • mit scp auf den pi kopieren
  • mit sudo apt install ./synergy.deb installieren
  • sudo mkdir -p ~/.config/lxsession/LXDE
  • sudo touch ~/.config/lxsession/LXDE/autostart
  • sudo nano ~/.config/lxsession/LXDE/autostart
  • ~/.startsynergy.sh
  • Datei speichern mit Control-X
  • sudo nano ~/.startsynergy.sh
  • #!/bin/bash
  • killall synergyc
  • sleep 1
  • synergyc 192.168.80.15 (Wenn der steuernde Rechne unter 192.168.80.15 erreichbar ist)
  • exit 0
  • sudo chmod 777 ~/.startsynergy.sh

Docker installieren

CPU-Load von pulseaudio verhindern

Installation auf USB-SSD zügeln

  • Kopierscript unter https://github.com/billw2/rpi-clone
  • Booten ab USB ermöglichen mit echo program_usb_boot_mode=1 | sudo tee -a /boot/config.txt
  • Hat problemlos geklappt, nachdem ich den Raspi während des clonens gekühlt habe.

Probleme

Kamera

Passiver Lüfter

Ein passiver Lüfter senkt bei mir die CPU-Temperatur um ca. 4°:

temp.jpg

Kühlkörper

  • Kühlkörper BGA-STD-020 selbstklebend für CHF 3.90 bei FUST

Intenso SSD Probleme mit Raspi 4

  • https://forums.raspberrypi.com/viewtopic.php?t=320278: "The problem is likely the USB to SATA adaptor not the SSD. The idVendor=152d, idProduct=0579 signifies a JMicro chip which is known to have issues with 4Bs. Lots of posts on the form here about that. Also read https://github.com/raspberrypi/linux/issues/3070"
  • Try adding this to the beginning of /boot/cmdline.txt followed by a single space (keep it all one line). usb-storage.quirks=152d:0579:u That should get your SSD with JMicron chip working on USB 3.0, but it's not a true fix because the SSD will not be operating at best performance (USB mass-storage protocol instead of UASP). Should still be plenty fast, though (much faster than SD card).

Gehäuse

Disk Performance Raspi 4

SSD Samsung T7 auf USB3-Port

     Category                  Test                      Result
HDParm                    Disk Read                 324.94 MB/s
HDParm                    Cached Disk Read          294.98 MB/s
DD                        Disk Write                170 MB/s
FIO                       4k random read            22045 IOPS (88180 KB/s)
FIO                       4k random write           10551 IOPS (42205 KB/s)
IOZone                    4k read                   17365 KB/s
IOZone                    4k write                  21727 KB/s
IOZone                    4k random read            18460 KB/s
IOZone                    4k random write           29154 KB/s

                          Score: 7722

SSD Samsung T7 auf USB3-Port (aber nur mit USB-Mass storage)

     Category                  Test                      Result
HDParm                    Disk Read                 322.89 MB/s
HDParm                    Cached Disk Read          297.52 MB/s
DD                        Disk Write                161 MB/s
FIO                       4k random read            21997 IOPS (87991 KB/s)
FIO                       4k random write           9932 IOPS (39728 KB/s)
IOZone                    4k read                   17351 KB/s
IOZone                    4k write                  23046 KB/s
IOZone                    4k random read            18553 KB/s
IOZone                    4k random write           27938 KB/s

                          Score: 7461

SSD Intenso auf USB3-Port (aber nur mit USB-Mass storage)


     Category                  Test                      Result
HDParm                    Disk Read                 257.21 MB/s
HDParm                    Cached Disk Read          264.26 MB/s
DD                        Disk Write                150 MB/s
FIO                       4k random read            4090 IOPS (16361 KB/s)
FIO                       4k random write           3623 IOPS (14493 KB/s)
IOZone                    4k read                   23938 KB/s
IOZone                    4k write                  19021 KB/s
IOZone                    4k random read            15290 KB/s
IOZone                    4k random write           20560 KB/s

                          Score: 5159

USB-Stick auf USB3-Port

     Category                  Test                      Result
HDParm                    Disk Read                 36.27 MB/s
HDParm                    Cached Disk Read          121.76 MB/s
DD                        Disk Write                8.9 MB/s
FIO                       4k random read            1760 IOPS (7043 KB/s)
FIO                       4k random write           598 IOPS (2394 KB/s)
IOZone                    4k read                   17424 KB/s
IOZone                    4k write                  3028 KB/s
IOZone                    4k random read            7789 KB/s
IOZone                    4k random write           2284 KB/s

                          Score: 965

Compare with previous benchmark results at:
https://pibenchmarks.com/
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Seite genereriert um 09 May 2024 - 16:36
Ideas, requests, problems regarding wiki.doebe.li? Send feedback

This page was cached on 09 May 2024 - 16:36.