All times are UTC-06:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: PegasosPPC and MySQL
PostPosted: Sat Jul 02, 2005 11:07 pm 
Offline
Genesi

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1422
Gunnar von Boehn posted this over on MorphOS-News and we thought it was worth re-posting over here:
Quote:
Hi Omer,

I understand your database example very well.
I'm working with big in memory databases myself.

But using a 64 Bit CPU does not always mean that you can you use much more memory.

For example:
The max amount of memory in current Pegasos is 2GB of memory.
This is because the Pegasos follows the CHRP specification.

But the G4 allows addressing of up to 64 Gigabytes of memory.
The address space is not so much limited by the 32 bit registers
as all the addresses are translated by the MMU anyway.

The northbridge of the Pegasos II supports an address space of 8 Gigabyets of memory.
If Genesi would decide to bring out Pegasos which do not following the CHRP specification
then the Pegasos could in theory address up to 8 GB. Maybe even more if they would use another northbridge.

Now lets have look at the new IBM Cell server blades. (64bit).
The dual Cell server blades which IBM was showcasing have two CELL CPUs
which 512 MB per CPU = 1 GB total memory.

Having a 64 Bit CPU does not automaticly mean that you will have much more
memory than on a 32bit CPU.

I'm sure that it will be no problem for BPlan to build
new Pegasos computer with the new 7448 G4 CPU
at something around 2 GHz and with up to 8 GB of memory.

These will be in my opinion great machines - even for real big databases.

If you want to run very big in memory databases you will naturally want to cluster
them anyway. You need to cluster to archive higher performance and to get a rebust system.
MySQL Cluster would be a perfect product for this.

I'm sure that 32bit CPUs are not a problem at all.
Lets say you have a database of 100 GB of size.
You could take a cluster of 16 NG-Pegasos to handle this.
This cluster will be rubust and will have some asskicking horse power :-)


Cheers
Gunnar
The thread link is http://www.morphos-news.de/comments.php?lg=en&nid=1123

R&B :-)


Top
   
 Post subject: Re: PegasosPPC and MySQL
PostPosted: Sun Jul 03, 2005 12:10 am 
Offline

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

I feel honored that you quoted me:

I'm sure that in the big picture using 32bit CPU is no disadvantage at all.

BTW I forgot the mention one point which is often misunderstood.
Some people do think that using a 64bit CPU might be of advantage
as the 64Bit CPU does not need to switch memory banks to address
another block of x-GB of memory.

I think there are two simple answers to this.
a) Switching memory areas via MMU tables is fast in PowerPC
(faster than on Intel) so this is no big hit.
b) If you ran an application like a clustered database then you
would want to partition you single note into virtual notes anyway.

So if you have a 8 GB Pegasos, you might want, because of
robustness reasons, to run 2 database notes on it anyway.
And each db-note note would be 4 GB of size.
This would work perfectly on a 32bit CPU without
any performance penalties compared to 64bit.

In fact as the pointers stay smaller, its very likely that such
an application will perform better on a 32 bit system.

Because of the smaller pointers, clever in memory databases
might always work in a partitioned way.

A 64 bit CPU will of course have a small performance advantage
if you do "A HUGE AMOUNT" of 64 bit integer mathematics.
But frankly the need for this is very small.



Cheers
Gunnar


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

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 34 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