Re: [gdal-dev] OGR slow with network files on Windows

2013-06-17 Thread Jonathan Greenberg
This is an old(ish) thread but I wanted to follow-up since I've been dealing with SMB2 and GIS stuff recently and came across this in my searches. Some of this is specific to reading files from a Samba server (linux, typically), but modern Windows file servers have a similar problem. A couple of

Re: [gdal-dev] OGR slow with network files on Windows

2013-04-29 Thread Radim Blazek
On Mon, Apr 29, 2013 at 10:55 AM, Even Rouault wrote: > Selon Radim Blazek : > >> On Mon, Apr 29, 2013 at 10:23 AM, Even Rouault >> wrote: >> > I'm also wondering if setting unconditionnaly VSI_CACHE might not have some >> > theoretical penalty for fast access storage when there is a lot of seeki

Re: [gdal-dev] OGR slow with network files on Windows

2013-04-29 Thread Even Rouault
Selon Radim Blazek : > On Mon, Apr 29, 2013 at 10:23 AM, Even Rouault > wrote: > > I'm also wondering if setting unconditionnaly VSI_CACHE might not have some > > theoretical penalty for fast access storage when there is a lot of seeking > and > > reading by small amounts (I believe this is the t

Re: [gdal-dev] OGR slow with network files on Windows

2013-04-29 Thread Radim Blazek
On Mon, Apr 29, 2013 at 10:23 AM, Even Rouault wrote: > I'm also wondering if setting unconditionnaly VSI_CACHE might not have some > theoretical penalty for fast access storage when there is a lot of seeking and > reading by small amounts (I believe this is the typical I/O pattern when you > disp

Re: [gdal-dev] OGR slow with network files on Windows

2013-04-29 Thread Even Rouault
> Do you prefer VSI cache for buffering to implementation of another > buffering mechanism as long term solution? >From my understanding of the code (FrankW is the author of VSI Cache), VSI >cache is currently both a cache and buffering mechanism. There's perhaps a small penalty of having the ca

Re: [gdal-dev] OGR slow with network files on Windows

2013-04-29 Thread Radim Blazek
On Sun, Apr 28, 2013 at 9:26 PM, Even Rouault wrote: > Le dimanche 28 avril 2013 20:40:12, Radim Blazek a écrit : >> Hello, >> I am working on #6448 QGIS issue - Extremely slow shapefile reading >> over network. You can find my latest observations in >> http://hub.qgis.org/issues/6448#note-19 >> >

Re: [gdal-dev] OGR slow with network files on Windows

2013-04-28 Thread Even Rouault
Le dimanche 28 avril 2013 20:40:12, Radim Blazek a écrit : > Hello, > I am working on #6448 QGIS issue - Extremely slow shapefile reading > over network. You can find my latest observations in > http://hub.qgis.org/issues/6448#note-19 > > Long story short, OGR does not buffer I/O and Windows does

[gdal-dev] OGR slow with network files on Windows

2013-04-28 Thread Radim Blazek
Hello, I am working on #6448 QGIS issue - Extremely slow shapefile reading over network. You can find my latest observations in http://hub.qgis.org/issues/6448#note-19 Long story short, OGR does not buffer I/O and Windows does not always cache network files. I have few questions for OGR developer