Re: [Tutor] Windows vs Linux processing speed.

2011-10-15 Thread Steven D'Aprano
Steven D'Aprano wrote: Very few program's speed are greatly dependent on raw processor speed. Processor speed is one of the great marketing gimmicks of all time. Of course it has *some* effect, but the bottleneck is almost never the CPU, and usually the speed of getting data and/or code out of

Re: [Tutor] Windows vs Linux processing speed.

2011-10-15 Thread Emile van Sebille
On 10/14/2011 9:45 AM Tony Pelletier said... I have a question regarding the speed of my program on linux in comparison to windows. I mainly use windows, but I tend to use Arch Linux at home. When I run it via windows, it's relatively slow and didn't really bother me, but when I ran it at

Re: [Tutor] Windows vs Linux processing speed.

2011-10-14 Thread Japhy Bartlett
In this situation, the network connection is almost certainly the bottleneck; maybe CPU speed, if they are drastically different, but it seems like you're running relatively comparable hardware. RAM is almost never a *speed* bottleneck, until you start working with datasets larger than you can ho

Re: [Tutor] Windows vs Linux processing speed.

2011-10-14 Thread Alan Gauld
On 14/10/11 17:45, Tony Pelletier wrote: Hi, I have a question regarding the speed of my program on linux in comparison to windows. I'm using geopy and contacting Google for geocodes for records in a csv I created. snip... I mainly use windows, but I tend to use Arch Linux at home... So,

Re: [Tutor] Windows vs Linux processing speed.

2011-10-14 Thread Tony Pelletier
Thanks everyone. Well, I've added a timer to the code and I'm running it from my house. I'm getting the same times here from both laptops which I didn't expect at all. I guess I'll have to take my linux laptop to work and see what my tests produce there. And as an FYI, my windows laptop is actu

Re: [Tutor] Windows vs Linux processing speed.

2011-10-14 Thread Steven D'Aprano
Tony Pelletier wrote: So, my question is. Why is it running so much faster on linux? Is it the way that linux is handling the socket? Does windows open and close it whereas linux might leave it open and just pump data through? Perhaps; you'll have to read the source code to see if there are

Re: [Tutor] Windows vs Linux processing speed.

2011-10-14 Thread Steven D'Aprano
bob gailer wrote: On 10/14/2011 12:45 PM, Tony Pelletier wrote: Hi, I have a question regarding the speed of my program on linux in comparison to windows. [snip] Speed of a pure Python program depends on * processor speed * competition for resources from other processes * perhaps RAM "

Re: [Tutor] Windows vs Linux processing speed.

2011-10-14 Thread bob gailer
On 10/14/2011 12:45 PM, Tony Pelletier wrote: Hi, I have a question regarding the speed of my program on linux in comparison to windows. [snip] Speed of a pure Python program depends on * processor speed * competition for resources from other processes * perhaps RAM A good starting point

Re: [Tutor] Windows vs Linux processing speed.

2011-10-14 Thread John Fabiani
On Friday, October 14, 2011 09:45:57 am Tony Pelletier wrote: > Hi, > > I have a question regarding the speed of my program on linux in comparison > to windows. > > I'm using geopy and contacting Google for geocodes for records in a csv I > created. Like such: > > try: > reader = csv.r

Re: [Tutor] Windows vs Linux processing speed.

2011-10-14 Thread Prasad, Ramit
From: tutor-bounces+ramit.prasad=jpmorgan@python.org [mailto:tutor-bounces+ramit.prasad=jpmorgan@python.org] On Behalf Of Tony Pelletier Sent: Friday, October 14, 2011 11:46 AM To: tutor@python.org Subject: [Tutor] Windows vs Linux processing speed. Hi,  I have a question regarding the