Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx-p.one.com (mx-p.one.com [91.198.169.63])
	by mail6.local.one.com (Postfix) with ESMTP id 9C0BD300055F1B
	for <filtered@awaresystems.be>; Mon,  5 Jan 2015 09:57:57 +0000 (UTC)
X-Virus-Scanned: by one.com
Received-SPF: pass (mx-p: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.217.176 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176])
	by mx-p.one.com (Postfix) with ESMTP id 696CC4107E1D6
	for <filtered@awaresystems.be>; Mon,  5 Jan 2015 09:57:57 +0000 (UTC)
Received: by mail-lb0-f176.google.com with SMTP id p9so17193025lbv.21
        for <filtered@awaresystems.be>; Mon, 05 Jan 2015 01:57:57 -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
         :mime-version:in-reply-to:references:from:date:message-id:to:cc
         :subject:precedence:list-id:list-unsubscribe:list-archive:list-post
         :list-help:list-subscribe:content-type:content-transfer-encoding
         :sender:errors-to;
        bh=XxkF5qyzYaMA9f8Q12789fQHl8PAr/JETIM0FFkxdRI=;
        b=XOcEGLLFBVjVBNHxKk5Cc6miX/8+1zKCSTDikC+tOGcZasB9sloAm0fcqTA3sUkTFo
         TMbuU7mUS60IO0+u56y4KnTdmF/lHor/ZpkLuTJKAqRf5MmlFv0Y+Gq60M8JKEoDVhr8
         jvyvPnUAw9ESTSVMEhwtcnS2TKOd67FAATDytjQtqMgHRUl6CnWfZUxMYzZGB4SzwZJH
         Gz35TpDhYAMDd9maQAOoJNmaG8NR873slj2dgk+zhg9UPfRPCcbu0d1A+JomVWf5ybo8
         SNO3TkFHaKXRcwdiKkj5aAPzMBK/sASFrQmGhlarDbe+ec1BmLAtRNZvvW4/OhWtHS3U
         5Hdg==
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.7.206 with SMTP id l14mr91173703laa.1.1420451876999;
        Mon, 05 Jan 2015 01:57:56 -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 dw19csp3596253ldc;
        Mon, 5 Jan 2015 01:57:56 -0800 (PST)
X-Received: by 10.152.121.100 with SMTP id lj4mr89882019lab.58.1420451876044;
        Mon, 05 Jan 2015 01:57:56 -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.52;
Received: by 10.152.135.244 with POP3 id pv20mf19596000lab.18;
        Mon, 05 Jan 2015 01:57:56 -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-e.one.com (mx-e.one.com [91.198.169.52])
	by mail6.local.one.com (Postfix) with ESMTP id B5C1E300055F14
	for <info@awaresystems.be>; Mon,  5 Jan 2015 09:56:46 +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-e.one.com (Postfix) with ESMTP id 87214651D82
	for <info@awaresystems.be>; Mon,  5 Jan 2015 09:56:46 +0000 (UTC)
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 9314B35C040;
	Mon,  5 Jan 2015 04:55:53 -0500 (EST)
Received: from mail-la0-f50.google.com (mail-la0-f50.google.com
	[209.85.215.50])
	by lists.maptools.org (Postfix) with ESMTPS id 2553635C034
	for <tiff@lists.maptools.org>; Mon,  5 Jan 2015 04:54:08 -0500 (EST)
Received: by mail-la0-f50.google.com with SMTP id pn19so17719208lab.23
	for <tiff@lists.maptools.org>; Mon, 05 Jan 2015 01:54:16 -0800 (PST)
X-Received: by 10.152.161.168 with SMTP id xt8mr91382198lab.35.1420451656137; 
	Mon, 05 Jan 2015 01:54:16 -0800 (PST)
MIME-Version: 1.0
Received: by 10.25.133.87 with HTTP; Mon, 5 Jan 2015 01:53:35 -0800 (PST)
In-Reply-To: <CAK8GPyA_--nXP7tn5tK3=XnLfXQGE7+BQGmkU54Xs1R2QpW5QA@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>
	<56071.99.237.145.54.1420262656.squirrel@www.sidefx.com>
	<CAK8GPyA_--nXP7tn5tK3=XnLfXQGE7+BQGmkU54Xs1R2QpW5QA@mail.gmail.com>
From: jcupitt@gmail.com
Date: Mon, 5 Jan 2015 09:53:35 +0000
Message-ID: <CAGNS0RsZ0uhP68LScDM4uD69zXQKT3h=arbHxC-dCu6DfEzXVw@mail.gmail.com>
To: Aaron Boxer <boxerab@gmail.com>
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 5 January 2015 at 03:36, Aaron Boxer <boxerab@gmail.com> wrote:
> 2) TIFFOpenfile with mode "ru" i.e. disabling memory mapping, was 3 times
> slower than with default flag "r"
>
> So, my conclusion is that memory mapping is the way to go for performance.

That's interesting. I tried on linux and the situation is roughly
reversed: with the disc cache empty, mmap() is about half the speed of
vanilla read() (for me). This is for a a simple scan of a 300mb strip
tiff on an HDD. I'm always surprised how different the filesystems
are.

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