Re: python performance on Solaris

2009-10-16 Thread Dieter Maurer
Antoine Pitrou writes on Thu, 15 Oct 2009 16:25:43 + (UTC): > Le Wed, 14 Oct 2009 22:39:14 -0700, John Nagle a écrit : > > > > Note that multithreaded compute-bound Python programs really suck > > on multiprocessors. Adding a second CPU makes the program go slower, > > due to a lame mec

Re: python performance on Solaris

2009-10-15 Thread Adam Vande More
On Thu, Oct 15, 2009 at 4:35 PM, Aahz wrote: > In article < > 1a4707f5-85be-4f5f-ac3e-cf8f5bd21...@b15g2000yqd.googlegroups.com>, > inaf wrote: > > > >I have been following this group for quite some time and I figured > >(after searching enough on google --and on this group-- and not finding >

Re: python performance on Solaris

2009-10-15 Thread Aahz
In article <1a4707f5-85be-4f5f-ac3e-cf8f5bd21...@b15g2000yqd.googlegroups.com>, inaf wrote: > >I have been following this group for quite some time and I figured >(after searching enough on google --and on this group-- and not finding >anything useful) I could pose this question here. Can anyone

Re: python performance on Solaris

2009-10-15 Thread Antoine Pitrou
Le Wed, 14 Oct 2009 22:39:14 -0700, John Nagle a écrit : > > Note that multithreaded compute-bound Python programs really suck > on multiprocessors. Adding a second CPU makes the program go slower, > due to a lame mechanism for resolving conflicts over the global > interpreter lock. I'm not

Re: python performance on Solaris

2009-10-14 Thread John Nagle
inaf wrote: I have been following this group for quite some time and I figured (after searching enough on google --and on this group-- and not finding anything useful) I could pose this question here. Can anyone shed some light on python's performance on Solaris? Note that multithreaded com

Re: python performance on Solaris

2009-10-14 Thread inaf
On Oct 14, 7:15 am, Antoine Pitrou wrote: > inaf gmail.com> writes: > > > > > Good point. I failed to compare the CPU power on these machines.. 32 > > bit linux box I have is 2666 Mhz vs the Solaris zone is 1415 Mhz.. I > > guess that explains :) Thank you for the tip.. > > You have to compare no

Re: python performance on Solaris

2009-10-14 Thread James Matthews
I use python in almost the same environment. I use it on Joyent and on the Rackspace cloud. Joyent is faster for a few reasons (cpu bursting and faster disks) but these aren't real benchmarks until they are on the same machines. James On Wed, Oct 14, 2009 at 9:59 AM, Jorgen Grahn > wrote: > On

Re: python performance on Solaris

2009-10-14 Thread Jorgen Grahn
On Wed, 2009-10-14, Antoine Pitrou wrote: > inaf gmail.com> writes: >> >> Good point. I failed to compare the CPU power on these machines.. 32 >> bit linux box I have is 2666 Mhz vs the Solaris zone is 1415 Mhz.. I >> guess that explains :) Thank you for the tip.. > > You have to compare not only

Re: python performance on Solaris

2009-10-14 Thread Antoine Pitrou
inaf gmail.com> writes: > > Good point. I failed to compare the CPU power on these machines.. 32 > bit linux box I have is 2666 Mhz vs the Solaris zone is 1415 Mhz.. I > guess that explains :) Thank you for the tip.. You have to compare not only CPU frequencies but the CPU models. Recently Sun h

Re: python performance on Solaris

2009-10-11 Thread inaf
On Oct 11, 6:59 am, Antoine Pitrou wrote: > inaf gmail.com> writes: > > > > > My code seem to > > return lookups from a in memory data structure I build combining bunch > > of dictionaries and lists 6-8 times faster on a 32 bit Linux box than > > on a Solaris zone. > > Well, if your workload is C

Re: python performance on Solaris

2009-10-11 Thread Antoine Pitrou
inaf gmail.com> writes: > > My code seem to > return lookups from a in memory data structure I build combining bunch > of dictionaries and lists 6-8 times faster on a 32 bit Linux box than > on a Solaris zone. Well, if your workload is CPU-bound, the issue here is not really Solaris vs. Linux bu