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.
@saveriovenezia10 ай бұрын
Thank you!!
@hansfehlow96573 жыл бұрын
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 Жыл бұрын
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!!!!
@breevwhyman29853 жыл бұрын
Sir, thanks since your video helped me to remember to check the only USB pen here actually works (still) as a regular drive. Vin
@AndersJackson3 жыл бұрын
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.
@TheOleHermit3 жыл бұрын
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😎
@randyfolsom3 жыл бұрын
As always, very informative. Thx for all the links.
@pgtmr27133 жыл бұрын
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.
@amnesie66153 жыл бұрын
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-ze1tg3 жыл бұрын
Thank you for the video. I will stick with the micro SD card. Because it is portable than anything else.
@BillyNoMates19743 жыл бұрын
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.
@puccaso3 жыл бұрын
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
@paulmaydaynight99253 жыл бұрын
'nomachine' is better, you can remote stream a vlc video fine
@amnesie66153 жыл бұрын
Pretty simple, VNC is laggy! ;)
@leepspvideo3 жыл бұрын
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.
@paulmaydaynight99253 жыл бұрын
no direct links allowed on yt :[
@andya58023 жыл бұрын
@@leepspvideo the WYSIWYG screen control. Ideal to support users what to do when you are too far away to be there.
@Mister-Gee-99993 жыл бұрын
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.
@mrnobody41833 жыл бұрын
Can we use scrcpy on pi zero 2 ?
@leepspvideo3 жыл бұрын
I haven’t tried
@mrnobody41833 жыл бұрын
Well, can you try and tell me please.
@xasmaniusvolk84163 жыл бұрын
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
@cuplesey2 жыл бұрын
Wonder if this would work with a Zero4u? Think I'll try this and see if that allows for more usb connections
@paulmaydaynight99253 жыл бұрын
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
@foobarbarfoo23773 жыл бұрын
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?
@leepspvideo3 жыл бұрын
Yes both the same
@yetersizbakiye81643 жыл бұрын
İ love amiga,very nice video, thanks
@leepspvideo3 жыл бұрын
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
@mkumar045 ай бұрын
nice , i was worrying why my ssd can perform so bad ,its around 1000 iops, thanks
@xasmaniusvolk84163 жыл бұрын
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...
@vincentnunna5103 жыл бұрын
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.
@leepspvideo3 жыл бұрын
I don’t think I have had it running well on the Pi. I must try again. 👍🏻
@deliciousbob3 жыл бұрын
Sry for the non-technical question, but I just wanted to mention that this OS looks amazing!!! What is it called ? thx
@obvious_giraffe83863 жыл бұрын
2:40 he says its Raspberry Pi OS. He just customized the look of it
@deliciousbob3 жыл бұрын
@@obvious_giraffe8386 Thx Richard, would be actually nice to see, what he did to get it to look like this :)
@512mb43 жыл бұрын
Bottom bar transparency can be edited without any addon
@leepspvideo3 жыл бұрын
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
@TheRedInTheSkyIsOurs3 жыл бұрын
Hi, how do you setup the Raspberry Pi Zero 2W so it boots from USB?
@leepspvideo3 жыл бұрын
See the start of this video Overclocking Raspberry Pi zero 2w. From 1000Mhz to 2147Mhz kzbin.info/www/bejne/jaTLomiopamEfsU
@alexanderpoplawski5773 жыл бұрын
I noticed, that the Pi4 in the boot test had no network. Maybe there were some timeouts encountered during boot.
@leepspvideo3 жыл бұрын
Probably because I setup the WiFi on the Zero
@alexanderpoplawski5773 жыл бұрын
@@leepspvideo I just thought, that could explain the longer boot time on the Pi 4.
@ewoks423 жыл бұрын
what's at the bottom of Pi4 4GB at 7:30?
@leepspvideo3 жыл бұрын
A battery Pi sugar pro 2 amzn.to/3mxIYuE As an Amazon Associate I earn from qualifying purchases
@breevwhyman29853 жыл бұрын
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
@leepspvideo3 жыл бұрын
64bit operating systems usually need more ram. Raspberry Pi OS 32bit with Zram and Puffin browser works well.
@breevwhyman29853 жыл бұрын
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.
@paulsanders59092 жыл бұрын
hi, is running 32bit bullseye from ssd on zero 2w snappier than sd card
@leepspvideo2 жыл бұрын
Yes the results are in the description
@FlobioPlays3 жыл бұрын
Wouldn't Pi 0 be faster on booting because of the difference in ram? 4 seconds makes sense to me.
@manuelsen31803 жыл бұрын
Thanks for sharing !
@christopherlongo34592 жыл бұрын
are you using raspberry pi os 32bit or 64bit?
@leepspvideo2 жыл бұрын
32
@leadfarmer55633 жыл бұрын
What fan do you have on that RPI?
@leepspvideo3 жыл бұрын
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
@TrollingAround3 жыл бұрын
You can change the boot order in raspi-config.
@nikolaicklamovski7543 жыл бұрын
How do you get the Pi Zero 2 W to boot from USB only in the first place?
@leepspvideo3 жыл бұрын
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 Жыл бұрын
usb is kinda HotPlug. the change that you destroy the data system by strip the powerrcable is as low as on a hdd(ssd)
@macnottsuk3 жыл бұрын
I once saw a pi vid that talked about vram. Apparently you can setup vurtual ram on your SSD drive. Which should improve performance.
@paulmaydaynight99253 жыл бұрын
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.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.
@whanauarikinui7 ай бұрын
OTG Adapter works with 3 usb and a RJ45
@martkt103 жыл бұрын
Does anyone know the maximum sd card size on the pi zero 2 ?
@leepspvideo3 жыл бұрын
I don’t have any bigger than 128gb. One source said 256 another 1tb.
@martkt103 жыл бұрын
@@leepspvideo Thank you
@jbjentertainment57293 жыл бұрын
Don't forget, pi 4 has more hardware, meaning more drivers needing to be loaded at boot.
@MinhNguyen-ut7ji11 ай бұрын
What is this os??😅😅
@leepspvideo11 ай бұрын
Raspberry Pi os Raspberry Pi Zero 2W. First time setup. Far better performance with Zram. kzbin.info/www/bejne/rIvOl6iMrt6Vf9k
@SCHaworth3 жыл бұрын
I dont think that hub works, because it might be a billboard device.
@Przemo-c3 жыл бұрын
A2 SD cards in my experience are snappier in such use cases.
@villagerjj2 жыл бұрын
For me, an ssd would be the best as it is more reliable than sd or flash
@pavan133 жыл бұрын
Raspberry Pi has changed their name in twitter to "Raspberry Pi (Taylor's Version)"
@pavan133 жыл бұрын
I think bcz of the new Album release by Taylor Swift
@leepspvideo3 жыл бұрын
A bit random
@mistercohaagen3 жыл бұрын
If they released these with actually usable RAM, they'd sell millions of them.
@leepspvideo3 жыл бұрын
I’m sure they’ll still sell millions, 2GB would be great though.
@whelanbdubs3 жыл бұрын
Not to mention they're completely sold out everywhere.