Runnng python 2.2 on HP-UX, I get intermittant slow startup.
Sometimes python starts up in a small fraction of a second, and
sometimes takes 3-5 seconds. This applies to any script I run, or
just typing 'python' at the prompt.
I also observed something similar on Linux.
Any ideas what would cause *intermittant* slow startup?
-Mike 5 2198
Michael Mossey wrote: Runnng python 2.2 on HP-UX, I get intermittant slow startup. Sometimes python starts up in a small fraction of a second, and sometimes takes 3-5 seconds. This applies to any script I run, or just typing 'python' at the prompt.
I also observed something similar on Linux.
Any ideas what would cause *intermittant* slow startup?
Caching? Is it a long time between invocations that it takes a long
time to start up?
--
__ Erik Max Francis && ma*@alcyone.com && http://www.alcyone.com/max/
/ \ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
\__/ A father is a thousand schoolmasters.
-- Louis Nizer
Erik Max Francis <ma*@alcyone.co m> wrote in message news:<40******* ********@alcyon e.com>... Michael Mossey wrote:
Runnng python 2.2 on HP-UX, I get intermittant slow startup. Sometimes python starts up in a small fraction of a second, and sometimes takes 3-5 seconds. This applies to any script I run, or just typing 'python' at the prompt.
I also observed something similar on Linux.
Any ideas what would cause *intermittant* slow startup?
Caching? Is it a long time between invocations that it takes a long time to start up?
It is quite intermittant without much of a pattern I can see. One
thing that is definitely true is that if I start up python several
times in a row one right after the other, some can be slow and some
fast. I just observed it start fast twice, then start slow. I don't
remember if it ever does the other way around but I think it does.
-Mike
I've noticed that on Windows a lot, but not on Linux or Solaris.
On Tue, 5 Apr 2004, Michael Mossey wrote: Erik Max Francis <ma*@alcyone.co m> wrote in message news:<40******* ********@alcyon e.com>... Michael Mossey wrote:
Runnng python 2.2 on HP-UX, I get intermittant slow startup. Sometimes python starts up in a small fraction of a second, and sometimes takes 3-5 seconds. This applies to any script I run, or just typing 'python' at the prompt.
I also observed something similar on Linux.
Any ideas what would cause *intermittant* slow startup?
Caching? Is it a long time between invocations that it takes a long time to start up?
It is quite intermittant without much of a pattern I can see. One thing that is definitely true is that if I start up python several times in a row one right after the other, some can be slow and some fast. I just observed it start fast twice, then start slow. I don't remember if it ever does the other way around but I think it does.
is any resource coming from an NFS mount? or other network source?
--
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: an*****@bullsey e.apana.org.au (pref) | Snail: PO Box 370 an*****@pcug.or g.au (alt) | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia
Andrew MacIntyre <an*****@bullse ye.apana.org.au > wrote in message news:<ma******* *************** *************** *@python.org>.. . On Tue, 5 Apr 2004, Michael Mossey wrote:
Erik Max Francis <ma*@alcyone.co m> wrote in message news:<40******* ********@alcyon e.com>... Michael Mossey wrote:
> Runnng python 2.2 on HP-UX, I get intermittant slow startup. > Sometimes python starts up in a small fraction of a second, and > sometimes takes 3-5 seconds. This applies to any script I run, or > just typing 'python' at the prompt. > > I also observed something similar on Linux. > > Any ideas what would cause *intermittant* slow startup?
Caching? Is it a long time between invocations that it takes a long time to start up?
It is quite intermittant without much of a pattern I can see. One thing that is definitely true is that if I start up python several times in a row one right after the other, some can be slow and some fast. I just observed it start fast twice, then start slow. I don't remember if it ever does the other way around but I think it does.
is any resource coming from an NFS mount? or other network source?
I double-checked that and asked the sysadmin to check if the python
build was using any network source. I do have AFS and NFS drives
mounted on this machine, but I'm not reading any python code from them
as nearly as I can tell. PYTHONPATH points only to local disk.
-Mike This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Nick Jushchyshyn |
last post by:
Having a really strange issue with IIS 6 where the session variable does not
stay consistant. The first symptom was that database connections (which use a
user entered name/PW stored in the Session) in ASP pages were failing.
Finally got to (what I think is) the root issue by creating two ASP pages,
one that sets Session("test") = "Hello",...
|
by: Mythran |
last post by:
I've noticed that no matter which language I choose and no matter how small the
application, it still takes about 3-5 seconds to start up compared to vb's 1-3
seconds startup on an average SMALL application. Is this because of the
precaching factors in the .NET framework or is my machine so slow (1.6 GHz, yeah
right) that it can't load it all...
|
by: Andrea |
last post by:
I've created an application is CSharp. My problem is that it's very
slow to startup the very first time I run it. The second time it's
much faster. Is this normal? Is there anything I can do to boost its
performance?
Thanks.
Andrea
|
by: Chuck Ritzke |
last post by:
Hi all,
I am getting an intermittant error after uploading a project from my
development machine. I click on a link which opens an aspx page that, upon
page load, reads a very small amount of data from an MS Access database,
using ODBC and a stored query. There is no problem on my development
machine. On the production server though, I get...
|
by: James Wallace |
last post by:
I hope that someone can help me out there with this problem.
I get an itermittant problem with our web page that occurs about once
every 10 to 15 days where the only way to fix the problem is to bounce
the web server. The error can be seen below.
I have looked at the stack trace and determined where the error is
occuring but when I look...
| |
by: jeff |
last post by:
Hi All.
I realize that when my Deployed winforms application starts, Windows needs
to load the .net 2 framework before control is given to my application....
Is there anyway to either ...
- preload the .net 2 framework (windows startup or whatever)
- splash a screen ... application loading ... please wait ... type of
|
by: kestrel |
last post by:
this happened about a week after i got my laptop. Its a Sony FS920.
It used to startup file. Nice and fast. Then, about a week later, before i was even able to go on the internet. the startup started taking forever. So i just put it in hibernate every time i want to turn it off. I tried everything i could find to speed it up. I removed a bunch of...
|
by: SAL |
last post by:
I have an ASP.NET 2.0 app that takes about 17 seconds to load on first
startup but then is very fast after that. As I understand it from some posts
in June, this is caused by the loading of the App Domain.
We have both Cold Fusion and ASP.NET apps on this server and the Cold Fusion
apps do not display such slowness on their first start up of...
|
by: kimiraikkonen |
last post by:
Hi there,
I figured out, for the first execution for any .NET-powered app such
as VB.NET or C#, it takes 7-8 seconds to see main form of "any"
application even the application consists of a single form and a
button and only 32kb sized. The second execution(without rebooting
machine) is done less than a second.
This slowdown on startup...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |