Linux, macOS, and Windows running simultaneously on a first gen Core i5
lukesempire.com
lukesempire.com
I'd hoped it would be a nice little stress-release valve from startup CEOing occasionally, but you really get an appreciation for how much more flexible, interoperable, and stable modern computers are. The old hardware and software is incredibly fiddly, though to be fair PC compatibility cards and Radius Rockets are themselves magnificent hacks for the most part, so it's not all that surprising that they're fiddly. That said, while just differently stressful, it's still fun and rewarding when some piece of the pie fits in place.
So much fun. Going to have to bust out Sheepshaver.
It can't get nerdier than that, I love it!
I had celebrated one of my birthdays when I was at high school in an internet café. 4 hours of multiplayer Age of Empires 2, all paid for by my parents. That was the dream right there :)
If I could get my hands on a faster Radius Rocket (mine is only 25 Mhz), I wondered about getting Marathon 2 up and running.
It feels like I only recently stopped hearing the rocket launcher and the alien chatter in daily life and in dreams. It was probably 20 years ago I last played it.
I remember specifically feeling like it had an extremely low mouse to pixel delay, possibly even better than current computers, but I have no idea whether that’s romanticizing.
The tools exist now to objectively measure it on those macs if you’re up for that sort of thing.
Windows boots faster, feels faster, and benchmarked GPU and CPU considerably faster than macOS on the exact same hardware.
Not ground breaking news, but I do wish Apple had worked on optimising macOS for older hardware more. They claim they do or did, but I never noticed this in the later mountain named versions.
All a moot point now with Apple Silicon being the furture! :)
I didn't enjoy seeing my Intel macs get perceptually slower and slower with each release, and I'd be very afraid of how unoptimized the MacOS can get now, with a performance headroom Apple bought themselves with M1 :/.
Meanwhile my 2014-era Haswell gaming PC with an old 500 MB/s SATA SSD boots Windows 10 in a few seconds (about 4-5 times faster than my M1 Air).
I put Windows 10 on my old MacBook Pro and was shocked by how much more responsive it felt in Windows than in macOS. I thought the hardware was just too old because it was starting to feel sluggish in macOS, but Windows runs perfectly well on it.
Maybe Apple can continue to evolve their hardware fast enough that their software doesn’t need to be as efficient, but share your feelings that we’d all be better off if Apple had made responsiveness a priority.
https://github.com/smallstepforman/Medo/raw/main/Docs/Medo.j...
They build in animation delays so that the experience of using the fastest computer and the slowest computer is the same.
Take for example moving one virtual desktop to the right with control-rightarrow. It’s slow AF compared to Windows or Linux with animations off. macOS also does vsync because they never ever want visual tearing in the UI. That slows you down again. Windows does not care if you set it to look like speedy sh## and will tear all day. It’s like a dune buggy, it’ll let you do whatever and if you lose an arm it’s your own fault.
macOS is a limo with your grandparents driving. “Can I open the sunroof?” “No, it might rain” “Can I watch TV?” “No, you’ll get carsick” “....” “Stop playing with the window control!”
Sorry to tell you this, but that road doesn’t go there.
Current hardware could run 10.0 like lightning.
As hardware improves, software rises to meet it. Maybe it’s because they can spend less effort on optimizing, or maybe it’s to add new features (like automatically running your photos through ML is the background, or continuously indexing the contents of every file in your entire hard drive), or maybe it’s because they want to add more layers of control (the protections around video playback), or maybe new layers of abstraction such as API calls instead of direct access to the hardware.
Whatever it is, we’ve seen the trends across every tech and almost every company for at least the past 30 years.
The M1 is supposedly really fast, but it's not like they optimise userspace for either architecture.
Booting is different on the M1, but once the kernel is alive and well it's just RISC vs CISC.
My point is that this all "mac is optimised for the hardware" "nonsense" is very non-techy. Sure they don't need to worry about drivers the same way, but it's still x86 or arm, people already target these so it's just about whose code and architecture is the better.
That being said, take a game that's been ported to both systems and run your mac in bootcamp with windows, and its not uncommon to pick up a good 10-20fps at least on games. I'm sure enterprise software especially the adobe suite runs a lot better on macos, because there was more engineering effort optimizing this port. I remember TF2 was most sriking on my 2012 macbook pro. On the mac OS side I was getting like 30-40fps on medium settings. Decent, I guess, for an ancient game. On windows in contrast, I was pushing 90fps, and it looked a lot better. That was the case for every single game I've tried.
The hardware drivers for things like CPU, GPU, the meat of the system, are much better on windows because the manufacturers just spend more effort building better drivers for this far larger market. Apple specific-sourced hardware that isn't an intel chip or some discrete GPU, like the trackpad experience, the display experience, how the fan is calibrated, are all subpar entirely on windows because Apple doesn't care to improve the bootcamp drivers. They are known to be supar, and on some Macs, the community even recommends their own drivers to use instead of the bootcamp ones, because Apple doens't care about the bootcamp experience.
I use Windows for work everyday. I don't like it as much as Linux or osx but I can't say that I have issues you are describing with start menu lag or windows explorer. And that's with several phpstorm/pycharm instances open along with like a dozen services running in docker.
There are many problems with windows, but I don't think performance is one of them. Also it was a very long time ago, but XP was one of my favorite OS's. I think that was the last time where I could look at my process list and tell you exactly what each process is for.
We did it in part to benchmark some games which I do suspect will work better in Windows.
I have experienced that only once.
The computer was a $150 tablet from ~10 years ago, with 1GB RAM, 32 bit Windows 10 (sold with Windows 8, I think), and Intel Atom SoC for a CPU.
Computers with adequate amount of resources worked well for me, even very old ones.
Most importantly GPU drivers. Run dxdiag.exe, Display tab, it should say DirectDraw and Direct3D acceleration are both Enabled. For that particular iMac you need two of these drivers, because two GPUs.
Another possible thing is SATA driver. Normally installed automatically as a part of Windows, but I never tried running windows on Apple desktops. If Apple gives you Windows drivers install them, otherwise install CPU-Z, “Mainboard” tab, see the chipset, then install from intel.com.
I can't be 100% sure that solved everything, but it is perceptibly faster now. I'm not sure why Windows didn't auto-install those drivers. Perhaps it would have eventually done so during one of the Windows Update cycles, but your advice was very helpful, so thank you!
Even on an ancient computer once I turn off menu and window animation the start menu and small folders open with 0 spinning and probably less than 20ms.
Maybe your “fresh install” has a bunch of bloatware and virus scanners?
I agree with you on it being entirely puzzling and unexpected and will continue to poke at it for a while.
The very first version of Photoshop was written on Macintosh and then later ported to Windows. But it would be interesting to know what the lineage of the code of the current version of Photoshop is. How much of it was written on OS X and macOS, and then ported to Windows, and how much is written on Windows and then ported to macOS.
I wish I got to browse the version control histories of Adobe Photoshop and Adobe Illustrator some day. And also to talk with people who wrote these programs and hear them tell about it.
Bootcamp preferences are accessible from the notification tray icon and the old style control panel (availability of which depending on which windows 10 build you’re using IIRC)
Well, they did several things.
One of those was compressed memory at the OS level.
Another was a new, more optimized for SSDs, filesystem.
I remember being blown away by VMWare performance. It was performing pretty ok, software was not as heavy as it is today.
Performance is indistinguishable from native, e.g. I can easily drive the screen at the max 144 Hz refresh rate, G-sync works, etc. I did put some effort in figuring out how to pin CPU threads to cores, optimize for the CPU core topology so Windows only gets cores on the same CCX (it's an AMD Zen 3, before that it was Zen 2), etc. But all of this is documented in many places.
Do note that depending on your motherboard not all of this is possible if the chipset & BIOS do not provide enough MMIO isolation, you might not be able to isolate a USB controller or a separate NVME drive, or you might get only half the PCIe lanes for the passthrough GPU if you need to use the other full-lane slot for something like a second GPU.
I know I had to jump through a lot of hoops to make it work though, my X470 motherboard didn't isolate the USB controller without a BIOS update for example, and after that the USB controller exhibited USB FLR (function level reset) problems causing it to hang the VM. This required blacklisting it's PCI ID from the Linux kernel and patching the kernel to disable FLR (fortunately these changes were later merged into the mainline kernel). I also had problems with the second GPU, if I plugged it into any slot other than the bottom x1 slot, the motherboard BIOS would reshuffle the IOMMU groups making it impossible to pass through the NVME and USB controller, or (if I put it in the second x16 slot) it would halve the PCIe bandwidth to the RTX3080.
All in all it took me the better part of a weekend to get everything working, but if I had to do it again from scratch and did some research into (in particular) the motherboard and BIOS, I would be able to set it everything up again in less than an hour.
However, there is some pretty awesome, cutting edge work done in that regard: Some great people very recently released a method for unlocking the vGPU stuff on consumer grade nVidia GPUs. When that was posted on HN[0], it only supported some 10xx GPUs; but with a merge from only 13h ago, most {9,10,20,30}xx should now work.
Similar approach: https://matthewdeporter.com/proxmox/proxmox-pci-passthrough/
Just make sure you go into fullscreen + (what they call) "exclusive mode", and maybe even increase the VM's priority when input is grabbed. That fixed any microstutters I had on my older CPU.
0: https://www.playonlinux.com/en/
1: It isolates the Windows program to a certain point, but I have no idea if it's technically a sandbox built for security which would protect the system against a Windows program willing to do any damage to or data exfiltration from the home directory.
The Proxmox wiki has great resources on GPU passthrough, but you may have to install a kernel mod for the AMD gpu not to take the host down when the guest powers off.
I haven't been able to do this with VMware ESXi (I've tried); I forgot if it worked in unRaid or not (But it should, in theory).
Though I would want to upgrade my hardware (ha, as if anyone can buy chips right now) before I made a setup like that my daily driver.
(I have tried Virtual Box but found it too slow for real work)
[1] https://developer.apple.com/documentation/hypervisor [2] https://github.com/machyve/xhyve [3] https://github.com/linuxkit/linuxkit
Parallels for ARM, UTM (many QEMU frontends), xhyve and others are decent frontends for Hypervisor.framework on macOS.
I use the hardware IDs from my Mac Mini, that funnily enough is a Windows server, so that I can use it for iMessage.
No better setup having Ubuntu as the dev OS and the ability to test on MacOS and Windows at the same time.
You do the actual compile on the phone? Are you using termux or a chroot or something?
Also, when you say Solaris 10 - Oracle Solaris, or an illumos? Just AMD64, or do you do SPARC builds? Is your release process written up anywhere? (I'm interested in packaging and portability, and this sounds interesting)
I have a T520 with nvidia optimus, which I thought would be good for vfio pci passthrough based on r/vfio, because of it being mux based display, and nvidia having direct connection to external display. but for some reason couldn’t get it to work. I think it was because of uefi not being supported by the nvidia card, and bios mode having problem with vgaarb.
Can you use this as a development environment, or would you need an Apple ID?
1. https://github.com/foxlet/macOS-Simple-KVM/blob/master/docs/...
I really wonder what's interesting about this, maybe besides the hint that there are VM solutions for macOS. That's not in the slightest intended to be a personal attack.
But HN is weird, I suppose.
I'm not sure why the comment quality seems to be dropping.
If your computer is a Thinkpad then you are violating the EULA for macOS since macOS can only legally run on Apple hardware.
This article to me reads like "Hello Internet, this is my name, and I violated the terms of service of macOS".
I've happily violated hundreds of EULAs for all sorts of software in my time. They're worth less than toilet paper. I installed MacOS on my PC hardware for fun too.
Is ethical behavior worth less than toilet paper? I don't think so.
> I've happily violated hundreds of EULAs for all sorts of software in my time.
If stealing software is legitimate, then what else is legitimate to you? when does theft become legitimate in your opinion? (I don't care about your answer, really. Just think about that).
> And... what, exactly, are you expecting to happen to this person? An Apple SWAT team to break down his door and shoot his dog?
So, not being caught makes unethical stuff OK? Do you have a conscience?
> I installed MacOS on my PC hardware for fun too.
When you say "PC hardware"... Do you realize that every macOS device is also a personal computer too? The "mac and PC" dychotomy is absurd and purely marketing driven.