Re: System cpu usage.

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

 



Hi :)

On 7/25/07, Andrea Gasparini <gaspa@xxxxxxxxxxx> wrote:
i already solved this, sorry if I didn't post anything to tell it.

The box gather some process that do video processing.
I found that the issue comes with a new kernel, so i thought that was a
kernel (or near kernel) issue.

The problem was that the new kernel has CONFIG_HZ_1000 set, and the
processes (and here's the problem) made a sleep(0) to poll the video
device ( "because 'empirically' it worked" )

Of course that's wrong,even if it didn't give any problem with 100Hz.

Oh wow, sleep(0) to poll :) Anyway, good to know that somebody uses
that technique :D Thanks for sharing... :)

regards,

Mulyadi

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux