Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx-f.one.com (mx-f.one.com [91.198.169.53])
	by mail6.local.one.com (Postfix) with ESMTP id 70CB3300577BD7
	for <filtered@awaresystems.be>; Thu,  1 Jan 2015 17:48:50 +0000 (UTC)
X-Virus-Scanned: by one.com
Received-SPF: pass (mx-f: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.217.179 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com [209.85.217.179])
	by mx-f.one.com (Postfix) with ESMTP id 3EC39218B08D3
	for <filtered@awaresystems.be>; Thu,  1 Jan 2015 17:48:50 +0000 (UTC)
Received: by mail-lb0-f179.google.com with SMTP id z11so14302199lbi.38
        for <filtered@awaresystems.be>; Thu, 01 Jan 2015 09:48:44 -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:date
         :from:to:in-reply-to:message-id:references:user-agent:mime-version
         :cc:subject:precedence:list-id:list-unsubscribe:list-archive
         :list-post:list-help:list-subscribe:content-type
         :content-transfer-encoding:sender:errors-to;
        bh=w07aX9oMwdpafF2pScCPND8Zi/FFS0BEuuP6hiewwvU=;
        b=Ec8HzOXkT5v21Z16BqtgVp7cJNi2N9JkLZVD1mpvV2rUAiaiE5WDzQKIKUH9pjQfM2
         aqt9pStZAcGc5lUHVhsQqM3M4DxP8KOZxl7wRx50p6vZAuOXFxnATZtx4Id2pKwEIYBg
         BffNAbtUrAkxtFlD426lLg4c/HRaPDlT9cudgPqiwsoO61vWGtHHso0RKtXycxFaRDsy
         P8MIxrFIYl1EebMQ3q46Vx1/NEuycv0NxluY57tzMRJzLWUMH4dydj0MZE2I8DHjRZK4
         FhmHH4lcipxN6U2s7coaXzIJlP00YIRWzgixEQfWWfHY4W+B4bhr9KNqQrI30VBHPT3r
         IzNA==
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.112.211.130 with SMTP id nc2mr72467950lbc.0.1420134524657;
        Thu, 01 Jan 2015 09:48:44 -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 dw19csp2802653ldc;
        Thu, 1 Jan 2015 09:48:44 -0800 (PST)
X-Received: by 10.152.42.198 with SMTP id q6mr69824478lal.48.1420134523899;
        Thu, 01 Jan 2015 09:48:43 -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=91.198.169.60;
Received: by 10.152.135.244 with POP3 id pv20mf16360204lab.28;
        Thu, 01 Jan 2015 09:48:43 -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-m.one.com (mx-m.one.com [91.198.169.60])
	by mail6.local.one.com (Postfix) with ESMTP id 577AF30081C3BD
	for <info@awaresystems.be>; Thu,  1 Jan 2015 17:17:31 +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-m.one.com (Postfix) with ESMTP id 3492D21A396EA
	for <info@awaresystems.be>; Thu,  1 Jan 2015 17:17:31 +0000 (UTC)
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 585CF35C065;
	Thu,  1 Jan 2015 12:16:39 -0500 (EST)
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by lists.maptools.org (Postfix) with ESMTPS id 8748535C024
	for <tiff@lists.maptools.org>; Thu,  1 Jan 2015 12:12:13 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id
	t01HCJCl011287; Thu, 1 Jan 2015 11:12:19 -0600 (CST)
Date: Thu, 1 Jan 2015 11:12:19 -0600 (CST)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: Aaron Boxer <boxerab@gmail.com>
In-Reply-To: <CAK8GPyDdAzUwt7ZTmfF+NT+ceGwvxFPUD+CRq6unxT9KEe5JwQ@mail.gmail.com>
Message-ID: <alpine.GSO.2.01.1501011102040.18732@freddy.simplesystems.org>
References: <CAK8GPyDdAzUwt7ZTmfF+NT+ceGwvxFPUD+CRq6unxT9KEe5JwQ@mail.gmail.com>
User-Agent: Alpine 2.01 (GSO 1266 2009-07-14)
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2
	(blade.simplesystems.org [65.66.246.90]);
	Thu, 01 Jan 2015 11:12:19 -0600 (CST)
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, 1 Jan 2015, Aaron Boxer wrote:

> Can anyone recommend the very fastest way of reading TIFF files on windows?
> For example, there are several ways of reading in the file, including memory mapping. Has anyone benchmarked performance on
> recent versions of windows?

You should be more specific.  A common benchmark method is to read the 
same file repeatedly.  I suspect that you are more interested in 
first-read performance of a large series of images which in total are 
far larger than system memory.  These situations are completely 
different.

NTFS blocksize can be a factor and the blocksize is specified when the 
filesystem is created.  The blocksize is important since blocksize 
amount of data will be read (perhaps wastefully) if any byte in the 
block is accessed.  Likewise, larger blocks may result in less 
apparent fragmentation with large files.  The NTFS blocks are still 
stored accross 512 byte or 4k byte disk sectors.

Windows does not seem to cache filesystem data as agressively as some 
other systems, which can be both a hinderance and a benefit.

Memory mapped file reads under Windows seem rather similar to Linux.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
