All times are UTC-06:00




Post new topic  Reply to topic  [ 15 posts ] 
Author Message
PostPosted: Mon Jun 05, 2006 4:37 am 
Offline

Joined: Tue Nov 02, 2004 2:11 am
Posts: 161
I'm working on optimizing the memory thoughput of glibc.


The benchmarks highlighted one interesting fact:
At least one old Pegasos Firmware versions
is bootlenecking the performance of the Pegasos G4.


Its propably a good idea to test your memory throughput on your Pegasos to verify that you are not accidently using such a firmware.


Higher bars mean higher performance.
Image

Old Firmware
Image

Same machine with Newer Firmware
Image



Here is the my testprogram (linux static binary)

http://www.greyhound-data.com/gunnar/glibc/stream02.gz

Gunnar


Last edited by gunnar on Mon Jun 05, 2006 6:28 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Mon Jun 05, 2006 4:57 am 
Offline

Joined: Sun May 08, 2005 8:46 pm
Posts: 559
Location: Paris
interesting gunnar, i'll try your testprogram as soon as possible (probably tonight) and send you the results.


Top
   
PostPosted: Mon Jun 05, 2006 5:57 am 
Offline

Joined: Wed Jul 27, 2005 9:20 am
Posts: 242
This could perhaps be interesting, but these particular diagrams tell us nothing; the only thing I see is a bunch of colored bars and some numbers to the left.

:-?


Top
   
 Post subject: OF1.2 2005 0602 111 451
PostPosted: Mon Jun 05, 2006 5:59 am 
Offline

Joined: Tue Nov 02, 2004 6:17 am
Posts: 28
Hi Gunnar,

actually this "performance brake" firmware is not
an old one but too new!

I had 1.2 2005 0602 111 451 that came with my latest
board (thanks to Genesi for the Peg1-upgrade!).

Downgrade to 1.2 2004 0810 112413 fixed the performance
to more than double speed!

Regards,
Peter


Top
   
 Post subject:
PostPosted: Mon Jun 05, 2006 6:14 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 111
PPCNUX did a comparison between Pegasos II with the latest publicly available v1.1 firmware upgrade from bplan and the Freescale ODW with v1.2.

With the same RAM the memory latency went down from 192 ns (!) to about 176 ns, the STREAM copy bandwidth rose from 324 to 370 MB/s (tested with lmbench).

At this time I cannot explain the low numbers you displayed in the top graphic. Maybe the bus ran in 60x mode?

Imho it would be nice to check and set memory access timing in the OF, just like every PC board and even AmigaOne is able to.


Top
   
 Post subject:
PostPosted: Mon Jun 05, 2006 6:30 am 
Offline

Joined: Tue Nov 02, 2004 2:11 am
Posts: 161
@takemehomegrandma

Yes you are right. Stupid me forgot to add the legend.
You can read more about the test on this page: http://www.greyhound-data.com/gunnar/glibc/

@Peter
Thanks for clarifying which firmware it was.

@Arno
Yes your guess is propably right.
The performance looks very much like running in 60x bus mode.
The diagram looks very similar to the Aone G4 which run in60x bus mode.


Top
   
 Post subject:
PostPosted: Mon Jun 05, 2006 7:37 am 
Offline

Joined: Tue Nov 02, 2004 2:11 am
Posts: 161
One the Pegasos 2 there is of course still the option to use the DMA-Engine for copying memory. The throughput of the DMA Engine is in the range of 500% of what MorphOS or Linux are now able to archieve.


Top
   
PostPosted: Tue Jun 06, 2006 6:11 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
I'm working on optimizing the memory thoughput of glibc.
The major changes in firmwares have been in memory configuration. Some people will see improvements (especially using overspecced memory like PC3200) and some people may see a drop (but this is because the memory is configured properly, and adds more DIMM models to the "working" list)

However downgrading different 1.2 firmwares is NOT a good idea. The firmware you got with your board is the firmware that should be run on the board! Lower versions do not support the new clock chip on the 2B5 boards.

When you all get 1.3 all your performances will align anyway. Please do not downgrade your firmware.

_________________
Matt Sealey


Top
   
PostPosted: Tue Jun 06, 2006 6:32 am 
Offline

Joined: Sun May 08, 2005 8:46 pm
Posts: 559
Location: Paris
Quote:
When you all get 1.3 all your performances will align anyway. Please do not downgrade your firmware.
any idea about the 1.3 release date ? And could you tell us about the changes in this version ?


Top
   
PostPosted: Tue Jun 06, 2006 7:54 am 
Offline

Joined: Tue Nov 02, 2004 6:17 am
Posts: 28
Quote:

The firmware you got with your board is the firmware that should be run on the board! Lower versions do not support the new clock chip on the 2B5 boards.

When you all get 1.3 all your performances will align anyway. Please do not downgrade your firmware.
Hi Neko, thanks for clearing that up. I only noticed
this later - the TOD-clock is indeed runnnig much too slow
after the downgrade.

Regards,
Peter


Top
   
PostPosted: Tue Jun 06, 2006 12:00 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
Quote:
When you all get 1.3 all your performances will align anyway. Please do not downgrade your firmware.
any idea about the 1.3 release date ? And could you tell us about the changes in this version ?
Booting from USB mass storage, DHCP etc. and a handful of other pretty things which are fairly silent in operation.

Some CHRP compliance fixes for things like disk number ordering is the only thing you will notice as a user (it will break the boot menu until you edit it :)

_________________
Matt Sealey


Top
   
PostPosted: Tue Jun 06, 2006 12:24 pm 
Offline

Joined: Sun May 08, 2005 8:46 pm
Posts: 559
Location: Paris
@Neko

booting from USB is something i will definately notice ;-)
thanks for the info.


Top
   
 Post subject:
PostPosted: Fri Jun 09, 2006 2:08 am 
Offline

Joined: Sun Oct 24, 2004 7:37 am
Posts: 37
Hmm, new features sounds realy nice. There is only one question ... when.


Top
   
 Post subject:
PostPosted: Fri Jun 09, 2006 4:44 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
Hmm, new features sounds realy nice. There is only one question ... when.
When it's been through feature-freeze and testing.

I talked with Sven and we agreed on some "must be done" features and bugfixes, and anything "still in development" would be disabled for the freeze. This should enable a fast track to test and then release and hopefully coincide with an EFIKA shipment.

After that any of the development parts (which including perhaps other filesystem support, and HAL improvements which will benefit installers for Linux etc.) might get a fast tracked "1.3.1" release.

I hope after this long, long wait we can finally start doing something like 2 or 3 firmware updates per year, and finally the Pegasos I update to bring it to parity.

We also have an improved manual for 1.3 which will go out with the release - or maybe even sooner.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Fri Jun 09, 2006 6:30 am 
Offline

Joined: Tue Nov 02, 2004 2:11 am
Posts: 161
Hi Matt,

Many thanks for the status report.
This is in fact very good news!

I'm not sure if I understood this correct.
Will 1.3 be available for Peg1 too or is the Peg1 update planned be come out later?

Cheers
Gunnar


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 15 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group