Testing Data Cache for armv7 (beagleboard)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Ghorai
Quoted 7 lines
-----Original Message-----
From: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de] On Behalf Of chris c
Sent: Tuesday, October 12, 2010 6:55 AM
To: u-boot at lists.denx.de
Subject: Re: [U-Boot] Testing Data Cache for armv7 (beagleboard)
Quoted 5 lines
Thanks for the replies. I didn't realize that the MMC module was operating
in 1-bit mode inside U-boot. I'll concentrate on looking at that. Has anybody done any work to try and get 4-bit mode working for OMAP3 in U-boot?
[Ghorai] can you give a test using this patch series? This uses the generic mmc/sd driver for beagle board. And mmc/sd card will work at 4-bit, 48Mhz.
http://www.mail-archive.com/u-boot at lists.denx.de/msg38690.html
Quoted 51 lines
Thanks,
ChrisQuoted 3 lines · Wolfgang Denk
Dear chris c,
In message
<[email protected]<usuEyf4YuUVW rrLu80bMRFpRF%2BBThEix2bFNg at mail.gmail.com>>
Quoted 3 lines
Quoted 2 lines · you
I was comparing time just by timing it manually. How did you
instrument
Quoted 7 lines
Quoted 1 line
u-boot to display the time?
That's no instrumentation of U-Boot, but just timestamping the output on the serial console. See for example ftp://ftp.denx.de/pub/tools/time_log
Quoted 1 line
As for the small versus large file, I did the same test for 1MB of
data
Quoted 1 line
Quoted 1 line
using nand read and saw a x4 performance advantage. I also did a test
on
Quoted 26 lines
Quoted 1 line
mmc with 100 MB file and saw no performance increase. Looks like file
size
Quoted 4 lines
doesn't matter.
So does that mean that MMC file loading will not benefit from dcache enabled? Can anybody explain this?
It depends on where the time is actually spent. If you have a slow (say, bit-banging) MMC driver and a low-performance CPU then the transfer from MMC might simply not depend as much on caches. It is wrong to check just a simple use case. Try a number of different operations, like umcompressing a large image in RAM or from NOR to RAM, or downloading over the net, or ...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Remember, Information is not knowledge; Knowledge is not Wisdom; Wisdom is not truth; Truth is not beauty; Beauty is not love; Love is
not music; Music is the best." - Frank Zappa