Announcing Pegasus Frontend
-
@fluffypillow Take your time, we're talking about 20 years old games so I think we're not in a hurry ;)
-
@fluffypillow Understand that completely. Although I will admit i have been checking here daily for the documentation updates :(
Either way, take your time :)
-
A little bit of benchmarking:
After I moved all my art to the USB, Pegasus boots in 1 minut 27 seconds (5030 games with logo, image and video).If I quit Pegasus and immediately start it again, same operation takes 7 seconds!!
How come there's such a big difference? Does a lot of the data get copied to the RPi RAM, so the second time it reads from this instead of USB?
"Looking for games" part takes 15 seconds, the rest is "looking for artwork".
I don't think my USB is very fast (it's a Maxwell 64GB USB 2.0), and I wanna test a 3.1, but haven't had the opportunity yet.
Pegasus is version alpha5-63.
-
@andershp said in Announcing Pegasus Frontend:
How come there's such a big difference? Does a lot of the data get copied to the RPi RAM, so the second time it reads from this instead of USB?
Most likely yes, it caches some of the filesystem info in the memory, so subsequent access for the same folder is faster. USB 3.1 won't make a big difference, since the PI is not capable of using more than USB 2 speeds.
-
@mitu Is there any way of "prepping" the system for Pegasus?
The 1,5 minute bootup is extremely slow.When it comes to USB2 vs USB 3.1 I have seen tests that even on USB2 readers there can be a significant speedboost.
-
@andershp said in Announcing Pegasus Frontend:
@mitu Is there any way of "prepping" the system for Pegasus?
The 1,5 minute bootup is extremely slow.I don't know, I'm just a forum user - but didn't have a chance to try Pegasus.
-
Usb speeds will always vary depending on the flash storage the stick is using, cluster size you formatted it to, and 2.0 ports of the pi. It's why I keep my scraped art on the micro sd. Newer 3.0 sticks might get better reads due to newer flash storage, but I'd look up benchmarks of specific models anyways.
-
@AndersHP Yeah Linux has a file system cache that can improve certain operations, like checking if the file exists (which actually takes the most of time during Pegasus' startup). Still, that kind of speedup is impressive.
Actually this just gave me an idea on how to speed up the loading with some manual caching. I'll see if I can do some benchmarks later too.
PS. Documentation is still work in progress because I keep tweaking things forever. Might release some parts earlier.
-
@fluffypillow Part by part would be easier for beginners like me
-
The Flixnet tutorial ended up 50 pages long.
Someone stop me.
-
@fluffypillow STOP :)
-
-
@fluffypillow release early, release often :-D
-
@fluffypillow Don't stop 😀
-
Writing the docs is going fine, I think it might be done tonight or tomorrow. Then I'll do a quick review and post it, finally.
-
@fluffypillow How many Harry Potter novels long are the docs?
-
@lilbud Harry Potter is too short to be used as a measure.
Seriously though, the Flixnet docs ended up 50 pages (not counting some default-closed code blocks), and wrote an an additional ~20 pages of a theming overview, an API documentation and a selection of QML tutorials and reference links. Now writing a second theme guide, as a shorter and simpler alternative to Flixnet. The pages have pictures and animations though, so it doesn't really feel as long.
Also tweaked the existing docs.
-
Thank you for your effort, it is very appreciated.
I will try my best with it :)
-
@darksavior said in Announcing Pegasus Frontend:
It's why I keep my scraped art on the micro sd.
But if you need to do a clean install, you have to scrape all over again, won't you?
I cannot find a good way to write to the SD card (EXT4 filesystem) from either Win or Mac. That's why I scraped everything to my USB, so ROMS + art is together. A fresh install is then very simple.But since this makes the Pi bootup sequence take around 2 minuts, I'm having second thoughts now..
-
@andershp No, I transfer them out. I use an fxp client in windows. It's a rather simple process...drag and drop.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.