Kumara Swamy J wrote:
bcos its spends most of its time only with context swiching and there
r lot many things to be done besides context switching.
On 9/18/06, *Miguel Angel Alvarez* <ma.alvarez@xxxxxx
<mailto:ma.alvarez@xxxxxx>> wrote:
Gaurav Dhiman wrote:
> On 9/18/06, Tharindu Rukshan Bamunuarachchi <
tharindunix@xxxxxxxxx <mailto:tharindunix@xxxxxxxxx>>
> wrote:
>> I could successfully increase HZ value to 2000. After I
increased HZ
>> to 4000 and kernel freeze at follwoing point ....
>>
>> ........
>> ........
>> Total of 4 processors activated (17498.11 BogoMIPS).
>> ENABLING IO-APIC IRQs
>> ..TIMER: vector=0x31 pin1=2 pin2=-1
>
> I think, by such a high value for HZ, you are not allowing the
system
> to do anything usefull except handling timer interrupts. At this
freq,
> kernel will only keep on handling the timer interrupts and will
not be
> able to give attention to user processes, i mean non-interrupt
conext
> code, hence it gives a feeling that sytem is hung, where as
system is
> busy in handling only and only timer interrupts.
>
> regards,
> Gaurav
>
>>
>>
>> Any Idea ....???
>>
>> --
>> Tharindu Rukshan Bamunuarachchi
>> all fabrications are subject to decay
>>
>> --
>> Kernelnewbies: Help each other learn about the Linux kernel.
>> Archive: http://mail.nl.linux.org/kernelnewbies/
>> FAQ: http://kernelnewbies.org/faq/
>>
>>
>
>
Why is it that? Because if you set HZ to 4000, you are calling the
scheduler each 250 microsecs... This should be quite enough to do
context switching and scheduler calculations (which I have read
that are
at most in the range of 50 microsecs...
Miguel Ángel
----------------------------------------- PLEASE NOTE
-------------------------------------------
This message, along with any attachments, may be confidential or
legally privileged.
It is intended only for the named person(s), who is/are the only
authorized recipients.
If this message has reached you in error, kindly destroy it
without review and notify the sender immediately.
Thank you for your help.
µSysCom uses virus scanning software but excludes any liability
for viruses contained in any attachment.
------------------------------------ ROGAMOS LEA ESTE TEXTO
-------------------------------
Este mensaje y sus anexos pueden contener información confidencial
y/o con derecho legal.
Está dirigido únicamente a la/s persona/s o entidad/es reseñadas
como único destinatario autorizado.
Si este mensaje le hubiera llegado por error, por favor elimínelo
sin revisarlo ni reenviarlo y notifíquelo inmediatamente al
remitente. Gracias por su colaboración.
µSysCom utiliza software antivirus, pero no se hace responsable de
los virus contenidos en los ficheros anexos.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/
Is there any study on the time that context switching really takes... I
mean, yes... it sounds that setting HZ to 4000 seems too heavy for the
system... but also moving from 100 to 1000 was discussed years ago, and
now it seems to be the standard...
Miguel Ángel
----------------------------------------- PLEASE NOTE -------------------------------------------
This message, along with any attachments, may be confidential or legally privileged.
It is intended only for the named person(s), who is/are the only authorized recipients.
If this message has reached you in error, kindly destroy it without review and notify the sender immediately.
Thank you for your help.
µSysCom uses virus scanning software but excludes any liability for viruses contained in any attachment.
------------------------------------ ROGAMOS LEA ESTE TEXTO -------------------------------
Este mensaje y sus anexos pueden contener información confidencial y/o con derecho legal.
Está dirigido únicamente a la/s persona/s o entidad/es reseñadas como único destinatario autorizado.
Si este mensaje le hubiera llegado por error, por favor elimínelo sin revisarlo ni reenviarlo y notifíquelo inmediatamente al remitente. Gracias por su colaboración.
µSysCom utiliza software antivirus, pero no se hace responsable de los virus contenidos en los ficheros anexos.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/