* [ECOS] Cpu utilization
@ 2008-04-27 16:26 Shilpa
2008-04-28 7:34 ` [ECOS] " Grant Edwards
2008-04-28 8:49 ` [ECOS] " Andrew Lunn
0 siblings, 2 replies; 6+ messages in thread
From: Shilpa @ 2008-04-27 16:26 UTC (permalink / raw)
To: ecos-discuss
Hi all
I am looking for how to calculate the CPU utilization in the switch. Iam
using ECOS and the processor is MPC8245. I kindly request you to guide me
in calculation.
Thank you in advance
Regards
Shilpa
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ECOS] Re: Cpu utilization
2008-04-27 16:26 [ECOS] Cpu utilization Shilpa
@ 2008-04-28 7:34 ` Grant Edwards
2008-04-28 8:49 ` [ECOS] " Andrew Lunn
1 sibling, 0 replies; 6+ messages in thread
From: Grant Edwards @ 2008-04-28 7:34 UTC (permalink / raw)
To: ecos-discuss
On 2008-04-26, Shilpa <shilpa@garrettcom.com> wrote:
> Hi all
>
> I am looking for how to calculate the CPU utilization in the switch. Iam
> using ECOS and the processor is MPC8245. I kindly request you to guide me
> in calculation.
The usual method is to increment a counter in a loop in the
idle task. Look at the timer delta for a fixed period of time
(1 second, 10 seconds, etc.). CPU utilization is roughly
proportional to the inverse of that delta value.
--
Grant Edwards grante Yow! Yow! I just went
at below the poverty line!
visi.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ECOS] Cpu utilization
2008-04-27 16:26 [ECOS] Cpu utilization Shilpa
2008-04-28 7:34 ` [ECOS] " Grant Edwards
@ 2008-04-28 8:49 ` Andrew Lunn
[not found] ` <ANEIIDMJJAHCEKBLDEMEKEJHCAAA.shilpa@garrettcom.com>
1 sibling, 1 reply; 6+ messages in thread
From: Andrew Lunn @ 2008-04-28 8:49 UTC (permalink / raw)
To: Shilpa; +Cc: ecos-discuss
On Fri, Apr 25, 2008 at 05:18:53PM -0700, Shilpa wrote:
> Hi all
>
> I am looking for how to calculate the CPU utilization in the switch. Iam
> using ECOS and the processor is MPC8245. I kindly request you to guide me
> in calculation.
Take a look at the cpuload package. packages/services/cpuload/current
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ECOS] Cpu utilization
[not found] ` <ANEIIDMJJAHCEKBLDEMEKEJHCAAA.shilpa@garrettcom.com>
@ 2008-04-29 20:46 ` Andrew Lunn
0 siblings, 0 replies; 6+ messages in thread
From: Andrew Lunn @ 2008-04-29 20:46 UTC (permalink / raw)
To: Shilpa; +Cc: eCos Disuss
On Mon, Apr 28, 2008 at 03:47:39PM -0700, Shilpa wrote:
> Hi Andrew
>
> I could not find the cpuload package. Should I download this patch from the
> internet. If yes, please guide me.
Get a modern version of eCos:
http://ecos.sourceware.org/anoncvs.html
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ECOS] Re: Cpu utilization
2008-04-29 2:16 [ECOS] " Shilpa
@ 2008-04-29 11:11 ` Grant Edwards
0 siblings, 0 replies; 6+ messages in thread
From: Grant Edwards @ 2008-04-29 11:11 UTC (permalink / raw)
To: ecos-discuss
On 2008-04-28, Shilpa <shilpa@garrettcom.com> wrote:
> I could not find timer delta for MPC8245 processor. Can you
> please help me,
To whom should I send the invoice?
--
Grant Edwards grante Yow! Darling, my ELBOW
at is FLYING over FRANKFURT,
visi.com Germany...
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ECOS] RE: Cpu utilization
@ 2008-04-29 2:16 Shilpa
2008-04-29 11:11 ` [ECOS] " Grant Edwards
0 siblings, 1 reply; 6+ messages in thread
From: Shilpa @ 2008-04-29 2:16 UTC (permalink / raw)
To: Shilpa, ecos-discuss
Hi all
I could not find timer delta for MPC8245 processor. Can you please help me,
Thank you
Regards
Shilpa
---original message----
The usual method is to increment a counter in a loop in the
idle task. Look at the timer delta for a fixed period of time
(1 second, 10 seconds, etc.). CPU utilization is roughly
proportional to the inverse of that delta value
-----Original Message-----
From: Shilpa
Sent: Friday, April 25, 2008 5:19 PM
To: ecos-discuss@ecos.sourceware.org
Subject: Cpu utilization
Hi all
I am looking for how to calculate the CPU utilization in the switch. Iam
using ECOS and the processor is MPC8245. I kindly request you to guide me
in calculation.
Thank you in advance
Regards
Shilpa
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-04-29 7:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-27 16:26 [ECOS] Cpu utilization Shilpa
2008-04-28 7:34 ` [ECOS] " Grant Edwards
2008-04-28 8:49 ` [ECOS] " Andrew Lunn
[not found] ` <ANEIIDMJJAHCEKBLDEMEKEJHCAAA.shilpa@garrettcom.com>
2008-04-29 20:46 ` Andrew Lunn
2008-04-29 2:16 [ECOS] " Shilpa
2008-04-29 11:11 ` [ECOS] " Grant Edwards
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 read-only IMAP folder(s) and NNTP newsgroup(s).