Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx-w.one.com (mx-w.one.com [195.47.247.148])
	by mail6.local.one.com (Postfix) with ESMTP id 91478300361B0B
	for <filtered@awaresystems.be>; Sat,  3 Jan 2015 06:30:14 +0000 (UTC)
X-Virus-Scanned: by one.com
Received-SPF: pass (mx-w: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.215.44 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-la0-f44.google.com (mail-la0-f44.google.com [209.85.215.44])
	by mx-w.one.com (Postfix) with ESMTP id 6EC43218A035F
	for <filtered@awaresystems.be>; Sat,  3 Jan 2015 06:30:14 +0000 (UTC)
Received: by mail-la0-f44.google.com with SMTP id gd6so16430537lab.3
        for <filtered@awaresystems.be>; Fri, 02 Jan 2015 22:30:14 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-original-authentication-results:delivered-to:delivered-to
         :message-id:in-reply-to:references:date:from:to:user-agent
         :mime-version:importance:cc:subject:precedence:list-id
         :list-unsubscribe:list-archive:list-post:list-help:list-subscribe
         :content-type:content-transfer-encoding:sender:errors-to;
        bh=HDpw6qmoqLJE+H1oS1AA0TuujX60TbwcFukMzQJQ8U0=;
        b=cctBhJDI77a8QTCUz+qpKn2PzzZFsgJsbsOicn+XDfMpRbGXyT6uDsx35agdWuhz1B
         QNYifHouQ6uM9MMjqp1K/wvT7RBLxxTORKeSnFJqYU03UMSBWAvwz6HFz2u4l8PnRz62
         rvafxJfjcXYE1f3D0tZSmcBPtRJuQX7l0iG2ZVwJEB58KKRZQOm8g9cualgQZ4fBxU+A
         I/7dd7ChyzQCzkPK90OMqjZQHHtIvQn56WzwtFQtq++upBoozcAOecSSx+LWUkTJjpnX
         Xgf2PM5mINCPnEGwV1VgsAzdKwPXCJkxj2/psk/ivmzqTqBQvlkpQwUzoVGXfQs2k34b
         bdPQ==
X-Original-Authentication-Results: mx.google.com;       spf=none (google.com: tiff-bounces@lists.maptools.org does not designate permitted sender hosts) smtp.mail=tiff-bounces@lists.maptools.org
X-Received: by 10.152.28.71 with SMTP id z7mr80206192lag.60.1420266614063;
        Fri, 02 Jan 2015 22:30:14 -0800 (PST)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 10.114.181.147 with SMTP id dw19csp3147664ldc;
        Fri, 2 Jan 2015 22:30:13 -0800 (PST)
X-Received: by 10.152.164.232 with SMTP id yt8mr80764044lab.7.1420266612902;
        Fri, 02 Jan 2015 22:30:12 -0800 (PST)
Authentication-Results: mx.google.com;
       spf=none (google.com: tiff-bounces@lists.maptools.org does not designate permitted sender hosts) smtp.mail=tiff-bounces@lists.maptools.org
Received-SPF: none (google.com: tiff-bounces@lists.maptools.org does not designate permitted sender hosts) client-ip=195.47.247.148;
Received: by 10.112.35.79 with POP3 id f15mf17142080lbj.21;
        Fri, 02 Jan 2015 22:30:12 -0800 (PST)
X-Gmail-Fetch-Info: info@awaresystems.be 1 pop.awaresystems.be 110 info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-w.one.com (mx-w.one.com [195.47.247.148])
	by mail6.local.one.com (Postfix) with ESMTP id 2A7CF3001E2316
	for <info@awaresystems.be>; Sat,  3 Jan 2015 05:27:07 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2
Received: from lists.maptools.org (ks365428.kimsufi.com [94.23.4.142])
	by mx-w.one.com (Postfix) with ESMTP id 0B0B82023F685
	for <info@awaresystems.be>; Sat,  3 Jan 2015 05:27:06 +0000 (UTC)
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id E89C435C02C;
	Sat,  3 Jan 2015 00:26:15 -0500 (EST)
Received: from mail.sidefx.com (mail.sidefx.com [206.223.178.163])
	by lists.maptools.org (Postfix) with ESMTPS id DF98635C024
	for <tiff@lists.maptools.org>; Sat,  3 Jan 2015 00:24:09 -0500 (EST)
Received: from www.sidefx.com (mail.sidefx.com [206.223.178.163])
	by mail.sidefx.com (Postfix) with ESMTP id 90BCB4E1177;
	Sat,  3 Jan 2015 00:24:16 -0500 (EST)
Received: from 99.237.145.54 (SquirrelMail authenticated user edward)
	by www.sidefx.com with HTTP; Sat, 3 Jan 2015 00:24:16 -0500 (EST)
Message-ID: <56071.99.237.145.54.1420262656.squirrel@www.sidefx.com>
In-Reply-To: <CAK8GPyAfmhtC3OaokrkAuLX75iWfDCHnhPS+sjyyZvFE=N6w5A@mail.gmail.com>
References: <CAK8GPyDdAzUwt7ZTmfF+NT+ceGwvxFPUD+CRq6unxT9KEe5JwQ@mail.gmail.com>
	<alpine.GSO.2.01.1501011102040.18732@freddy.simplesystems.org>
	<CAK8GPyAfmhtC3OaokrkAuLX75iWfDCHnhPS+sjyyZvFE=N6w5A@mail.gmail.com>
Date: Sat, 3 Jan 2015 00:24:16 -0500 (EST)
From: "Edward Lam" <edward@sidefx.com>
To: "Aaron Boxer" <boxerab@gmail.com>
User-Agent: SquirrelMail/1.4.9a
MIME-Version: 1.0
X-Priority: 3 (Normal)
Importance: Normal
Cc: TIFF mailing list <tiff@lists.maptools.org>
Subject: Re: [Tiff] Fast TIFF Reading on Windows
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

On Thu, January 1, 2015 15:20, Aaron Boxer wrote:
> Thanks. Yes, my use case is: first-read of many 10-15 MB RGB uncompressed
> files.  Unfortunately, I don't have control over how the files are stored,
> i.e. block size.  One nice feature on Linux is fadvise, where I can
> specify FADV_SEQUENTIAL | FADV_DONTNEED, which would be right for my use
> case.

On Windows, the CreateFile() API has additional flags that you may wish to
explore like FILE_FLAG_SEQUENTIAL_SCAN and/or FILE_FLAG_NO_BUFFERING

http://msdn.microsoft.com/en-us/library/windows/desktop/aa363858%28v=vs.85%29.aspx#caching_behavior

Cheers,
-Edward


_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
