Hi Sven,

Sven Johnsson wrote:
What hardware?
What software versions?

The hardware I'm using is the Coldfire 5329 processor running at 240
MHz. It runs uClinux 2.6.16.1 from Freescale. It uses an NFS mount.

Are you using the same dhrystone code as was used to
generate the vendors number?

Freescale also used Dhystone 2.1 in their benchmark test, but probably
without any OS.

Is cache enabled?

I have browsed the Kernel configuration utility without finding the
cache enable option. Where can I find it?

The CACHE_ENABLE macros in include/asm-m68knommu/mcfcache.h.
It is used in arch/m68knommu/platform/5307/start.S

It looks ok in the 2.6.20 code base, but you need to check it
in your older code base.

Regards
Greg



From: Greg Ungerer <[EMAIL PROTECTED]>
Subject: Re: [uClinux-dev] Applications run too slow
To: uClinux development list <uclinux-dev@uclinux.org>


Hi Sven,

Sven Johnsson wrote:
> I have executed a Dhrystone 2.1 benchmark on my uClinux system and get
> an extremely low result, about 0.0259 DMIPS (I also used a stopwatch
> to confirm it). The datasheet of the processor says 211 DMIPS!
>
> It seems like user space applications don't get scheduled as much as
> they could have been.

What hardware?
What software versions?

If a system has only one runnable process then it will get
scheduled all CPU time. And normal kernel house keeping
functions (like system timer) user a very small fraction of
total CPU time.

> -Does anyone know a way to give an application more CPU time?

Is cache enabled?

Are you using the same dhrystone code as was used to
generate the vendors number?

Regards
Greg
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev



--
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
SnapGear -- a Secure Computing Company      PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to