delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/05/08:24:29

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <BAY109-DAV96B890B03DDC535B65B8DCF880@phx.gbl>
X-Sender: robbosch AT msn DOT com
From: "Rob Bosch" <robbosch AT msn DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Re: High CPU usage on posix_fallocate call - CVS version
Date: Mon, 5 Nov 2007 06:24:00 -0700
Message-ID: <003101c81faf$20b379b0$621a6d10$@com>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 12.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> I can't reproduce this behaviour.  I created a 40 Gigs file (haven't 77
> Gigs left) on my XP box using the posix_fallocate function (which, btw.,
> is basically just a single native NT call under the hood) and it takes
> roughly a few milliseconds.

I checked the dodgy app lists.none of those are running.  The machine is
running Windows Server 2003 x64 R2 and nothing else besides ssh and rsync
under cygwin. I've posted to the rsync list so the developer that created
the patch can tell me if something else is going on.  I looked at the code
and it looks like a simple posix_fallocate call but you never know.  I'm
also asking if someone gets the same issue under a native Linux
implementation.

I'm not sure if it will make a difference but the disk array is separate
from the machine in that it is a direct-attached fiber array that appears as
a SCSI drive under Windows.


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

- Raw text -


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