Usb boot Raspberry Pi zero 2w. Speed tests SSD Vs SD Vs USB drive.

  Рет қаралды 32,969

leepspvideo

leepspvideo

Күн бұрын

Пікірлер: 80
@pepefromthecerro7357
@pepefromthecerro7357 2 жыл бұрын
So I was playing with the usb boot thingy on the pi zero 2 w and discovered something: Whenever the board has no sd card inserted and there is a usb drive connected (boots from this), the raspberry will check constantly if a sd card is present, and by doing that it will use about 8-10% cpu utilization (may be higher). You can check this easily just looking at the board led blinking in a pattern 1:15, 1:19, 1:23. You can also check this with the "top" command, a process named "kworker" at the very top must be visible. There is a solution tho, you just need to add "dtparam=sd_poll_once" in the config.txt file (/boot/config.txt), this parameter should tell the board to only check for a sd card once at boot. Well that or simply leaving a sd card inserted in the slot (could be a blank sd card, just need to be one there) while booting via usb. This may be a negligible thing, but with so much resource on the pi zero 2 w, it couldn't hurt saving that percentage of cpu. (Actually, while I was trying to play music on the pi, there was a kind of distortion and who would have though that the culprit was the process I talked about previously). The funny thing is that it appears that every pi suffers from this (the ones with usb boot capabilities it is). Yes, even the pi 4b, I recommend checking jamesachambers.com/raspberry-pi-reclaim-1-cpu-usage-when-ssd-msd-booting/ Sorry for the long comment, I just though that this may be useful.
@saveriovenezia
@saveriovenezia 10 ай бұрын
Thank you!!
@hansfehlow9657
@hansfehlow9657 3 жыл бұрын
To speed up boot, raspi-config in terminal, Advanced Options, Boot Order, USB Boot, this will look for the boot to your SSD before checking the SD slot. The other option looks for an SD card first. My Pi 4 8GB starts Bullseye in 29.6 seconds to GUI screen. Don't know if the helps as I don't have any high speed SD cards. Let me know.
@hamonic-fg7fx
@hamonic-fg7fx Жыл бұрын
I am thinking about to get one of this board that help me to transfer photo from SD to SSD harddrive during travel. And I dont want want to bring my laptop. now I consider to buy one zero 2w. thank for sharing this information, and this is very very useful for me!!!!
@breevwhyman2985
@breevwhyman2985 3 жыл бұрын
Sir, thanks since your video helped me to remember to check the only USB pen here actually works (still) as a regular drive. Vin
@AndersJackson
@AndersJackson 3 жыл бұрын
The RPi 4 has larger RAM, so it have more buffers so it have less read and write to the device. Which doesn't happen when you boot. SD are not build for using as general computer storage, so it will be faster. And more stable. Remote Desktop is actually another login all together, so it is on another screen all together. You see that if you add another user with another desktop background. So you could run different users at the same time in the RPi.
@TheOleHermit
@TheOleHermit 3 жыл бұрын
I found that booting a RPi 4 from USB3.0 is faster than the uSD. So, I have a uSD-USB3.x adapter, which I use to boot into any of a variety of OS builds on uSD cards. Then, my SSD data and library of downloads is never disturbed and always accessible. Since the SSD r/w is limited by USB3, performance is nearly the same as booting from the SSD, without all the hassles of protecting data, prior to writing an OS onto the SSD. Works best for me. JS😎
@randyfolsom
@randyfolsom 3 жыл бұрын
As always, very informative. Thx for all the links.
@pgtmr2713
@pgtmr2713 3 жыл бұрын
Bar is going to work better with usb 3.0. Also I've had slow downs on all types of storage. A format and refresh usually fixes that. My oldest Bar was running really slow, failed the tests. It now tests good comparable to another of the same type and size. Both had their own individual refresh Twister, not cloned.
@amnesie6615
@amnesie6615 3 жыл бұрын
The point is not if it's worth it, but if it is possible! A lot of SDcards are not designed for a whole lot of write cycles. So I welcome this option.
@Lp-ze1tg
@Lp-ze1tg 3 жыл бұрын
Thank you for the video. I will stick with the micro SD card. Because it is portable than anything else.
@BillyNoMates1974
@BillyNoMates1974 3 жыл бұрын
good video. Some interesting results. I done a test with rasbian pie OS on my laptop to see if plex will run on it. It actually ran fine over wifi for one streaming movie (1080p mp 4) and only was using 580mb ram on the rasbian pie os. So its going to be tight but I may actually be able to make a miniature Pi Zero 2 W Plex server. my only problem is SD Cards only go to a max size of 1 TB ! I want more.
@puccaso
@puccaso 3 жыл бұрын
12:54 I still don't get why you don't use the build in Vnc? I mean, we pay for the license with each rpi we buy lol
@paulmaydaynight9925
@paulmaydaynight9925 3 жыл бұрын
'nomachine' is better, you can remote stream a vlc video fine
@amnesie6615
@amnesie6615 3 жыл бұрын
Pretty simple, VNC is laggy! ;)
@leepspvideo
@leepspvideo 3 жыл бұрын
I need to revisit vnc and try NoMachine. Both are on my list and have been on my iPad for months. What do you think the advantages are of VNC over xrdp.
@paulmaydaynight9925
@paulmaydaynight9925 3 жыл бұрын
no direct links allowed on yt :[
@andya5802
@andya5802 3 жыл бұрын
@@leepspvideo the WYSIWYG screen control. Ideal to support users what to do when you are too far away to be there.
@Mister-Gee-9999
@Mister-Gee-9999 3 жыл бұрын
Lee 00:39 did you mix up hdmi and micro usb? I think you said micro hdmi. But we all knew what you meant. I'm booting mine with an emmc that works well.
@mrnobody4183
@mrnobody4183 3 жыл бұрын
Can we use scrcpy on pi zero 2 ?
@leepspvideo
@leepspvideo 3 жыл бұрын
I haven’t tried
@mrnobody4183
@mrnobody4183 3 жыл бұрын
Well, can you try and tell me please.
@xasmaniusvolk8416
@xasmaniusvolk8416 3 жыл бұрын
7:40 probably because it has to initialize more - it's like with old XT PCs - the newer model of the same PC may have a faster CPU and more RAM but boots slightly slower
@cuplesey
@cuplesey 2 жыл бұрын
Wonder if this would work with a Zero4u? Think I'll try this and see if that allows for more usb connections
@paulmaydaynight9925
@paulmaydaynight9925 3 жыл бұрын
does using the imager boot rom image to switch the boot sequence speed up the usb boot time i wonder, what about a slower basics 16/32meg usb stick too. just got the [2 Pack],Rekavin 34W/6A Quick Charge 3.0 Wall Charger Multi Port USB marked 3.1a per port so these might better power several z2w with peripherals... the Youmile ENC28J60 Ethernet Shield LAN Network Module 3.3V SPI Interface is supposed to work [to be tested, need to find the right pinout data] so some spi etc usb should also work if its got an overlay
@foobarbarfoo2377
@foobarbarfoo2377 3 жыл бұрын
Good. You can make a diff of the two boot traces to check what steps each system follows at boot. Are the two CPUs clocked at the same frequency?
@leepspvideo
@leepspvideo 3 жыл бұрын
Yes both the same
@yetersizbakiye8164
@yetersizbakiye8164 3 жыл бұрын
İ love amiga,very nice video, thanks
@leepspvideo
@leepspvideo 3 жыл бұрын
Thanks, me too Pimiga 1.5 4000+ games. Amiga A500, A1200 CD32. Raspberry Pi 3,4 & 400 kzbin.info/www/bejne/mGbFfqitet95oJI Pimiga Fully Loaded 1797 Amiga Games & much more. A500, A1200 CD32. Raspberry Pi 4 / 400 kzbin.info/www/bejne/Y5uadIqbpZh5g8U AMIGA CD32 emulator Raspberry Pi 4 FS-UAE gameplay test plus cpu temp check kzbin.info/www/bejne/nam4dWWPeLh3gtU AMIGA Emulator Raspberry Pi 4 FS-UAE Raspbian gameplay test kzbin.info/www/bejne/iHfNeWSNZ9ekZ7c AMIGA 600HD Gotek Drive Installation, Flash Floppy and MKIV mouse adaptor kzbin.info/www/bejne/f5rSiIalfpajY8k Part 2 Amiga from the loft PCMPCIA Compact Flash PC 3.5” problems kzbin.info/www/bejne/anq6epeEfdd7hdE Amiga A600HD Games Test brought down from loft part 1 kzbin.info/www/bejne/moW6ZGehiNaegMk
@mkumar04
@mkumar04 5 ай бұрын
nice , i was worrying why my ssd can perform so bad ,its around 1000 iops, thanks
@xasmaniusvolk8416
@xasmaniusvolk8416 3 жыл бұрын
2:24 I think you actually can.... I just can't find the picture that shows how for some reason but with the pinout maybe you'll come up with a solution yourself...
@vincentnunna510
@vincentnunna510 3 жыл бұрын
Hi @leepvideo did you already try GeForce now on raspberry pi 4? I dont Know if It's a good way to play windows games.
@leepspvideo
@leepspvideo 3 жыл бұрын
I don’t think I have had it running well on the Pi. I must try again. 👍🏻
@deliciousbob
@deliciousbob 3 жыл бұрын
Sry for the non-technical question, but I just wanted to mention that this OS looks amazing!!! What is it called ? thx
@obvious_giraffe8386
@obvious_giraffe8386 3 жыл бұрын
2:40 he says its Raspberry Pi OS. He just customized the look of it
@deliciousbob
@deliciousbob 3 жыл бұрын
@@obvious_giraffe8386 Thx Richard, would be actually nice to see, what he did to get it to look like this :)
@512mb4
@512mb4 3 жыл бұрын
Bottom bar transparency can be edited without any addon
@leepspvideo
@leepspvideo 3 жыл бұрын
See 6.30 in this video Custom Raspberry Pi OS. Create a backup Restore to SD, USB or SSD. Raspberry Pi 4. kzbin.info/www/bejne/poG3kqKwfa6Em7c
@TheRedInTheSkyIsOurs
@TheRedInTheSkyIsOurs 3 жыл бұрын
Hi, how do you setup the Raspberry Pi Zero 2W so it boots from USB?
@leepspvideo
@leepspvideo 3 жыл бұрын
See the start of this video Overclocking Raspberry Pi zero 2w. From 1000Mhz to 2147Mhz kzbin.info/www/bejne/jaTLomiopamEfsU
@alexanderpoplawski577
@alexanderpoplawski577 3 жыл бұрын
I noticed, that the Pi4 in the boot test had no network. Maybe there were some timeouts encountered during boot.
@leepspvideo
@leepspvideo 3 жыл бұрын
Probably because I setup the WiFi on the Zero
@alexanderpoplawski577
@alexanderpoplawski577 3 жыл бұрын
@@leepspvideo I just thought, that could explain the longer boot time on the Pi 4.
@ewoks42
@ewoks42 3 жыл бұрын
what's at the bottom of Pi4 4GB at 7:30?
@leepspvideo
@leepspvideo 3 жыл бұрын
A battery Pi sugar pro 2 amzn.to/3mxIYuE As an Amazon Associate I earn from qualifying purchases
@breevwhyman2985
@breevwhyman2985 3 жыл бұрын
Sir, do you know any GOOD 64 bit linux versions for this board yet? twister? i ask because the..... $1 per month...... "ARDOUR digital audio workstation"...... is available for the Pi but it is 64 bit
@leepspvideo
@leepspvideo 3 жыл бұрын
64bit operating systems usually need more ram. Raspberry Pi OS 32bit with Zram and Puffin browser works well.
@breevwhyman2985
@breevwhyman2985 3 жыл бұрын
okay, thank you ........since i don't realize those facts. ........ This windows here is 64 bit and has a large large page file. THe official Msoft web page told me how to set the page file for this particular win OS. Thanks. Innovative tools are always useful. "Bandwidth Hero" is helpful for speeding up WEB on a decent CPU. Yes Puffin is good for free. thanks.
@paulsanders5909
@paulsanders5909 2 жыл бұрын
hi, is running 32bit bullseye from ssd on zero 2w snappier than sd card
@leepspvideo
@leepspvideo 2 жыл бұрын
Yes the results are in the description
@FlobioPlays
@FlobioPlays 3 жыл бұрын
Wouldn't Pi 0 be faster on booting because of the difference in ram? 4 seconds makes sense to me.
@manuelsen3180
@manuelsen3180 3 жыл бұрын
Thanks for sharing !
@christopherlongo3459
@christopherlongo3459 2 жыл бұрын
are you using raspberry pi os 32bit or 64bit?
@leepspvideo
@leepspvideo 2 жыл бұрын
32
@leadfarmer5563
@leadfarmer5563 3 жыл бұрын
What fan do you have on that RPI?
@leepspvideo
@leepspvideo 3 жыл бұрын
Pimoroni fan shim. I have had it for a long time. It’s surprisingly quiet Raspberry Pi 4 FAN SHIM Pimoroni gaming test PSP GTA PPSSPP kzbin.info/www/bejne/qIXVfIyZhLSkZrs
@TrollingAround
@TrollingAround 3 жыл бұрын
You can change the boot order in raspi-config.
@nikolaicklamovski754
@nikolaicklamovski754 3 жыл бұрын
How do you get the Pi Zero 2 W to boot from USB only in the first place?
@leepspvideo
@leepspvideo 3 жыл бұрын
See the start of this video. kzbin.info/www/bejne/jaTLomiopamEfsU I didn’t have to change anything, just write the os to usb. Some usb sata devices aren’t compatible.
@alexf2667
@alexf2667 Жыл бұрын
usb is kinda HotPlug. the change that you destroy the data system by strip the powerrcable is as low as on a hdd(ssd)
@macnottsuk
@macnottsuk 3 жыл бұрын
I once saw a pi vid that talked about vram. Apparently you can setup vurtual ram on your SSD drive. Which should improve performance.
@paulmaydaynight9925
@paulmaydaynight9925 3 жыл бұрын
see don's zram...script it should also be possible in the -pikvm- virtual ethernet over usb case to mount an old fashioned generic ram disk on a remote machine & link that to a vram scratch/swap file to be tested
@MysticWhiteDragon.
@MysticWhiteDragon. 3 жыл бұрын
FYI, a Bluetooth device is paired in the OS both hardware and software. So anytime you use a new device or OS you will need to repair the Bluetooth device.
@whanauarikinui
@whanauarikinui 7 ай бұрын
OTG Adapter works with 3 usb and a RJ45
@martkt10
@martkt10 3 жыл бұрын
Does anyone know the maximum sd card size on the pi zero 2 ?
@leepspvideo
@leepspvideo 3 жыл бұрын
I don’t have any bigger than 128gb. One source said 256 another 1tb.
@martkt10
@martkt10 3 жыл бұрын
@@leepspvideo Thank you
@jbjentertainment5729
@jbjentertainment5729 3 жыл бұрын
Don't forget, pi 4 has more hardware, meaning more drivers needing to be loaded at boot.
@MinhNguyen-ut7ji
@MinhNguyen-ut7ji 11 ай бұрын
What is this os??😅😅
@leepspvideo
@leepspvideo 11 ай бұрын
Raspberry Pi os Raspberry Pi Zero 2W. First time setup. Far better performance with Zram. kzbin.info/www/bejne/rIvOl6iMrt6Vf9k
@SCHaworth
@SCHaworth 3 жыл бұрын
I dont think that hub works, because it might be a billboard device.
@Przemo-c
@Przemo-c 3 жыл бұрын
A2 SD cards in my experience are snappier in such use cases.
@villagerjj
@villagerjj 2 жыл бұрын
For me, an ssd would be the best as it is more reliable than sd or flash
@pavan13
@pavan13 3 жыл бұрын
Raspberry Pi has changed their name in twitter to "Raspberry Pi (Taylor's Version)"
@pavan13
@pavan13 3 жыл бұрын
I think bcz of the new Album release by Taylor Swift
@leepspvideo
@leepspvideo 3 жыл бұрын
A bit random
@mistercohaagen
@mistercohaagen 3 жыл бұрын
If they released these with actually usable RAM, they'd sell millions of them.
@leepspvideo
@leepspvideo 3 жыл бұрын
I’m sure they’ll still sell millions, 2GB would be great though.
@whelanbdubs
@whelanbdubs 3 жыл бұрын
Not to mention they're completely sold out everywhere.
Raspberry Pi Zero 2W First time minimal setup. Powered by TV.
15:16
Great USB hub for Pi Zero 2 W. How many drives can I plug in.
15:58
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Raspberry Pi Zero 2W optimised Darling OS.
11:29
leepspvideo
Рет қаралды 21 М.
The New Raspberry Pi Zero 2 W Is Here! First Look & Review
12:18
Raspberry Pi 5 16GB. How much Ram do you need?
22:54
leepspvideo
Рет қаралды 15 М.
Raspberry Pi 5 Proper boot control
5:58
leepspvideo
Рет қаралды 9 М.
Deskpi lite NVMe case for Raspberry Pi 5
10:08
leepspvideo
Рет қаралды 25 М.
Fastest storage for Raspberry Pi 500?
10:14
leepspvideo
Рет қаралды 16 М.
Raspberry Pi 500 14” Tablet
12:42
leepspvideo
Рет қаралды 21 М.
Raspberry Pi 500 First Look & Teardown. New 15.6" display test
15:34
Pimiga 4 on Raspberry Pi 500
10:57
leepspvideo
Рет қаралды 12 М.
Pi News 94. 16GB Raspberry Pi 5 Coming Soon?
10:33
leepspvideo
Рет қаралды 13 М.