* HR timers on PowerPC 83xx
@ 2008-04-25 14:00 Joakim Tjernlund
2008-04-25 14:18 ` Sergei Shtylyov
0 siblings, 1 reply; 5+ messages in thread
From: Joakim Tjernlund @ 2008-04-25 14:00 UTC (permalink / raw)
To: 'linuxppc-dev Development'
Trying to understand what is needed to make nanosleep() and friends to
have better resolution than HZ on my 83xx CPU. Is this possible
and what CONFIG options do I need to enable? Kernel is 2.6.25
Jocke
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HR timers on PowerPC 83xx
2008-04-25 14:00 HR timers on PowerPC 83xx Joakim Tjernlund
@ 2008-04-25 14:18 ` Sergei Shtylyov
2008-04-25 14:50 ` Joakim Tjernlund
0 siblings, 1 reply; 5+ messages in thread
From: Sergei Shtylyov @ 2008-04-25 14:18 UTC (permalink / raw)
To: joakim.tjernlund; +Cc: 'linuxppc-dev Development'
Hello.
Joakim Tjernlund wrote:
> Trying to understand what is needed to make nanosleep() and friends to
> have better resolution than HZ on my 83xx CPU. Is this possible
> and what CONFIG options do I need to enable? Kernel is 2.6.25
Should be possible with CONFIG_HIGH_RES_TIMERS=y.
WBR, Sergei
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HR timers on PowerPC 83xx
2008-04-25 14:18 ` Sergei Shtylyov
@ 2008-04-25 14:50 ` Joakim Tjernlund
2008-04-25 15:59 ` Sergei Shtylyov
0 siblings, 1 reply; 5+ messages in thread
From: Joakim Tjernlund @ 2008-04-25 14:50 UTC (permalink / raw)
To: Sergei Shtylyov; +Cc: 'linuxppc-dev Development'
On Fri, 2008-04-25 at 18:18 +0400, Sergei Shtylyov wrote:
> Hello.
>
> Joakim Tjernlund wrote:
>
> > Trying to understand what is needed to make nanosleep() and friends to
> > have better resolution than HZ on my 83xx CPU. Is this possible
> > and what CONFIG options do I need to enable? Kernel is 2.6.25
>
> Should be possible with CONFIG_HIGH_RES_TIMERS=y.
What about NO_HZ? Does that setting change anything?
>
> WBR, Sergei
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HR timers on PowerPC 83xx
2008-04-25 14:50 ` Joakim Tjernlund
@ 2008-04-25 15:59 ` Sergei Shtylyov
2008-04-25 18:29 ` Joakim Tjernlund
0 siblings, 1 reply; 5+ messages in thread
From: Sergei Shtylyov @ 2008-04-25 15:59 UTC (permalink / raw)
To: joakim.tjernlund; +Cc: 'linuxppc-dev Development'
Joakim Tjernlund wrote:
>>>Trying to understand what is needed to make nanosleep() and friends to
>>>have better resolution than HZ on my 83xx CPU. Is this possible
>>>and what CONFIG options do I need to enable? Kernel is 2.6.25
>> Should be possible with CONFIG_HIGH_RES_TIMERS=y.
> What about NO_HZ? Does that setting change anything?
It is independent from HRT and selects the mode where the idle process
stops timer HZ interrupts from occuring until it's scheduled off CPU.
WBR, Sergei
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: HR timers on PowerPC 83xx
2008-04-25 15:59 ` Sergei Shtylyov
@ 2008-04-25 18:29 ` Joakim Tjernlund
0 siblings, 0 replies; 5+ messages in thread
From: Joakim Tjernlund @ 2008-04-25 18:29 UTC (permalink / raw)
To: 'Sergei Shtylyov'; +Cc: 'linuxppc-dev Development'
> -----Original Message-----
> From: Sergei Shtylyov [mailto:sshtylyov@ru.mvista.com]
> Sent: den 25 april 2008 18:00
> To: joakim.tjernlund@transmode.se
> Cc: 'linuxppc-dev Development'
> Subject: Re: HR timers on PowerPC 83xx
>
> Joakim Tjernlund wrote:
>
> >>>Trying to understand what is needed to make nanosleep() and friends to
> >>>have better resolution than HZ on my 83xx CPU. Is this possible
> >>>and what CONFIG options do I need to enable? Kernel is 2.6.25
>
> >> Should be possible with CONFIG_HIGH_RES_TIMERS=y.
>
> > What about NO_HZ? Does that setting change anything?
>
> It is independent from HRT and selects the mode where the idle process
> stops timer HZ interrupts from occuring until it's scheduled off CPU.
OK, Thanks
One last question, do I need a current glibc to use
the new resolution? I got 2.3.6 now
Jocke
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-04-25 18:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-25 14:00 HR timers on PowerPC 83xx Joakim Tjernlund
2008-04-25 14:18 ` Sergei Shtylyov
2008-04-25 14:50 ` Joakim Tjernlund
2008-04-25 15:59 ` Sergei Shtylyov
2008-04-25 18:29 ` Joakim Tjernlund
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).