X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 007253858CDB
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1712016348;
	bh=I7xE+aZlnvKMKht2tJIYGYMAHPuyiWTYxLnt/YAi9r0=;
	h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=moirrUPcAPe4cSDDC7IfJDvyMwKakUEVl7qEaLm3oZd8rL26DGey15i0QAKMyZvVo
	 n6lHyhmrrcg1rNmlcOKtmoftANRBPlrfRyYpEE0xxUeYkuAbcVudzB02FULUDSguF6
	 52ThZHMdhZlufzGegTtEWXzFTG1uZ2nwFi8MXBBI=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CF7583858D20
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CF7583858D20
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712016296; cv=none;
 b=ajqLJngE2zSThkWTM8K70iuBrWPkpUwL39JUoetjU/tOdoIz6A0vDLFI24VUjVZUtQKc4DKicHvROxm1M6G3Eljhib/mIgqbI0P/O9HrRITf57z6OYx1Aj0vtlht8wzFFuOBs+NUBNORHtjp1pGWDxf4QIJhS5id4Tl/pqf3OKc=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1712016296; c=relaxed/simple;
 bh=Nq4diCawRN87x7xVG59piEKuYK5koNo+2173vtvDjNs=;
 h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
 b=LyoAyFLyR1qFXWJo14WE86eXJZ1nXAWAjRjKVo95wK6lxoibwYfAVlBxWv7wkxN5syJY9wtODcSjL/r6bzvCumIylw0u1sw79r2eATULlKZL28XCIRp1qUvasIVqXIoczcZb9Xo+kJKLqHNyJjEZQ5qOTnZArFjxBqtGGQh5nEc=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1712016293; x=1712621093;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=Nq4diCawRN87x7xVG59piEKuYK5koNo+2173vtvDjNs=;
 b=B3H0OhDL6niY6GbZB6o2L3Fb1PFgpgVCS8CLZl2ENPksWmRGzFlYujjsDTmcQghiUW
 wkWCokyqNJrFlGqz3nGBkqCxBMMOfenPqd4Qt/tYjGrQ4qNRrbmZPss/rN4A5AZ+xbS6
 wHbyS531BGVMKlX8yu9rgoJ39MSAqbebZRyxbX9uqrhFexlxV7+s7AJTfxne4aOTj0Db
 1g8yEq/awmm8Dux7ep8/l8OjYUWsrvgGBjvwwzZXIfaQa2RIlqgoDYqZEUh2cByFYBiV
 GAcMwHrxufMSd2pzCAw6TnK5WmaoZ+VU8U1DOEB7rIMd8fm5IMHy/L2h0X0bfSGfkRMv
 wcHg==
X-Gm-Message-State: AOJu0Yyoarm9QYBgPw1X4x+M/kINzvGDHtQURKc0zY/n2BZiHAqXPXjs
 4KFY9GU3jc4Ft0Ls4T2OdIspRZscSKWiDpLQGfYj5f6ORi6ylQtVuA78QT4r4/3zYqQZkzjTa/Y
 ki3SrTCcPueNZ7z5/SsD0GXLie7pqmiNvc6g=
X-Google-Smtp-Source: AGHT+IHlJCHktLYXD4sYqH33Yyg8Mrcb3b1VBwZtU8VTWEnDpeiqDMfZA7fPGlCWl0VOJdhmuR50rVi7xBBuiEDHrz4=
X-Received: by 2002:ac2:4438:0:b0:515:bf72:642b with SMTP id
 w24-20020ac24438000000b00515bf72642bmr15311lfl.16.1712016292697; Mon, 01 Apr
 2024 17:04:52 -0700 (PDT)
MIME-Version: 1.0
Date: Tue, 2 Apr 2024 02:04:41 +0200
Message-ID: <CANH4o6Mxai4_C=d1P93Prrimb8_H=trTwm-Eg+WBwpomN3tNJw@mail.gmail.com>
Subject: Cygwin&Win32 file prefetch, block sizes?
To: cygwin@cygwin.com
X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Martin Wege via Cygwin <cygwin@cygwin.com>
Reply-To: Martin Wege <martin.l.wege@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

Hello,

Is there any document which describes how Cygwin and Win32 file
prefetch and readahead work, and which sizes are used (e.g. always
read one full page even if only 16 bytes are requested?)?

Quick /usr/bin/stat /etc/profile returns "IO Block: 65536". Does that
mean the file's block size is really 64k? Is this info per filesystem,
or hardcoded in Cygwin?

Thanks,
Martin

-- 
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
