From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tmnt04.transmode.se (mail.transmode.se [83.241.175.147]) by ozlabs.org (Postfix) with ESMTP id 4F1D4DE328 for ; Sat, 26 Apr 2008 04:30:06 +1000 (EST) From: "Joakim Tjernlund" To: "'Sergei Shtylyov'" References: <1209132039.31117.17.camel@gentoo-jocke.transmode.se> <4811E845.2060509@ru.mvista.com> <1209135051.31117.19.camel@gentoo-jocke.transmode.se> <4811FFE4.2020203@ru.mvista.com> In-Reply-To: <4811FFE4.2020203@ru.mvista.com> Subject: RE: HR timers on PowerPC 83xx Date: Fri, 25 Apr 2008 20:29:37 +0200 Message-ID: <003601c8a702$51535c90$f3fa15b0$@Tjernlund@transmode.se> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: 'linuxppc-dev Development' List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > -----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