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.
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.
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!!!!
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.
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😎
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.
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.
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.
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.
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
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
Thanks, me too Pimiga 1.5 4000+ games. Amiga A500, A1200 CD32. Raspberry Pi 3,4 & 400 ruclips.net/video/b5bMuwEzFj0/видео.html Pimiga Fully Loaded 1797 Amiga Games & much more. A500, A1200 CD32. Raspberry Pi 4 / 400 ruclips.net/video/-j7CWep3FMc/видео.html AMIGA CD32 emulator Raspberry Pi 4 FS-UAE gameplay test plus cpu temp check ruclips.net/video/gxUD2YCSDLs/видео.html AMIGA Emulator Raspberry Pi 4 FS-UAE Raspbian gameplay test ruclips.net/video/RFjH1W2rq1U/видео.html AMIGA 600HD Gotek Drive Installation, Flash Floppy and MKIV mouse adaptor ruclips.net/video/IioWSoI1p-g/видео.html Part 2 Amiga from the loft PCMPCIA Compact Flash PC 3.5” problems ruclips.net/video/4IWIdNHrHOo/видео.html Amiga A600HD Games Test brought down from loft part 1 ruclips.net/video/dTW34kSqkJg/видео.html
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...
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
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.
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 ruclips.net/video/rTrKYcOOq0Y/видео.html
See the start of this video. ruclips.net/video/Wshq5rpDQHc/видео.html I didn’t have to change anything, just write the os to usb. Some usb sata devices aren’t compatible.
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
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.
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.
Thank you!!
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.
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!!!!
Sir, thanks since your video helped me to remember to check the only USB pen here actually works (still) as a regular drive.
Vin
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.
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😎
As always, very informative. Thx for all the links.
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.
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.
Thank you for the video. I will stick with the micro SD card. Because it is portable than anything else.
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.
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
'nomachine' is better, you can remote stream a vlc video fine
Pretty simple, VNC is laggy! ;)
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.
no direct links allowed on yt :[
@@leepspvideo the WYSIWYG screen control. Ideal to support users what to do when you are too far away to be there.
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.
Can we use scrcpy on pi zero 2 ?
I haven’t tried
Well, can you try and tell me please.
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
Wonder if this would work with a Zero4u? Think I'll try this and see if that allows for more usb connections
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
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?
Yes both the same
İ love amiga,very nice video, thanks
Thanks, me too
Pimiga 1.5 4000+ games. Amiga A500, A1200 CD32. Raspberry Pi 3,4 & 400
ruclips.net/video/b5bMuwEzFj0/видео.html
Pimiga Fully Loaded 1797 Amiga Games & much more. A500, A1200 CD32. Raspberry Pi 4 / 400
ruclips.net/video/-j7CWep3FMc/видео.html
AMIGA CD32 emulator Raspberry Pi 4 FS-UAE gameplay test plus cpu temp check
ruclips.net/video/gxUD2YCSDLs/видео.html
AMIGA Emulator Raspberry Pi 4 FS-UAE Raspbian gameplay test
ruclips.net/video/RFjH1W2rq1U/видео.html
AMIGA 600HD Gotek Drive Installation, Flash Floppy and MKIV mouse adaptor
ruclips.net/video/IioWSoI1p-g/видео.html
Part 2 Amiga from the loft PCMPCIA Compact Flash PC 3.5” problems
ruclips.net/video/4IWIdNHrHOo/видео.html
Amiga A600HD Games Test brought down from loft part 1
ruclips.net/video/dTW34kSqkJg/видео.html
nice , i was worrying why my ssd can perform so bad ,its around 1000 iops, thanks
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...
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.
I don’t think I have had it running well on the Pi. I must try again. 👍🏻
Sry for the non-technical question, but I just wanted to mention that this OS looks amazing!!! What is it called ? thx
2:40 he says its Raspberry Pi OS. He just customized the look of it
@@obvious_giraffe8386 Thx Richard, would be actually nice to see, what he did to get it to look like this :)
Bottom bar transparency can be edited without any addon
See 6.30 in this video
Custom Raspberry Pi OS. Create a backup Restore to SD, USB or SSD. Raspberry Pi 4.
ruclips.net/video/pPTaozHIQeU/видео.html
Hi, how do you setup the Raspberry Pi Zero 2W so it boots from USB?
See the start of this video
Overclocking Raspberry Pi zero 2w. From 1000Mhz to 2147Mhz
ruclips.net/video/Wshq5rpDQHc/видео.html
I noticed, that the Pi4 in the boot test had no network. Maybe there were some timeouts encountered during boot.
Probably because I setup the WiFi on the Zero
@@leepspvideo I just thought, that could explain the longer boot time on the Pi 4.
what's at the bottom of Pi4 4GB at 7:30?
A battery
Pi sugar pro 2 amzn.to/3mxIYuE
As an Amazon Associate I earn from qualifying purchases
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
64bit operating systems usually need more ram. Raspberry Pi OS 32bit with Zram and Puffin browser works well.
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.
hi, is running 32bit bullseye from ssd on zero 2w snappier than sd card
Yes the results are in the description
Wouldn't Pi 0 be faster on booting because of the difference in ram? 4 seconds makes sense to me.
Thanks for sharing !
are you using raspberry pi os 32bit or 64bit?
32
What fan do you have on that RPI?
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
ruclips.net/video/rTrKYcOOq0Y/видео.html
You can change the boot order in raspi-config.
How do you get the Pi Zero 2 W to boot from USB only in the first place?
See the start of this video. ruclips.net/video/Wshq5rpDQHc/видео.html
I didn’t have to change anything, just write the os to usb. Some usb sata devices aren’t compatible.
usb is kinda HotPlug.
the change that you destroy the data system by strip the powerrcable is as low as on a hdd(ssd)
I once saw a pi vid that talked about vram. Apparently you can setup vurtual ram on your SSD drive. Which should improve performance.
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
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.
OTG Adapter works with 3 usb and a RJ45
Does anyone know the maximum sd card size on the pi zero 2 ?
I don’t have any bigger than 128gb. One source said 256 another 1tb.
@@leepspvideo Thank you
Don't forget, pi 4 has more hardware, meaning more drivers needing to be loaded at boot.
What is this os??😅😅
Raspberry Pi os
Raspberry Pi Zero 2W. First time setup. Far better performance with Zram.
ruclips.net/video/vZkfuVyybIw/видео.html
I dont think that hub works, because it might be a billboard device.
A2 SD cards in my experience are snappier in such use cases.
For me, an ssd would be the best as it is more reliable than sd or flash
Raspberry Pi has changed their name in twitter to "Raspberry Pi (Taylor's Version)"
I think bcz of the new Album release by Taylor Swift
A bit random
If they released these with actually usable RAM, they'd sell millions of them.
I’m sure they’ll still sell millions, 2GB would be great though.
Not to mention they're completely sold out everywhere.