From: "Kevin D. Kissell" <kevink@mips.com>
To: "Sathesh Babu Edara" <satheshbabu.edara@analog.com>,
<linux-mips-bounce@linux-mips.org>, <linux-mips@linux-mips.org>
Subject: Re:
Date: Mon, 9 Jan 2006 10:00:48 +0100 [thread overview]
Message-ID: <005a01c614fb$2fe76b00$10eca8c0@grendel> (raw)
In-Reply-To: 200601090742.k097gYaZ017304@lilac.hdcindia.analog.com
There is no "ideal" value for a given processor frequency.
The lower the value, the less interrupt processing overhead,
but the slower the response time to events that are detected
or serviced during clock interrupts. 1000 HZ *may* be a sensible
value (I have my doubts, personally) for 2+ GHz PC processors,
but it's excessive (IMHO) for a 200MHz processor and unworkable
for a 20MHz CPU. I think that 100HZ is still a reasonable value
for an embedded RISC CPU, but the "ideal" value is going to
be a function of the application.
Regards,
Kevin K.
----- Original Message -----
From: "Sathesh Babu Edara" <satheshbabu.edara@analog.com>
To: "'Kevin D. Kissell'" <kevink@mips.com>; <linux-mips-bounce@linux-mips.org>; <linux-mips@linux-mips.org>
Sent: Monday, January 09, 2006 8:43 AM
Subject: RE:
>
> Hi,
> Appreciate your response .
>
> What is the ideal HZ value if the processor speed is 200Mhz?.
>
> Regards,
> Sathesh
> -----Original Message-----
> From: Kevin D. Kissell [mailto:kevink@mips.com]
> Sent: Wednesday, January 04, 2006 6:37 PM
> To: Sathesh Babu Edara
> Cc: linux-mips-bounce@linux-mips.org; linux-mips@linux-mips.org
> Subject: Re:
>
> Sathesh Babu Edara wrote:
> >
> >
> > Hi,
> > We have ported linux-2.6.12 kernel onto MIPS processor (LX4189) and
> > the processor speed is 200Mhz.
> > By default Linux-2.6.12 kernel comes with HZ value 1000.Will this HZ
> > value cause an overhead on the 200MHZ CPU.Can someone advise me on
> > whether going back to HZ vaule of 100 like Linux-2.4 will reduce the
> > overhead on this CPU.What are the side effects this change can cause?.
>
> The 1000Hz clock should not actually cause any problems with a 200MHz CPU,
> but it will suck up an annoyingly high percentage of available cycles.
> Backing off to 100Hz may cause some degradation of some
> real-time/interactive response times, but the improved overall performance
> will probably more than make up for it. I never build with a HZ value
> greater than 100 these days, but then again, I'm mostly running on FPGAs and
> other hardware emulators where the CPU clock frequencies may be less than
> 1MHz, and are never more than 33MHz.
> Note that a HZ value of less than 100 may cause some kernel macros to
> generate divide-by-zero operations/exceptions.
>
> Regards,
>
> Kevin K.
>
>
>
WARNING: multiple messages have this Message-ID (diff)
From: "Kevin D. Kissell" <kevink@mips.com>
To: Sathesh Babu Edara <satheshbabu.edara@analog.com>,
linux-mips-bounce@linux-mips.org, linux-mips@linux-mips.org
Subject: Re:
Date: Mon, 9 Jan 2006 10:00:48 +0100 [thread overview]
Message-ID: <005a01c614fb$2fe76b00$10eca8c0@grendel> (raw)
Message-ID: <20060109090048.d5ijo6d8uDsZIHVxSod3RqkzccwUrt_AWA-G2VnyROM@z> (raw)
In-Reply-To: 200601090742.k097gYaZ017304@lilac.hdcindia.analog.com
There is no "ideal" value for a given processor frequency.
The lower the value, the less interrupt processing overhead,
but the slower the response time to events that are detected
or serviced during clock interrupts. 1000 HZ *may* be a sensible
value (I have my doubts, personally) for 2+ GHz PC processors,
but it's excessive (IMHO) for a 200MHz processor and unworkable
for a 20MHz CPU. I think that 100HZ is still a reasonable value
for an embedded RISC CPU, but the "ideal" value is going to
be a function of the application.
Regards,
Kevin K.
----- Original Message -----
From: "Sathesh Babu Edara" <satheshbabu.edara@analog.com>
To: "'Kevin D. Kissell'" <kevink@mips.com>; <linux-mips-bounce@linux-mips.org>; <linux-mips@linux-mips.org>
Sent: Monday, January 09, 2006 8:43 AM
Subject: RE:
>
> Hi,
> Appreciate your response .
>
> What is the ideal HZ value if the processor speed is 200Mhz?.
>
> Regards,
> Sathesh
> -----Original Message-----
> From: Kevin D. Kissell [mailto:kevink@mips.com]
> Sent: Wednesday, January 04, 2006 6:37 PM
> To: Sathesh Babu Edara
> Cc: linux-mips-bounce@linux-mips.org; linux-mips@linux-mips.org
> Subject: Re:
>
> Sathesh Babu Edara wrote:
> >
> >
> > Hi,
> > We have ported linux-2.6.12 kernel onto MIPS processor (LX4189) and
> > the processor speed is 200Mhz.
> > By default Linux-2.6.12 kernel comes with HZ value 1000.Will this HZ
> > value cause an overhead on the 200MHZ CPU.Can someone advise me on
> > whether going back to HZ vaule of 100 like Linux-2.4 will reduce the
> > overhead on this CPU.What are the side effects this change can cause?.
>
> The 1000Hz clock should not actually cause any problems with a 200MHz CPU,
> but it will suck up an annoyingly high percentage of available cycles.
> Backing off to 100Hz may cause some degradation of some
> real-time/interactive response times, but the improved overall performance
> will probably more than make up for it. I never build with a HZ value
> greater than 100 these days, but then again, I'm mostly running on FPGAs and
> other hardware emulators where the CPU clock frequencies may be less than
> 1MHz, and are never more than 33MHz.
> Note that a HZ value of less than 100 may cause some kernel macros to
> generate divide-by-zero operations/exceptions.
>
> Regards,
>
> Kevin K.
>
>
>
next prev parent reply other threads:[~2006-01-09 8:56 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-08 21:00 ALCHEMY: AU1200 USB Host Controller (OHCI/EHCI) Jordan Crouse
2005-12-10 5:13 ` [linux-usb-devel] " David Brownell
2005-12-10 6:42 ` Pete Popov
2005-12-12 10:51 ` Bora Sahin
2006-01-03 14:25 ` Matej Kupljen
2006-01-03 15:54 ` Jordan Crouse
2006-01-03 21:45 ` Matej Kupljen
2006-01-04 7:18 ` Matej Kupljen
2006-01-04 12:50 ` Sathesh Babu Edara
2006-01-04 12:50 ` Sathesh Babu Edara
2006-01-04 13:06 ` Kevin D. Kissell
2006-01-09 4:54 ` LL and SC instruction simulation Sathesh Babu Edara
2006-01-09 4:54 ` Sathesh Babu Edara
2006-01-09 7:43 ` Sathesh Babu Edara
2006-01-09 7:43 ` RE: Sathesh Babu Edara
2006-01-09 7:49 ` LL and SC instruction simulation Sathesh Babu Edara
2006-01-09 7:49 ` Sathesh Babu Edara
2006-01-09 14:54 ` Ralf Baechle
2006-01-09 15:17 ` Kevin D. Kissell
2006-01-09 15:17 ` Kevin D. Kissell
2006-01-09 15:21 ` Ralf Baechle
2006-01-09 15:30 ` Ralf Baechle
2006-01-09 15:47 ` Kevin D. Kissell
2006-01-09 15:47 ` Kevin D. Kissell
2006-01-09 15:51 ` Ralf Baechle
2006-01-09 9:00 ` Kevin D. Kissell [this message]
2006-01-09 9:00 ` Kevin D. Kissell
2006-01-09 21:23 ` [processor frequency] Wolfgang Denk
2006-01-09 21:53 ` Kevin D. Kissell
2006-01-09 23:01 ` Wolfgang Denk
2006-01-04 12:12 ` ALCHEMY: AU1200 USB Host Controller (OHCI/EHCI) Matej Kupljen
2006-01-04 12:32 ` Matthias Lenk
2006-01-04 13:07 ` Matej Kupljen
2006-01-04 13:54 ` bora.sahin
2006-01-04 14:17 ` Matej Kupljen
-- strict thread matches above, loose matches on Subject: below --
2024-10-17 9:09 Paulo Miguel Almeida
2024-10-17 9:12 ` Paulo Miguel Almeida
2020-05-06 5:52 Jiaxun Yang
2020-05-06 17:17 ` Nick Desaulniers
2017-11-13 14:55 Re: Amos Kalonzo
2017-11-13 14:55 ` Re: Amos Kalonzo
2017-02-23 15:09 Qin's Yanjun
2017-02-23 15:09 ` RE: Qin's Yanjun
2010-06-11 14:06 Jabir M
2010-06-11 14:32 ` Manuel Lauss
2010-06-11 17:06 ` Re: David Daney
2010-06-11 17:33 ` Re: Kevin D. Kissell
2010-06-11 18:28 ` Re: Manuel Lauss
2005-04-28 21:30 Raj Palani
2005-04-28 19:15 Bryan Althouse
2005-05-04 13:55 ` Alex Gonzalez
2005-05-04 14:22 ` Bryan Althouse
2005-05-04 14:22 ` RE: Bryan Althouse
2005-05-04 16:42 ` Ralf Baechle
2005-05-05 14:55 ` Re: Ralf Baechle
2005-05-05 15:08 ` Bryan Althouse
2005-05-05 15:08 ` RE: Bryan Althouse
2005-05-05 15:11 ` Ralf Baechle
2005-05-05 15:57 ` Re: Geert Uytterhoeven
2005-05-05 17:13 ` Re: Christoph Hellwig
2004-11-16 6:09 Re: Fuxin Zhang
2004-11-14 1:32 Re: Fuxin Zhang
2004-11-13 14:47 Re: macrohat
2004-09-03 8:57 xuhaoz
2004-09-03 21:47 ` Fuxin Zhang
2004-08-27 1:49 Re: bel racu
2004-04-14 6:05 caoxiang
2004-04-14 18:34 ` Fuxin Zhang
2003-11-01 1:38 Lyle Bainbridge
2003-11-03 18:14 ` Pete Popov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='005a01c614fb$2fe76b00$10eca8c0@grendel' \
--to=kevink@mips.com \
--cc=linux-mips-bounce@linux-mips.org \
--cc=linux-mips@linux-mips.org \
--cc=satheshbabu.edara@analog.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox