Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Imixmuan

Suspended
Original poster
Dec 18, 2010
526
426
Not directly PowerPC related, but still cool as hell. Got a Raspberry Pi 4 sitting around? Check this out:


It's just Raspbian, nicely skinned to look like OS X Catalina. Also there are tons of built in games/emulators, and....Qemu installs of Mac OS 9.2 and Windows 98 to play with. If that were not enough, MyDroid can mirror your Android device on screen, albeit without sound. He has done Windows 95/98, XP and 10 reskins as well.
 
On a Pi 3, the system can be prone to locking up while multi-tasking because the OS has to swap to the ridiculously slow microSD when its 1 GB memory has ran out. I've never even seen it recover, on some occasions.

When the OS is run on an SSD attached via USB however, it's a completely different story. The system does not lock up when many graphical applications are open, and is so reliable, it can then at that point even be used as a daily.

I would say that using a microSD is only suitable for CLI server use. Otherwise, it can be used as a regular desktop when an SSD is attached.

...However, I can't say I remember it ever locking up in Raspbian 9 running off the microSD... In which case, maybe it is some kind of bug in Raspbian 10?
 
wow!!!
..if I remember right the Pi 4 has two usb 3 ports... great for an external drive.

..imagine getting an old busted iMac and being able to install and connect a Pi so it displays thru the i Mac monitor ..so it would look like the image!! Ha!!
Beyond my skills but it would be fun... certainly would have a raspberry sticker on the front.
 
wow!!!
..if I remember right the Pi 4 has two usb 3 ports... great for an external drive.

..imagine getting an old busted iMac and being able to install and connect a Pi so it displays thru the i Mac monitor ..so it would look like the image!! Ha!!
Beyond my skills but it would be fun... certainly would have a raspberry sticker on the front.

This guy did it, but his wife complained it was too slow. Wives.


Or maybe mount it on the back of a old Cinema display for almost the same look...
 
Last edited:
  • Like
Reactions: mortlocli
On a Pi 3, the system can be prone to locking up while multi-tasking because the OS has to swap to the ridiculously slow microSD when its 1 GB memory has ran out. I've never even seen it recover, on some occasions.

When the OS is run on an SSD attached via USB however, it's a completely different story. The system does not lock up when many graphical applications are open, and is so reliable, it can then at that point even be used as a daily.

I would say that using a microSD is only suitable for CLI server use. Otherwise, it can be used as a regular desktop when an SSD is attached.

...However, I can't say I remember it ever locking up in Raspbian 9 running off the microSD... In which case, maybe it is some kind of bug in Raspbian 10?
That is interesting - what were you running on the pi that made it lock-up because of memory?
I have numerous raspberry pi's and never found them to 'lock up' indefinitely.
Try disabling swap completely. My raspberry pi 3 runs the home security cameras, plex, and as NAS just fine. (well it's always over 100% CPU and runs at 70 degrees -- sshhh don't tell the macbook air haters) :D
The raspberry pi 4 is far more capable
 
That is interesting - what were you running on the pi that made it lock-up because of memory?
I have numerous raspberry pi's and never found them to 'lock up' indefinitely.
Try disabling swap completely. My raspberry pi 3 runs the home security cameras, plex, and as NAS just fine. (well it's always over 100% CPU and runs at 70 degrees -- sshhh don't tell the macbook air haters) :D
The raspberry pi 4 is far more capable

Firefox and Thunar, if I remember correctly (in Openbox, no less). I deduced it to be swap related because when everything was done on the SSD as opposed to the microSD, there were no problems of the sort.

It is my understanding that disabling swap entirely would make it worse, because then it would have no recourse once the memory capacity has been filled.
 
Firefox and Thunar, if I remember correctly (in Openbox, no less). I deduced it to be swap related because when everything was done on the SSD as opposed to the microSD, there were no problems of the sort.

It is my understanding that disabling swap entirely would make it worse, because then it would have no recourse once the memory capacity has been filled.

Except for Raspberry Pi4, the bus for USB, ethernet, storage, is all shared, and typically the bottleneck.
i.e. whether you have a HDD or SSD the throughput is equally poor in my experience.
You might have had a very slow SD card however, and that would make a difference.

Not having a swap, means that it will swap out pages, but i have found the performance improves, as it's not treating very slow disk as memory, and instead just uses keeps currently accessed pages in memory if that makes sense
[automerge]1589781978[/automerge]
Firefox and Thunar, if I remember correctly (in Openbox, no less). I deduced it to be swap related because when everything was done on the SSD as opposed to the microSD, there were no problems of the sort.

It is my understanding that disabling swap entirely would make it worse, because then it would have no recourse once the memory capacity has been filled.
Looks like you are correct that the SD card is a very slow write.
Just did a quick and dirty test (on a raspberry pi in use - so not a perfect test scenario).

Creating a zero-ed 1GB file (with a small 1024 block size) resulted in:

SD Card (class 10 ext3) - around 5-6 MB/s
HDD (USB 2 in RAID - so maybe slightly slower than a native HDD. ext4) - 21 MB/s
USB stick (USB 2 and vfat :( ) - 26 MB/s
USB stick (USB 2 and exfat o_O fuse file system)- 4 MB/s

Lot of variables there I know. I have a ext3 or 4 formatted USB somewhere I will report back if it makes any significant difference in speed.
Obviously block size will make a big difference too
 
Last edited:
You might have had a very slow SD card however, and that would make a difference.

Come to think of it, I was using a Class 4 microSD instead of the recommended 10. Perhaps that would indeed result in a difference...
 
Come to think of it, I was using a Class 4 microSD instead of the recommended 10. Perhaps that would indeed result in a difference...
Yes it would make a big difference, however you are right regardless - the SD card appears to be much slower than a HDD let alone a SSD! I have a branded class 10.
The limits would be that usb2 shared bus though.
Cheers!
 
Any idea if there's any problems long term from using the microSD as HDD?
For very long term, quite possibly. I ran/run (back to Windows Mobile temporarily) Android on my phone solely off of an SD card for a few years - I get maybe a year and an half to two years of daily use before the cards start to go and I get weird errors and problems.
I've found that it's writing that breaks first and you can usually pull data off if you catch it soon enough.

It's kind of slow, but certainly usable with fast cards.
 
Sandisk makes SDXCs with A1 and A2 capabilities. The A2 is recommended for use with mobile phones as it has faster write capabilities. The issue is whether the built-to-a-budget RPi4's inbuilt card reader can make use of that or is the actual bottleneck.

As for the RPi4, unlike its predecessors, the USB3/2 hub is connected directly to the SoC via PCIe and doesn't share bandwidth with the Ethernet port. The biggest issue is keeping the toasty SoC cool so it doesn't throttle.
 
Can't blame her for that.

It was a Raspberry Pi 3 I think. I am convinced the average user, doing average things, can use a Raspberry Pi 4 as a replacement desktop. I replaced one of the Windows 10 PC's at work with a raspberry Pi 4 skinned (pretty badly) to look like Windows 10 and nobody noticed. But all we do with it is access a web based clinic managment software via Chrome, so.....why would they?
 
This came out years ago and is still available


6e7608fe88b3909c474b8da2d5b38c2c_1024x.png

Might be cheaper to shuck a WD external drive. With the RPi4, you shouldn't need the funky cable above.
 
This guy did it, but his wife complained it was too slow. Wives.


Or maybe mount it on the back of a old Cinema display for almost the same look...
Ta for that link, Imixmuan, theres some interesting reading there... though no recent builds with the Pi 4.
..if my Imac ever gives up, now I have a plan B.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.