[Info-vax] RMS intro
Single Stage to Orbit
alex.buell at munted.eu
Thu Jan 4 04:29:02 EST 2024
On Wed, 2024-01-03 at 15:16 +0000, Dan Cross wrote:
> >
> > With WSL2, both the Windows NT kernel and the Linux kernel run on
> > top
> > of a hypervisor. It's a nice solution and performance differences
> > between the two WSL systems should be night and day.
> >
> > https://thecodeblogger.com/2020/08/22/understanding-differences-between-wsl-1-and-wsl-2/
>
> That doesn't really explain why you'd think that WSL1 would be
> appreciably slower (or slower at all) than WSL2. Consider that
> Windows is still responsible for running IO devices and
> providing access to e.g. the filesystem for Linux in the latter;
> this will necessarily require lots of context switching between
> the two (where in this context "context" means running in either
> a Linux or Windows guest under a shared hypervisor) as Linux
> accesses services provided by Windows. In WSL1 there would be
> no such overhead.
You've tickled my curiousity now. When I've time I'll spin up a couple
Windows VMs, one with WSL1, and one with WSL2, and do some benchmarks.
See who's right.
--
Tactical Nuclear Kittens
More information about the Info-vax
mailing list