Raspberry Pi 4B Maintenance Guide - pip3 & disk performance test
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- linux, python, raspberry-pi
- Domain
- documentation, embedded-iot, performance
Research direction
No repository file, test, or entry point is named. Start by locating the existing Raspberry Pi or maintenance documentation, then compare its conventions with the commands and links in the issue; done means the pip installation and disk read/write tests are documented in the appropriate guide.
Written by the indexing model from the issue text.
Description
1.Install pip
#python3 -m pip install
/usr/bin/python3: No module named pip
You need to install python3-pip
#apt install python3-pip
2.Performance disk write performance test
Perform write perf test on root disk, just write a file to /tmp/temp.file
sudo dd if=/dev/zero of=/tmp/temp.file oflag=direct bs=128k count=8k
Perform write test on /dev/sda2 which is mounted at /data:
sudo dd if=/dev/zero of=/data/temp.file oflag=direct bs=128k count=8k
3.Performance disk read performance test
sudo apt install hdparm
sudo hdparm -Ttv /dev/sda2
On my test, both the write performance on micro SD card, and Samsung EVO 840 SSD are about 15 MB/s, it is quiet slow.
Note on raspberry pi disk io performance:
https://rvprasad.medium.com/how-fast-is-i-o-on-a-raspberry-pi-3b-fbf85cd6e58d
https://github.com/rvprasad/io-perf
https://raspberrypi.stackexchange.com/questions/43618/raspberry-pi-3-micro-sd-card-speed
- Dominant language
- Python
- Stars
- 5
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from davideuler/programming-tips
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
build milvus on Mac Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in davideuler/programming-tips
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100