[ipxe-devel] [patch] preserve CPU in virtualized environment.

Alessandro Salvatori alessandro at embrane.com
Tue Jul 24 01:26:41 UTC 2012


Hi Michael,

  if the server is missing in action, one may want to retry at regular intervals
(via sleep and goto) but until a download starts making progress, all that polling
is a bit overkill, since we'd be just receiving a few seldom packets.

thanks!
-alessandro-
________________________________________
From: Michael Brown [mbrown at fensystems.co.uk]
Sent: Monday, July 23, 2012 5:28 AM
To: ipxe-devel at lists.ipxe.org; sandr8 at gmail.com
Cc: Alessandro Salvatori
Subject: Re: [ipxe-devel] [patch] preserve CPU in virtualized environment.

On Monday 16 Jul 2012 10:50:36 Alessandro Salvatori wrote:
> The patch is very simple, and brings the CPU utilization down from 100% to
> 1-3%, while not affecting the throughput in any perceivable way. There
> might be better solutions, but this only took me half an hour to write and
> test, and seemed good enough for us.

Thanks for the patch.  At what point does this help with CPU utilisation?
iPXE will currently use 100% CPU while network operations are in progress, and
should sit mostly idle while waiting for user input (e.g. at the command
line).

I'm not understanding the circumstances in which your patch helps.  Could you
explain?

Thanks,

Michael



More information about the ipxe-devel mailing list