ptrsr / pi-ci Goto Github PK
View Code? Open in Web Editor NEWPrepare Raspberry Pi 3, 4 & 5 configurations using a virtual machine.
License: Other
Prepare Raspberry Pi 3, 4 & 5 configurations using a virtual machine.
License: Other
Hello there, thanks for this project.
I'm trying it in my desktop with Debian 9 but in pi-ci I'm having really really slow i/o and network performances that make it almost unusable.
I/O in my desktop:
time dd if=/dev/zero of=test.dat bs=1024 count=100000
100000+0 record dentro
100000+0 record fuori
102400000 bytes (102 MB, 98 MiB) copied, 0,314238 s, 326 MB/s
real 0m0,356s
user 0m0,048s
sys 0m0,256s
I/O in pi-ci:
100000+0 records in
100000+0 records out
102400000 bytes (102 MB, 98 MiB) copied, 62.5928 s, 1.6 MB/s
real 1m2.874s
user 0m8.865s
sys 0m49.498s
Network speed in my desktop:
Download: 19.81 Mbit/s
Upload: 18.49 Mbit/s
Network speed in pi-ci:
Download: 1.04 Mbit/s
Upload: 1.00 Mbit/s
I also tested pi-ci in a vm with debian 10 in my proxmox server with almost same results.
Are these the expected performances or I'm having problems?
Hi,
This look promising !!!. I would like to emulate the pi4. What need to be changed to get a pi4 emulation ?
Thanx
Please can you describe how to configure a different OS (eg; https://en.opensuse.org/HCL:Raspberry_Pi4). Do I need to checkout and modify the source then build my own docker image, or is it possible to do this using the default image?
Also, where is this specified in the source? I think it's set via environment variables, but I can't find where the environment variables are set.
Thanks!
When use https://github.com/ptrsr/pi-ci/blob/master/tools/run.sh file, the command failed with these error:
docker: Error response from daemon: error gathering device information while adding custom device "/dev/mmcblk0": no such file or directory.
Device exists in docker container
pi@raspberrypi:~ $ ls /dev/mmc* -l
brw-rw---- 1 root disk 179, 0 Sep 28 13:36 /dev/mmcblk0
brw-rw---- 1 root disk 179, 1 Sep 28 13:36 /dev/mmcblk0p1
brw-rw---- 1 root disk 179, 2 Sep 28 13:36 /dev/mmcblk0p2
this command works:
docker run --rm -it -v $(realpath .)/dist:/dist ptrsr/pi-ci start
How to use with armhf version Raspberry Pi OS?
It is a brilliant solution running in docker. I continuously get error on docker screen about inode checksum error:
[ time] EXT4-fs error (device mmcblk0p2): ext4_lookup:1701: inode #45072: comm <anycommand>: iget: checksum invalid
It is a very new, clean install of dockerfile.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.