delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/08/08:15:17

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4EE0B848.80206@cs.utoronto.ca>
Date: Thu, 08 Dec 2011 08:14:48 -0500
From: Ryan Johnson <ryan DOT johnson AT cs DOT utoronto DOT ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Machine very sluggish while compiling
References: <4ECEE88E DOT 5050307 AT cs DOT utoronto DOT ca> <20111125154751 DOT GP28395 AT trikaliotis DOT net> <4EDB2761 DOT 6040508 AT cs DOT utoronto DOT ca> <20111204100639 DOT GA9849 AT calimero DOT vinschen DOT de> <4EE09CF8 DOT 7040804 AT bellsouth DOT net>
In-Reply-To: <4EE09CF8.7040804@bellsouth.net>
X-IsSubscribed: yes
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

On 08/12/2011 6:18 AM, Robert Miles wrote:
> On 12/4/2011 4:06 AM, Corinna Vinschen wrote:
>> Anyway, stoppping the PCA service and setting its start mode to "Manual"
>> does the trick for me.  While I was at it I also disabled Superfetch,
>> which drops the memory usage of this svchost to a fraction of what it
>> used before, and the CPU usage to 0%, and I don't see any performance
>> difference.
> Are you aware that the Superfetch service deliberately tries to use 
> most of the
> memory not otherwise in use as a cache for the most frequently 
> accessed disk
> files, in order to speed up accesses to those files?  I've found it 
> rather slow to
> release this cache memory when some other program needs it, though.
In my experience Superfetch does a phenomenally bad job of predicting 
which files I (or my wife) actually plan to use. The machine is sluggish 
not (just) because the memory is uselessly tied up, but because the disk 
is constantly busy fetching data that will never be used and penalizes 
access to the data I actually do need. The memory wastage just compounds 
the problem by contributing additional swapping on top of all this other 
extra disk activity.

Both computers at my house saw *significant increases* in performance 
and responsiveness when I disabled Superfetch a few months ago.

Ryan


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

- Raw text -


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