[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] bogomips score for microblaze under uclinux
Hi Rick,
> 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:
Yes, you have to because you need to copy changed Kconfig.auto file. But it is a
little bit weird that you had in your cpuinfo correct size of caches. It seems
to me you add caches to your hw design. You static PVR (not full) and you run
rebuild kernel on old design. I recommend you for next hw design in case you
have some enable full PVR. This give you correct values on every design.
> # 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!
Have a fun with your fast design.
Regards,
Michal
> 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/
>
>
___________________________
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/