Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Psyco on 64-bit machines
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Russ P.  
View profile  
 More options Nov 12, 3:06 pm
Newsgroups: comp.lang.python
From: "Russ P." <russ.paie...@gmail.com>
Date: Thu, 12 Nov 2009 12:06:18 -0800 (PST)
Local: Thurs, Nov 12 2009 3:06 pm
Subject: Psyco on 64-bit machines
I have a Python program that runs too slow for some inputs. I would
like to speed it up without rewriting any code. Psyco seemed like
exactly what I need, until I saw that it only works on a 32-bit
architecture. I work in an environment of Sun Ultras that are all 64-
bit. However, the Psyco docs say this:

"Psyco does not support the 64-bit x86 architecture, unless you have a
Python compiled in 32-bit compatibility mode."

Would it make sense to compile Python in the 32-bit compatibility mode
so I can use Psyco? What would I lose in that mode, if anything?
Thanks.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Russ P.  
View profile  
 More options Nov 13, 3:41 pm
Newsgroups: comp.lang.python
From: "Russ P." <russ.paie...@gmail.com>
Date: Fri, 13 Nov 2009 12:41:40 -0800 (PST)
Local: Fri, Nov 13 2009 3:41 pm
Subject: Re: Psyco on 64-bit machines
On Nov 12, 12:06 pm, "Russ P." <russ.paie...@gmail.com> wrote:

> I have a Python program that runs too slow for some inputs. I would
> like to speed it up without rewriting any code. Psyco seemed like
> exactly what I need, until I saw that it only works on a 32-bit
> architecture. I work in an environment of Sun Ultras that are all 64-
> bit. However, the Psyco docs say this:

> "Psyco does not support the 64-bit x86 architecture, unless you have a
> Python compiled in 32-bit compatibility mode."

> Would it make sense to compile Python in the 32-bit compatibility mode
> so I can use Psyco? What would I lose in that mode, if anything?
> Thanks.

Has anyone tried this?

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Diez B. Roggisch  
View profile  
 More options Nov 14, 1:15 pm
Newsgroups: comp.lang.python
From: "Diez B. Roggisch" <de...@nospam.web.de>
Date: Sat, 14 Nov 2009 19:15:41 +0100
Local: Sat, Nov 14 2009 1:15 pm
Subject: Re: Psyco on 64-bit machines
Russ P. schrieb:

> I have a Python program that runs too slow for some inputs. I would
> like to speed it up without rewriting any code. Psyco seemed like
> exactly what I need, until I saw that it only works on a 32-bit
> architecture. I work in an environment of Sun Ultras that are all 64-
> bit. However, the Psyco docs say this:

> "Psyco does not support the 64-bit x86 architecture, unless you have a
> Python compiled in 32-bit compatibility mode."

> Would it make sense to compile Python in the 32-bit compatibility mode
> so I can use Psyco? What would I lose in that mode, if anything?
> Thanks.

Isn't the SUN Ultra using an ULTRA-Sparc core? If so, the point is moot.

Diez


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Russ P.  
View profile  
 More options Nov 14, 5:51 pm
Newsgroups: comp.lang.python
From: "Russ P." <russ.paie...@gmail.com>
Date: Sat, 14 Nov 2009 14:51:45 -0800 (PST)
Local: Sat, Nov 14 2009 5:51 pm
Subject: Re: Psyco on 64-bit machines
On Nov 14, 10:15 am, "Diez B. Roggisch" <de...@nospam.web.de> wrote:

No, it's Intel based.

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Russ P.  
View profile  
 More options Nov 14, 6:48 pm
Newsgroups: comp.lang.python
From: "Russ P." <russ.paie...@gmail.com>
Date: Sat, 14 Nov 2009 15:48:49 -0800 (PST)
Local: Sat, Nov 14 2009 6:48 pm
Subject: Re: Psyco on 64-bit machines
On Nov 12, 12:06 pm, "Russ P." <russ.paie...@gmail.com> wrote:

> I have a Python program that runs too slow for some inputs. I would
> like to speed it up without rewriting any code. Psyco seemed like
> exactly what I need, until I saw that it only works on a 32-bit
> architecture. I work in an environment of Sun Ultras that are all 64-
> bit. However, the Psyco docs say this:

> "Psyco does not support the 64-bit x86 architecture, unless you have a
> Python compiled in 32-bit compatibility mode."

> Would it make sense to compile Python in the 32-bit compatibility mode
> so I can use Psyco? What would I lose in that mode, if anything?
> Thanks.

I just stumbled across "unladen swallow," a "faster implementation of
Python." Is it ready for operational usage? How does it compare to
Psyco? I poked around their website a bit, but I don't see answers to
those questions. Thanks.

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robin Becker  
View profile  
 More options Nov 16, 8:28 am
Newsgroups: gmane.comp.python.general, comp.lang.python
From: Robin Becker <ro...@reportlab.com>
Date: Mon, 16 Nov 2009 13:28:36 +0000
Local: Mon, Nov 16 2009 8:28 am
Subject: Re: Psyco on 64-bit machines
Russ P. wrote:

........

> I just stumbled across "unladen swallow," a "faster implementation of
> Python." Is it ready for operational usage? How does it compare to
> Psyco? I poked around their website a bit, but I don't see answers to
> those questions. Thanks.

I've tried a few things with it. It mostly works, but it isn't actually faster
at normal programs. I've been told their target is for long running processes
where JIT and similar can speed up the inner loops etc etc. Certainly makes
sense for google apps in python so perhaps that's the intended end use.
--
Robin Becker

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robin Becker  
View profile  
 More options Nov 16, 8:28 am
Newsgroups: comp.lang.python
From: Robin Becker <ro...@reportlab.com>
Date: Mon, 16 Nov 2009 13:28:36 +0000
Local: Mon, Nov 16 2009 8:28 am
Subject: Re: Psyco on 64-bit machines
Russ P. wrote:

........

> I just stumbled across "unladen swallow," a "faster implementation of
> Python." Is it ready for operational usage? How does it compare to
> Psyco? I poked around their website a bit, but I don't see answers to
> those questions. Thanks.

I've tried a few things with it. It mostly works, but it isn't actually faster
at normal programs. I've been told their target is for long running processes
where JIT and similar can speed up the inner loops etc etc. Certainly makes
sense for google apps in python so perhaps that's the intended end use.
--
Robin Becker

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeremy Sanders  
View profile  
 More options Nov 16, 9:00 am
Newsgroups: comp.lang.python
Followup-To: comp.lang.python
From: Jeremy Sanders <jeremy+complangpyt...@jeremysanders.net>
Date: Mon, 16 Nov 2009 14:00:25 +0000
Local: Mon, Nov 16 2009 9:00 am
Subject: Re: Psyco on 64-bit machines

Russ P. wrote:
> Would it make sense to compile Python in the 32-bit compatibility mode
> so I can use Psyco? What would I lose in that mode, if anything?
> Thanks.

You won't be able to access large amounts of memory in 32 bit mode. Also,
the x86-64 mode has more CPU registers than x86 mode, so Python will
typically run faster in 64 bit mode (this is more pronounced in AMD
processors, in my experience).

It will depend on your application whether 32 bit mode plus Psyco is faster
than 64 bit mode.

Jeremy

--
Jeremy Sanders
http://www.jeremysanders.net/


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google