Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #24532
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <prvs=5182e048f=jeanmichel@sequans.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.050 |
| X-Spam-Evidence | '*H*': 0.90; '*S*': 0.00; 'mrab': 0.05; 'ascii': 0.07; 'python': 0.09; 'issue?': 0.09; 'statistical': 0.09; 'suggest': 0.11; 'files.': 0.13; '.txt': 0.16; 'exploits': 0.16; 'laptop.': 0.16; 'wrote:': 0.17; 'windows': 0.19; 'trying': 0.21; 'do.': 0.21; '(you': 0.23; 'minutes.': 0.23; 'url:profile': 0.23; 'machine': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'plain': 0.27; '2.6': 0.27; 'executing': 0.27; 'india.': 0.27; "doesn't": 0.28; 'run': 0.28; 'post': 0.28; 'stuff': 0.30; 'url:python': 0.32; 'quickly': 0.32; 'running': 0.32; 'could': 0.32; 'idle': 0.33; 'ram': 0.33; 'to:addr:python- list': 0.33; 'likely': 0.33; 'text': 0.34; 'text.': 0.35; 'but': 0.36; 'url:org': 0.36; 'loaded': 0.36; 'url:library': 0.36; 'too': 0.36; 'quite': 0.37; 'subject:: ': 0.38; 'url:docs': 0.38; 'several': 0.39; 'to:addr:python.org': 0.39; 'where': 0.40; 'your': 0.60; 'group,': 0.60; 'increased': 0.60; 'received:194': 0.61; 'dead': 0.62; 'improved': 0.62; 'worth': 0.63; 'email addr:gmail.com': 0.63; 'here': 0.65; 'dear': 0.66; 'hugely': 0.84; 'sri': 0.84; 'try,': 0.84; 'profile.': 0.91; 'shocked': 0.91; '30%': 0.93 |
| X-IronPort-AV | E=Sophos;i="4.77,486,1336341600"; d="scan'208";a="537194" |
| X-Virus-Scanned | amavisd-new at zimbra.sequans.com |
| Date | Wed, 27 Jun 2012 20:59:49 +0200 |
| From | Jean-Michel Pichavant <jeanmichel@sequans.com> |
| User-Agent | Mozilla-Thunderbird 2.0.0.24 (X11/20100328) |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Slow output |
| References | <53d49cb1-a68a-49c4-b925-b8a910ac415a@googlegroups.com> <4FEB4B90.6050002@mrabarnett.plus.com> |
| In-Reply-To | <4FEB4B90.6050002@mrabarnett.plus.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1558.1340823596.4697.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1340823596 news.xs4all.nl 6887 [2001:888:2000:d::a6]:33472 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:24532 |
Show key headers only | View raw
MRAB wrote: > On 27/06/2012 18:33, subhabangalore@gmail.com wrote: >> Dear Group, >> I am Sri Subhabrata Banerjee writing from India. I am running a small >> program which exploits around 12 1 to 2 KB .txt files. I am using MS >> Windows XP Service Pack 3 and Python 2.6 where IDLE is GUI. The text >> is plain ASCII text. The RAM of the machine is around 2 GB. To run >> the program the machine is becoming dead slow and it is executing >> only after several minutes. I am shocked as I have run hugely loaded >> Statistical Learning stuff only on 516MB RAM on Python using Windows >> XP only. And that too on a laptop. I am not getting. I discussed the >> issue with my system administrator and he increased the RAM to 8GB >> result improved by 30% but not satisfactory speed. May any one >> suggest me what may be the likely issue? >> > Could you post the program here (you say that it's small) so that we > can see what you're trying to do. Additionaly, you may want to look at http://docs.python.org/library/profile.html You may spot quite quickly where your program is dying. It's worth the try, it's doesn't take long to setup the profile. JM
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Slow output subhabangalore@gmail.com - 2012-06-27 10:33 -0700
Re: Slow output MRAB <python@mrabarnett.plus.com> - 2012-06-27 19:06 +0100
Re: Slow output Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-06-27 20:27 +0000
Re: Slow output Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-06-27 20:59 +0200
Re: Slow output alex23 <wuwei23@gmail.com> - 2012-06-27 19:05 -0700
Re: Slow output subhabangalore@gmail.com - 2012-06-28 07:11 -0700
Re: Slow output Roel Schroeven <roel@roelschroeven.net> - 2012-06-28 21:14 +0200
csiph-web