[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Boot time and 3 sec in warning_print



On 15.02.21 09:38, Jan Beulich wrote:
On 15.02.2021 09:13, Jürgen Groß wrote:
On 15.02.21 08:37, Anders Törnqvist wrote:
I would like to shorten the boot time in our system if possible.

In xen/common/warning.c there is warning_print() which contains a 3
seconds loop that calls  process_pending_softirqs().

What would the potential problems be if that loop is radically shortened?

A user might not notice the warning(s) printed.

But I can see your point. I think adding a boot option for setting
another timeout value (e.g. 0) would do the job without compromising
the default case.

I don't think I agree - the solution to this is to eliminate the
reason leading to the warning. The delay is intentionally this way
to annoy the admin and force them to take measures.

OTOH there are some warnings which can't be dealt with via boot
parameters or which can be solved by other means, e.g.:

"WARNING: SILO mode is not enabled.\n"
"It has implications on the security of the system,\n"
"unless the communications have been forbidden between\n"
"untrusted domains.\n"

"WARNING: HMP COMPUTING HAS BEEN ENABLED.\n"
"It has implications on the security and stability of the system,\n"
"unless the cpu affinity of all domains is specified.\n"


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: application/pgp-keys

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.