473,382 Members | 1,147 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

32-bit python on Opteron, Solaris 10?

I'm in the market for a server to run some python code which is
optimized via psyco.

Sun T2100 servers come with Solaris 10, which comes with python
pre-installed.

Since those servers use the 64-bit Opteron box, I would assume that the
Python is a 64-bit version. (Does anyone know whether this is
true/false?)

The Psyco documentation says that for psyco to work, Python needs to be
compiled in "32-bit compatibility mode". I've never compiled Python, or
tried having multiple versions running on Solaris. I looked at the
README for the Python source and didn't see anything about "32-bit
compatibility mode", though I may have missed it. Or is it a matter of
choosing a 32 bit compiler to compile against? Any info would be
appreciated.

Finally, I'm wondering if anyone could give any feedback about
problems/roadblocks in compiling Python in "32-bit compatibility mode"
and running it alongside the pre-installed Python that comes with
Solaris 10.

Any input or tips would be greatly appreciated.

Thanks
Gary
--

Gary Robinson
VP/Innovation
Emergent Music, LLC
gr*******@goombah.com
207-942-3463
Company: http://www.goombah.com
Blog: http://www.garyrobinson.net
Apr 6 '06 #1
2 1907
The answers depend entirely on the cpu in my experience. I'm staring
at http://www.sun.com/servers/index.jsp and I can't see anything
called a T2100. I have 3 X2100 servers which are opterons. Psyco only
runs on x86 cpu hardware. Python cannot use psyco on opterons at all -
32 bit mode or otherwise. Pypy may fix this soon. The T2000 has a new
cpu for which I have no data about python performance. I am sure it
will run, but it may or may not be super fast if that's important to
you. On the ultrasparcs I have had an opportunity to fool with, python
runs "fast enough" for computationally intensive tasks (ie it's
useable) but relatively slowly compared to the x86 hardware I have
access to - particularly if psyco is available. I was once told that
python was more at home on CISC than on RISC CPU architecture and
being a trusting soul, accept this since it's consistent my own
limited experiments.

If you can benchmark your own code on a target machine, on solaris,
linux or windows, you can quickly figure out if it's "fast enough".
Exactly what means depends on the throughput you require and a stopwatch.

Your mileage may vary and there may be sun mavens on the list with
more reliable information than mine.

Gary Robinson wrote:
I'm in the market for a server to run some python code which is
optimized via psyco.

Sun T2100 servers come with Solaris 10, which comes with python
pre-installed.

Since those servers use the 64-bit Opteron box, I would assume that the
Python is a 64-bit version. (Does anyone know whether this is
true/false?)

The Psyco documentation says that for psyco to work, Python needs to be
compiled in "32-bit compatibility mode". I've never compiled Python, or
tried having multiple versions running on Solaris. I looked at the
README for the Python source and didn't see anything about "32-bit
compatibility mode", though I may have missed it. Or is it a matter of
choosing a 32 bit compiler to compile against? Any info would be
appreciated.

Finally, I'm wondering if anyone could give any feedback about
problems/roadblocks in compiling Python in "32-bit compatibility mode"
and running it alongside the pre-installed Python that comes with
Solaris 10.

Any input or tips would be greatly appreciated.

Thanks
Gary

Apr 7 '06 #2
Gary Robinson wrote:
I'm in the market for a server to run some python code which is
optimized via psyco.

Sun T2100 servers come with Solaris 10, which comes with python
pre-installed.


You can always install a 32bits version of Linux or Solaris on the X2100
yourself. The X2100 is even certified to run on it .
cf http://www.sun.com/servers/entry/x2100/os.jsp
Apr 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: Ivar | last post by:
Hi, For my supprise I found that functions have 32 parameter limit. Where to find more info about this limitation or similar limitations ? I need at least 50, 100 would be ok. Real life...
5
by: Ian Rutherford | last post by:
Heya guys, It seems VB .net no longer supports the awesome ability of VB 6 to declare something as a string and specify how long the string would be all in one line: Public myString as String *...
6
by: barcaroller | last post by:
I couldn't find a message-digest newsgroup, so I posted here. I have a C function that converts a string of arbitrary length to a 32-bit hash value. I realize this is overkill but I used...
9
by: beni.cherniavsky | last post by:
Python seems to be missing a UCS-32 codec, even in wide builds (not that it the build should matter). Is there some deep reason or should I just contribute a patch? If it's just a bug, should I...
16
by: chandanlinster | last post by:
As far as I know floating point variables, that are declared as float follow IEEE format representation (which is 32-bit in size). But chapter1-page no 9 of the book "The C programming language"...
10
by: lesperancer | last post by:
you start with a small application in access97, then you have more modules and more... and you reach the point where tables like 'item' and 'employee' reach the limit and you know there's more...
3
by: Barry | last post by:
void func(int array) { for (int i = 0; i < 32; ++i) cout << array << ' '; } as the code above shows, I know int array here will decay into int *, but I still find the number 32 useful for...
2
by: Jeffrey Walton | last post by:
Hi All, BMP Strings are a subset of Universal Strings.The BMP string uses approximately 65,000 code points from Universal String encoding. BMP Strings: ISO/IEC 10646, 2-octet canonical form,...
6
by: docbook.xml | last post by:
I have the following in the XHTML 1.0 Strict page: <meta http-equiv="Content-Type" content="text/html;charset=utf-32" /> However W3 validator complains that "The character encoding specified in...
18
by: lak | last post by:
I am studying the Advanced programming in the unix environment. There they says that we can register upto 32 functions with atexit(). Why that is limited to 32 functions? can any one tell the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.