Re: amd64 vs x86 hosting

2008-09-25 Thread David Durham, Jr.

>> I think the primary difference is the amount of RAM that is supported
>> and whether or not you have compatible software.  With that said, all
>> modern processors are x64 so you probably want to default with an x64
>> OS unless you need x86 for software compatibility reasons.
>
> That's not what our tests tells. Just swaping operating system build
> for amd64 gives some 10% ~ 15% gain. It's a gain that enables
> inserting a small site into the same box.

I hope you end up running amd64 on Intel(R) Core(TM) 2 Duo because you
can get another 10 to 15 percent improvement that way.  :)

-Dave

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: amd64 vs x86 hosting

2008-09-25 Thread mcosta

On Sep 24, 6:07 pm, "David Durham, Jr." <[EMAIL PROTECTED]>
wrote:
> On Wed, Sep 24, 2008 at 6:14 AM, mcosta <[EMAIL PROTECTED]> wrote:
> > One question: ¿amd64 or x86? we've got some bechmark claiming superior
> > performance for amd64, both with python and mysql, but then we can not
> > tune with psyco. We've taken a look at pyrex but we do not know even
> > if we are shooting in our foot with any of these. ¿are these
> > technologies useful for actual web app tuning?
>
> I think the primary difference is the amount of RAM that is supported
> and whether or not you have compatible software.  With that said, all
> modern processors are x64 so you probably want to default with an x64
> OS unless you need x86 for software compatibility reasons.

That's not what our tests tells. Just swaping operating system build
for amd64 gives some 10% ~ 15% gain. It's a gain that enables
inserting a small site into the same box.

I like to do my own tests, so I ignore the published ones. But a quick
google search shows the same I stated above:

http://www.scribd.com/doc/363677/Benchmarks-AMD64-in-32bit-mode-vs-64bit-mode-Ubuntu

But how I told, we have real world fact with LAMP + cakePHP, and not
with Linux+(cherokee, apache)+Mysql+(django, pylons) etc
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: amd64 vs x86 hosting

2008-09-25 Thread mcosta

On Sep 24, 5:32 pm, Christian Joergensen <[EMAIL PROTECTED]> wrote:
> mcosta wrote:
> > One question: ¿amd64 or x86? we've got some bechmark claiming superior
> > performance for amd64, both with python and mysql, but then we can not
> > tune with psyco. We've taken a look at pyrex but we do not know even
> > if we are shooting in our foot with any of these. ¿are these
> > technologies useful for actual web app tuning?
>
> In my experience, when it comes to database backed web applications, the
> application logic is seldom the bottleneck (unless, of course, you do a
> lot of numbers crushing).
>
> You should probably focus your optimization on your database instead,
> and not so much whether you should use psyco or pyrex to speed up your
> Python code.

So we should go with amd64 for the faster mysql and easy memory
upgrade. In a hurry we can get obscene RAM sizes.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: amd64 vs x86 hosting

2008-09-24 Thread David Durham, Jr.

On Wed, Sep 24, 2008 at 11:07 AM, David Durham, Jr.
<[EMAIL PROTECTED]> wrote:
> On Wed, Sep 24, 2008 at 6:14 AM, mcosta <[EMAIL PROTECTED]> wrote:
>> One question: ¿amd64 or x86? we've got some bechmark claiming superior
>> performance for amd64, both with python and mysql, but then we can not
>> tune with psyco. We've taken a look at pyrex but we do not know even
>> if we are shooting in our foot with any of these. ¿are these
>> technologies useful for actual web app tuning?
>
> I think the primary difference is the amount of RAM that is supported
> and whether or not you have compatible software.  With that said, all
> modern processors are x64 so you probably want to default with an x64
> OS unless you need x86 for software compatibility reasons.

Actually I don't know that all modern processors are x64, but it seems
to me that the server ones are.

-Dave

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: amd64 vs x86 hosting

2008-09-24 Thread David Durham, Jr.

On Wed, Sep 24, 2008 at 6:14 AM, mcosta <[EMAIL PROTECTED]> wrote:
> One question: ¿amd64 or x86? we've got some bechmark claiming superior
> performance for amd64, both with python and mysql, but then we can not
> tune with psyco. We've taken a look at pyrex but we do not know even
> if we are shooting in our foot with any of these. ¿are these
> technologies useful for actual web app tuning?

I think the primary difference is the amount of RAM that is supported
and whether or not you have compatible software.  With that said, all
modern processors are x64 so you probably want to default with an x64
OS unless you need x86 for software compatibility reasons.

-Dave

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: amd64 vs x86 hosting

2008-09-24 Thread Christian Joergensen

mcosta wrote:
> One question: ¿amd64 or x86? we've got some bechmark claiming superior
> performance for amd64, both with python and mysql, but then we can not
> tune with psyco. We've taken a look at pyrex but we do not know even
> if we are shooting in our foot with any of these. ¿are these
> technologies useful for actual web app tuning?

In my experience, when it comes to database backed web applications, the 
application logic is seldom the bottleneck (unless, of course, you do a 
lot of numbers crushing).

You should probably focus your optimization on your database instead, 
and not so much whether you should use psyco or pyrex to speed up your 
Python code.

Regards,

Christian

-- 
Christian Joergensen
http://www.technobabble.dk

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



amd64 vs x86 hosting

2008-09-24 Thread mcosta

Hello people.

This is our first project with python and django. We've been playing
with this stuff but now with django 1.0 we are going to do Real Paid
Work(tm) with it. Until now we are a PHP/cakePHP shop.

One concern is speed. Right now we are not thinking about scale. Just
raw speed, and get the bucks back from the dedicated hosting we are
going to hire.

One question: ¿amd64 or x86? we've got some bechmark claiming superior
performance for amd64, both with python and mysql, but then we can not
tune with psyco. We've taken a look at pyrex but we do not know even
if we are shooting in our foot with any of these. ¿are these
technologies useful for actual web app tuning?

I would love to get some advice for CPU/web server combination. For
example amd64/lighttpd, amd64/cherokee, fastcgi etc...

Thanks

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---