[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] bogomips score for microblaze under uclinux



John and Michal,

Once I got the clue to rerun petalinux-copy-autoconfig EVERY time the hardware is changed, I got much better results. I guess what happened is I enabled the cache in the HW, uploaded the bit stream, and booted the kernel. Without the autoconfig, the kernel did not take advantage of the cache? Now my output is:

# cat /proc/cpuinfo
CPU-Family:     MicroBlaze
FPGA-Arch:      virtex5
CPU-Ver:        Unknown
CPU-MHz:        125.00
BogoMips:       62.05
HW-Div:         yes
HW-Shift:       yes
Icache:        16kB
Dcache:        16kB
HW-Debug:       yes

And the system is NOTICABLY faster! What a difference!

Thanks much,
Rick Hunnicutt

> -----Original Message-----
> From: owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-
> uclinux@xxxxxxxxxxxxxx] On Behalf Of John Williams
> Sent: Monday, October 20, 2008 6:19 PM
> To: microblaze-uclinux@xxxxxxxxxxxxxx
> Subject: Re: [microblaze-uclinux] bogomips score for microblaze under
> uclinux
>
> Hi Rick,
>
> Rick Hunnicutt wrote:
> > I'm concerned about the performance of my system and hope something
> is
> > wrong that I can fix...
> > My output from "cat /proc/cpuinfo" is:
> >
> > CPU-Family:     MicroBlaze
> > FPGA-Arch:      virtex5
> > CPU-Ver:        Unknown
> > CPU-MHz:        100.00
> > *BogoMips:       1.53*
> > HW-Div:         yes
> > HW-Shift:       yes
> > Icache:        16kB
> > Dcache:        16kB
> > HW-Debug:       yes
>
> Something funny there, it looks again like a HW/SW mismatch.  The
> kernel
> thinks caches are enabled, but the performance would suggest otherwise.
>
> Very unlikely to be a board-level issue at this stage.
>
> Can you post the system.mhs file, and also the file
> linux-2.6.x/arch/microblaze/platform/<your_platform>/Kconfig.auto?
>
> Regards,
>
> John
>
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-
> uclinux/


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/