-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
That is my current suspicion. systemd-udevd is started the device is
started, and I wonder if it is too slow to handle the flood of
kobject-uevent messages it gets at startup.
If so, then the problem is systemd-udevd itself, and the only solutions
are to either speed it up, replace it, or take it out of the critical
path. One option would be to move mounting to the (non-systemd-based)
initramfs.
> > > > which is nearly half of the 2.170s spent in
> > > > userspace on the VM I used to write this message. I suspect this is
> > > > largely a problem with the Xen toolstack, which is not optimized, to
> > > > put it mildly. Replacing it with an optimized toolstack like the one
> > > > Edera uses would make things much, much faster.
> > >
> > > I have no idea how you got to the Xen toolstack here. The above is a
> > > from from within a VM, after the toolstack did all its job. It isn't
> > > even installed in the VM...
> >
> > I assumed that the toolstack booted the VM and _then_ attached the
> > devices. That assumption is probably wrong.
>
> Yes, devices are setup before VM is started (and if setting up devices
> fails, VM kernel isn't started at all).
Yup, and /dev/xvda3 is where systemd is loaded from, so it must be
ready before systemd starts.
> > > > > > And also, now it can do over 50 calls per second, I'd say it's way more than
> > > > > > enough for its intended use.
> > > >
> > > > _Not_ fast enough for an internet-facing qrexec-call-per-request
> > > > service, though, unless one checks authentication before the call to
> > > > revent denial of service attacks.
> > >
> > > As I said, "for its intended use". Qubes OS is not a server operating
> > > system.
> >
> > The Qubes OS build servers run Qubes OS 🙂.
>
> That's _very_ stretched definition...
What I mean is that while Qubes OS is not designed to be a server OS,
people can (and do) run servers in the VMs that it manages. The above
comment was meant as a warning (and should probably have been a
documentation PR).
- --
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEopQtqVJW1aeuo9/sszaHOrMp8lMFAmeqaD8ACgkQszaHOrMp
8lMifRAAobCd9SDVSqaquvASGSrenZS03881aYMTW1CThNRhdNPjM6OiFnpFDLTA
1BjEe8j8w3a0TgeAHOoXumjhn7n9pVLvivteHEqjAbCj2UlvTLaN93hbYDPjVU9+
Pdh6+0zAm7gdhdwc8L/EOj9vkjFPEf5qXPApkF8bCG8xkuG03D68oKPgyTnz24Od
Pkib/bXbHsH5INrJ2Zy9paYAnkxCXrJcn1WO/p2+HSgGiJUbT/XQpPsCRzQCO96Z
gmET6lTqhSKV7rcFzAtHfM0miQGyGWqyCJ4prgdzGOrh3rFuozLItPJ8rZ0YRwwy
RZkQJ2eHAsxo4tqlxoHESULTkBxENoQk+f+zCbpsEb+aVGB3Q/jQSel0ae2h5UiN
oo1Xo4UZtC4TseT0eWlryC50kplqH7JbDoWEI73TuH7ZF63ced89xYso2E6SxfHG
+41khAUCxG8ge77/uxzTgDg9w6J/YxHCrfOHoqjv1ZlepSZ9Wj/vKAXqrbSPjkup
225coLWKT2dwYLp47fGpSCRuMNjiqmd7G5ZVYtD68T6J3uAtusT9ryu6I2egLzyH
r3VrhACQqPT5Z2P1dZxPogAu+MOh6Wi+qkB2MfRPvZp4mmNc70u+dFUOPhIP6oYC
+MfqbbUooGE9WCLLnsPh6SxRI7YdOVnjB+b6n8vEbm2+gvWXk80=
=GAx5
-----END PGP SIGNATURE-----