That's awesome!

The tests are running really well now. Thanks for all this (continued)
work, it's really appreciated!!

- Houston

On Mon, Mar 24, 2025 at 5:29 AM Uwe Schindler <u...@thetaphi.de> wrote:

> Hi a small update,
>
> the new virtualization works phantastic. Windows builds are a bit slower
> than others, but this is caused by NTFS and Windows file locking. Basically
> it is not different than with your local WIndows laptop. Macos builds are
> nearly as fast as Linux builds (keep in mind that the number of assigned
> CPUs differs between host and guest VM). This also applies to Solr.
>
> All JDKs were updated on Saturday. So Lucene main builds work.
>
> Everything is using virtio drivers (network and disk images).
> Interestingly, macOs BY DEFAULT ships with drivers for "virtio" networking
> and disks (according to observations by others they do this since Mojave)!
> So the whole thing is as fast as "plain hardware" and real SSD disks (no
> SATA emulation needed):
>
> @Paul Irwin: Because of macos shipping with "virtio drivers", they support
> virtualization officially, also with KVM! They either test their own builds
> in KVM for easier debugging the kernel or they officially support it. The
> "osk" key is not a secret anymore. You could only argue that "I" do not run
> it on native Apple hardware.
>
> Uwe
> Am 22.03.2025 um 00:14 schrieb Uwe Schindler:
>
> Hi,
>
> I converted "Windows VM" (that was easy) and reinstalled a brand-new
> "macOS 15 Sequoia VM" in Policeman Jenkins without using VirtualBOX
> anymore. All is running now as libvirt-based KVM instances. The builds are
> now
> faaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaast!!!!!1!!1111!!!!!!!
> :-)
>
> The Windows and macOS VMs now build Lucene and especially Solr in similar
> times. I also extended disk space to 128 GiB per VM.
>
> I also have not seen any hangs of macOS, so the native support by KVM with
> some CPUID adaptions and good wrk by qemu is working well. Thanks to
> https://github.com/kholia/OSX-KVM for the scripts to download and setup
> the libvirt XML file. Finally the VMs are using "unsafe" disk-io mode for
> the disk images, so fsync and direct-io don't write through.
>
> I will install newer JDKs for macOS tomorrow to get the Lucene Main builds
> working again (the old macOS version did not support JDK>21).
>
> Uwe
>
> Am 19.03.2025 um 09:34 schrieb Dawid Weiss:
>
> The problem with Macos is the emulation.
>
> Kudos to you for even making it work. I never managed to get it working
> properly. There was always something that didn't work quite right or just
> broke after each Apple update. I'm sure
> they make it intentionally difficult to run a hackintosh.
>
> We do have true (I hope) mac runners on github so we do have some coverage
> there.
> https://github.com/apache/lucene/actions/runs/13932872683/job/38994065168
>
> D.
>
> --
> Uwe Schindler
> Achterdiek 19, D-28357 Bremenhttps://www.thetaphi.de
> eMail: u...@thetaphi.de
>
>

Reply via email to