delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/10/29/06:48:54

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 801243857811
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1635504533;
bh=jT4mGkjn1KgJExg2/4Qg7EMSoWincePHVll0xC+z/YA=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=bBYZ68E/x2uWtFYPoTYTR6KMP8swR60mF5WlvguueFobEI6YjqAqimof+BZEGZ0Ch
9YKUD8LQoBRGfZ83CLTTMHgEtClQ/2YVoxRYKLJyof20BdU3lqOuQrK5UcCjjYBuW2
4QxCxFyumOPIyx+ZLh6VlAny6msDG2fImDeTMvaA=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1BB013858410
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:message-id:date:mime-version:user-agent:subject
:content-language:to:references:from:in-reply-to
:content-transfer-encoding;
bh=Mp/7vbHh898JcFmehycnFjGvMH0mSrM26FpQTAqEElQ=;
b=hHjzEC8+wv8JgCJxac2yxulQAfnJbO/9WUGld1wUrqqbgCiMW7lbm1NGv3IcgfM1OA
X8Bgy54XZ4SwMm5Vceol+xsn/0W/g3wMv02NQqPMj/0StPim5OFjC4op8IPMoIQwjXiF
N54fTORh2xi8zuuhSanD3kdVOKuMPKab8VReeF85JEGPF8MygASAnZsT5jqetKjD7+qJ
wyw2gzH0ulY4OgXCuAV6keW+tON2UbQ0mkFma0DUlwfCGeREA3KcLEG9F7bkZoh7RJan
ptmMBIMql3Ye8sq+HixBj9J3jdhVQa0darzzVYorfMgTu5j/RWFg3lH4PlXOGHCsUWkY
4QXw==
X-Gm-Message-State: AOAM533y8yA1vNUulJgNie2lXT8TMCQMoK00UuIqmsZerPzadReMwwbV
NLFtVoR8E0lisCEP6ZyzxkrjoW20U38=
X-Google-Smtp-Source: ABdhPJzm5k8wGTVYRg4Xz/Kr9T8HRoUlocDrd/8YmX8w7UPztCDjq5ActJLkueoDJsa8BXelN05lLw==
X-Received: by 2002:a1c:7413:: with SMTP id p19mr19114175wmc.141.1635504462062;
Fri, 29 Oct 2021 03:47:42 -0700 (PDT)
Message-ID: <ead564bc-8fb2-af81-a28e-026b3139df7e@gmail.com>
Date: Fri, 29 Oct 2021 12:47:37 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.2.1
Subject: Re: Curiosity about file access performance
To: moss AT cs DOT umass DOT edu, Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>,
cygwin AT cygwin DOT com
References: <00895c47-8df9-1f17-baac-0b3560de9d1c AT cs DOT umass DOT edu>
<20211029191434 DOT 737060387e2007319bcf3894 AT nifty DOT ne DOT jp>
<8e3852d7-d2d4-0af5-ec15-a7865cd7216d AT cs DOT umass DOT edu>
In-Reply-To: <8e3852d7-d2d4-0af5-ec15-a7865cd7216d@cs.umass.edu>
X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Noel Grandin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Noel Grandin <noelgrandin AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

There are a bunch of different possibilities

(*) temporary files - there was an improvement here in recent cygwin versions which means that if your machine has lots 
of memory and your program creates lot of temporary files, then it will now be significantly faster
(*) file name lookup - linux has a path name cache, which makes it quite a bit faster then Linux for heavy use (git is 
the poster child here)
(*) file information lookup - some of the "default" Unix APIs will look up a bunch of information which is cheap on 
unix, but expensive on Windows. Normally there are alternative API which will only load the minimal set of information, 
which will then be cheaper on Windows.
(*) spawning - it is quite possible that Latex is making heavy use of spawning child processes to do various things, 
which is unfortunately more expensive on Windows.

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019