[Qgis-user] Re: Qgis first startup is slow

2012-05-26 Thread haubourg
Continuing investigations.. 
Win7 64 bits . icore3 4Go RAM. QGIS versions 1.7.4  standalone or  1.8 RC1
doesn't make any difference. 
I still have that first slow startup even with Avast antivir disabled. 

I did a few other tests and I found same behaviour with FME! 
So it seems related to Windows virtual memory allocating process, or maybe
with windows security tools. I then tested without any swap file
(pagefile.sys).. It is a bit faster, but slow startup remains. 
Anyone knows in details how windows allocates memory for a process? It seems
Windows dedicates memory space for a process for a while.. 

I will test it under ubuntu and MacOS then... 


--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Qgis-first-startup-is-slow-tp4975911p4977128.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Re: Qgis first startup is slow

2012-05-25 Thread haubourg
Here are the results of a small bench:
 
Qgis 1.7.4 Standalone. Windows server 2003 + citrix XenAPP. It is on
virtualized shared servers, though I don't know if servers are really busy
or not. 

1- Qgis with 20 plugins activated: 
  First startup takes about 50 seconds, and different steps are linear (30 s
to restore python plugins)
  Second startup  takes about 15 seconds, and still seems linear. 

2- Qgis with *no* plugin activated. 
  First startup takes 20 s
  Second startup takes less than 4s 
  
New behaviour observed today (to be confirmed). I started Qgis and let it
inactive for two hours at lunch. I came back, quit Qgis, and startup is
again slow. I start up again and it is fast again.. So, I guess there is no
relation with session initializing. 
I'm going to check what's happening with virtual machine underneath.. 

Régis


--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Qgis-first-startup-is-slow-tp4975911p4976931.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Re: Qgis first startup is slow

2012-05-24 Thread haubourg
Hi all, 
slow startup for me is under windows 2003 server and windows 1.7.4
standalone installer. I don't think this has something to do with OSGEOW..
still strange.. I'll do some bench tomorrow. 
Ciao all

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Qgis-first-startup-is-slow-tp4975911p4976736.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Re: Qgis first startup is slow

2012-05-24 Thread Rahkonen Jukka
Hi,

Here are some more timings.

- Installed 1.8.0-20 with OSGeo4W installer.
- Deleted .qgis directory
- Started 1.8.0 once
- Power off - reboot
- Start QGis from a situation which I believe to be rather clean and no other 
programs running.

This was a 2004 model PC with Windows XP, 1 X 3 GHz Xeon , 2 GB of memory and 
IDE disks

Total times from start
47 seconds before seeing Lisboa splash screen  # this feels odd to me, is 
OSGeo4W doing some initialisations of what?
57 checking provider plugins
1.20 starting Python
1.30 restoring loaded plugins
1.45 ready

A little bit uncontrolled previous test without deleting .qgis directory and 
power off and some other programs running showed the initial startup time of 3 
minutes and 50 seconds. That was much more than with 1.9.0 but as I told, test 
was not well controlled.  I had pretty many Spatialite databases in the 
datasource list and I wonder if that could have some influence. At least lights 
were blinking a few times in my data disk units during the QGis startup.

For comparison timings from Windows Vista 32-bit laptop with existing 1.9.0 
installation after power off - reboot:

Total times from start
18 seconds before seeing Master splash screen  # rather a long time also on 
this computer
26 checking provider plugins
41 starting Python
51 restoring loaded plugins
1.02 ready

This one is 5 years old slow laptop.  We do have faster computers here too but 
as long as they let me keep these old ones I prefer to test with them.

-Jukka Rahkonen-


 Andreas Neumann [mailto:a.neum...@carto.net]

Thats way too slow. There must be something seriously wrong.

Are the same timings for the latest 1.8 nightly?

On my machine (Win7, SSD disk) the first (cold) start is < 10 seconds. Few 
plugins activated.

Andreas
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.



Jukka Rahkonen  schrieb:

haubourg  writes:

>
> Hi there,
> first launch for Qgis (1.7.4 and 1.7.1)  in first Window session is very
> slow under windows 7 and windows server 2003 (Citrix XenApp 4.3
> environnement).
>
> Next startups are then instantaneous..

I have had the same feeling with Windows XP so I took some timings. I have
QGis 1.9.90 from OSGeo4W and computer is Windows XP SP3.

Fist startup
- 50 seconds before the "Master" splash screen shows
- 60 seconds more and "Checking provider plugins" is ready
- 40 second more and QGIS is started
Total time was thus 2 minutes and 30 seconds.

Next startups
- total startup time between 5 and 15 seconds (10 repeats).


-Jukka Rahkonen-




Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Re: Qgis first startup is slow

2012-05-24 Thread Percy Langa

On 2012/05/24 12:43 PM, Andreas Neumann wrote:

Thats way too slow. There must be something seriously wrong.

Are the same timings for the latest 1.8 nightly?

On my machine (Win7, SSD disk) the first (cold) start is < 10 seconds. 
Few plugins activated.


+1 for few plugins activated. Win 7, latest 1.8, less than 15 seconds.

Cheers!
Percy

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Re: Qgis first startup is slow

2012-05-24 Thread Andreas Neumann
Thats way too slow. There must be something seriously wrong.

Are the same timings for the latest 1.8 nightly?

On my machine (Win7, SSD disk) the first (cold) start is < 10 seconds. Few 
plugins activated.

Andreas
-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.



Jukka Rahkonen  schrieb:

haubourg  writes:

> 
> Hi there, 
> first launch for Qgis (1.7.4 and 1.7.1) in first Window session is very
> slow under windows 7 and windows server 2003 (Citrix XenApp 4.3
> environnement). 
> 
> Next startups are then instantaneous..

I have had the same feeling with Windows XP so I took some timings. I have 
QGis 1.9.90 from OSGeo4W and computer is Windows XP SP3.

Fist startup
- 50 seconds before the "Master" splash screen shows
- 60 seconds more and "Checking provider plugins" is ready
- 40 second more and QGIS is started
Total time was thus 2 minutes and 30 seconds.

Next startups
- total startup time between 5 and 15 seconds (10 repeats).


-Jukka Rahkonen-


_

Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Re: Qgis first startup is slow

2012-05-24 Thread Jukka Rahkonen
haubourg  writes:

> 
> Hi there, 
> first launch for Qgis (1.7.4 and 1.7.1)  in first Window session is very
> slow under windows 7 and windows server 2003 (Citrix XenApp 4.3
> environnement). 
> 
> Next startups are then instantaneous..

I have had the same feeling with Windows XP so I took some timings. I have 
QGis 1.9.90 from OSGeo4W and computer is Windows XP SP3.

Fist startup
- 50 seconds before the "Master" splash screen shows
- 60 seconds more and "Checking provider plugins" is ready
- 40 second more and QGIS is started
Total time was thus 2 minutes and 30 seconds.

Next startups
- total startup time between 5 and 15 seconds (10 repeats).


-Jukka Rahkonen-


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Re: Qgis first startup is slow

2012-05-22 Thread haubourg
Hi , 
I have no problem under windows XP. Deleting .qgis folder allows an instant
startup. I took care of having really few plugins installed afterwards, and
most core plugin are deactivated, but this "first startup behaviour"
remains. Does Qgis recompile python scripts at each startup? could it be
parsed by antivirus once at start? 

Still searching. 
Régis

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Qgis-first-startup-is-slow-tp4975911p4976060.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user