On 15.10.21 20:44, Pheba Philip wrote:
> Thanks for response.
> 1. What could be the possible reason for flashrom to have high cpu
> utilization during bios verification process?
Flashrom uses idle loops when waiting for the hardware. This is
necessary because some supported chips have very strict timing
requirements. It could be changed for chips that don't need it,
but it would need careful evaluation I guess. For every delay in
flashrom, we would have to decide if it's timing-critical and if
it's not too short considering scheduling overhead.
> 2. What is the expected range of cpu utilization for flashrom process? (In
> our case, it is 50-100 in top output and
>> 100 in ps output)
100% during flash read, something between 0 and 100% during file i/o,
I guess.
Nico