[Qgis-user] Qgis slow start up
Greg Coats
gregcoats at mac.com
Thu Jan 21 22:24:00 PST 2010
I run Mac OS X 10.6 about 99.9% of the time.
For the free Kakadu JPEG2000 JP2KAK plugin for Mac OS X 10.5 download
http://homepage.mac.com/gregcoats/jp2/images/10dot5/gdal_JP2KAK.dylib.zip
and then if you are using GDAL from http://www.kyngchaos.com , install it in
/Library/Applications Support/GDAL/1.6/Plugins/gdal_JP2KAK.dylib
To determine how 99% of the CPU is being used for 4 consecutive minutes, from the Mac applications that are available in /Developer/Applications/Performance Tools/ which observation tool do you recommend I use?
$ ls -1 /Developer/Applications/Performance\ Tools | grep .app
BigTop.app
MallocDebug.app
Quartz Debug.app
Shark.app
Spin Control.app
For GDAL 1.7.0, whose Release Candidate 1 has already been released, Frank has changed/enhanced/upgraded frmts/jp2kak/jp2kakdataset.cpp with the result being that, as compared to GDAL 1.6.3, for most people it will be twice as fast at uncompressing and displaying JPEG2000 images! Hooray.
Greg
On Jan 22, 2010, at 12:09 AM, Tom Elwertowski wrote:
> Greg Coats wrote:
>> The GDAL Kakadu JP2KAK plugin, compiled for 32 and 64 bit, under Mac OS
>> X 10.6 can be downloaded from
>> http://homepage.mac.com/gregcoats/jp2/images/gdal_JP2KAK.dylib.zip
>
> I'm still running 10.5 which wouldn't load this. Do you have an older build?
>
> Here's a 30 sec sample of where time is being spent using the default driver. It looks like most of the time is spent in the driver.
>
> 2.2GHz Core2 Duo/2GB
> 205 sec to load dcua_qgis140_relative_reduce6_1440x900_17.qgs from OK button to open older project version
>
> - 12.4%, CNCSJPCMQCoder::Decode(unsigned char), gdal_ECW_JP2ECW.dylib
> - 8.4%, CNCSJPCT1Coder::DecSigPassStep(unsigned int*, int*), gdal_ECW_JP2ECW.dylib
> - 4.8%, strcasecmp_l, libSystem.B.dylib
> - 4.6%, CNCSJPCMQCoder::RenormDec(), gdal_ECW_JP2ECW.dylib
> - 4.3%, CNCSJPCT1Coder::DecClnPassStep(unsigned int*, int*), gdal_ECW_JP2ECW.dylib
> - 3.9%, szone_free, libSystem.B.dylib
> - 3.6%, CNCSJPCT1Coder::Decode(NCSJPCSubBandType, unsigned char, unsigned char, unsigned char, std::vector<CNCSJPCSegment, std::allocator<CNCSJPCSegment> >&, CNCSJPCBuffer*, int, CNCSJPCQCDMarker&, unsigned char, unsigned short, unsigned char, float), gdal_ECW_JP2ECW.dylib
> - 3.5%, CNCSJPCT1Coder::DecClnPass(int, int, bool), gdal_ECW_JP2ECW.dylib
> - 3.0%, CNCSJPCT1Coder::DecSigPass(int, int), gdal_ECW_JP2ECW.dylib
> - 2.7%, CNCSJPCT1Coder::UpdateFlags(unsigned int*, int), gdal_ECW_JP2ECW.dylib
> - 2.7%, CNCSJPCT1Coder::DecRefPassStep(unsigned int*, int*), gdal_ECW_JP2ECW.dylib
> - 2.7%, CPLHashSetRehash(_CPLHashSet*), GDAL
> - 1.8%, szone_size, libSystem.B.dylib
> - 1.6%, __spin_lock, libSystem.B.dylib
> - 1.6%, ml_set_interrupts_enabled, mach_kernel
> - 1.3%, szone_malloc, libSystem.B.dylib
> - 1.2%, __bzero, libSystem.B.dylib
> - 1.1%, blkclr, mach_kernel
> - 1.0%, tiny_malloc_from_free_list, libSystem.B.dylib
> - 1.0%, dyld_stub_CNCSJPCMQCoder::Decode(unsigned char), gdal_ECW_JP2ECW.dylib
> (items <1.0% omitted)
>
> Tom
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
More information about the Qgis-user
mailing list