X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; q=dns; s=default; b=ttt iER+MTnHY68/cfCyHc0ATCcGyQuqTMNxlME8ECY7pLm5stpTm7SXCrHo6lXBxQ3Q WZ/FSPZ0DRyvyvXKl0YlRf0Z4QCAEr9s+wLJk3Qi5cPU6CeXJlqolJMmy3jGZru4 hYr033SPGA2WVGzAEVxjBVqKtnaLRieExRIVZnuc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; s=default; bh=hk3H8xjst DJPxOZ+1NVxOF9fI4Y=; b=bzRBmU7R0eNaqDpw6tBAvDDDi8CNcGrn8VEYvTZqq 8Oj3uBZkJYRc6FxjUgztrydOJ3LOwJQ/Fy7gFrx7xOOVhSn+fnuYxaoWLHiqJHOI VhDGC35T9dxSKBvKufQxa8JHZTCPuObkAbssULaoxRPXITBbaQ+0FfADr6VHmbr4 og= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=16GB, 16gb, 2-3, hitachi X-HELO: mail-oi0-f65.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=pmJMyrtTYFHQtcDlWTjfPPpu7q/hFQOMyTT5SUccStY=; b=jXR8GENjVc+LqZqfYWEHSrVtQP5K8j46LtZCHsLkbaKD+H7tGwc9sXq0v1xMv8Ze6q +LRfit1ffCAXvgt3Dv53SGKTWjdJa+ccu8F4jj/K5IBqBmd9PKpZEpgXthRDWOyRPSGG mpAJbUE/kg/YWFMJ/mSFU8vR1LLCB24WiyTUr8ob2gvo5oB5ysOZ2zPUDJwFYfanlz1G pwFbHQthGS5fhwavWE8S0LIVW2ue8kJGrHHc1aNvtKekYOJO6Oi9aV6rtKoKrLHZ9b3Q PV0kTGQh1cAvJ3Jh48Ruve60RpW8X1COrFCaI3ZpY4YlGv2KFkWA31E5TpmWHzoWDvhF ppbg== X-Gm-Message-State: ALyK8tI16g+u2hY1cM5RWaKXqBPnmU6qgEk2i8S2qcgciuQi4T+xi/nxoIRM6vwvqa5UQKjIRU8RNYnAIyJNnA== X-Received: by 10.157.59.134 with SMTP id k6mr5992855otc.116.1465751878929; Sun, 12 Jun 2016 10:17:58 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?David_Bala=C5=BEic?= Date: Sun, 12 Jun 2016 19:17:58 +0200 Message-ID: Subject: Huge cache usage while making hdd image with dd To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u5CHIDQB009158 Hi! On Windows 8.1 Update 1 Professional with cygwin 2.4.1 (not the latest, I know, I'll recheck under 2.5.1 later), I am running this command: dd if=/dev/sdb bs=1M | tee sdb.1TB.test | sha256sum > sdb.1TB.test.sha256 the destination folder in on an external drive (NTFS, more detail below). The CPU usage is about 40% (4 core Intel i5-2320) and the current copying speed is 60 MB/s (measured by signaling USR1 to dd and doubleckecking in the task manager). The weird thing is OS disk cache usage. Task manager show this for RAM usage (16GB physical RAM in system, 16 GB fixed size pagefile - on sdb): In use: 1.7 GB Available: 13.7 GB Cached: 14,3 GB (!) Committed: 2,8/32 GB Paged pool: 277 MB Non-paged pool: 126 MB $ cat /proc/meminfo MemTotal: 16758408 kB MemFree: 14409844 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 16758408 kB LowFree: 14409844 kB SwapTotal: 16777216 kB SwapFree: 16233228 kB perfmon.exe shows about 4% pagefile usage. The symptoms are: - starting programs is slow. Starting explorer.exe takes 2-3 seconds versus instant as normal (C: is a SSD) - after a while if left alone programs get stuck (swapped). For example Firefox. If left alone (unused) for a minute and the I try to click a link or scroll the page, it takes about 10 seconds during which the window title shows "Not responding" A simple copy operation should not occupy so much cache IMO. I post here, as cygwin is involved. Any idea what is going on? Where to look? Some system info: Intel i5-2320 16 GB RAM Intel H61 chipset C: Samsung SSD 830 128GB source drive (sdb) is an internal Hitachi HDS721010CLA332 (1 TB) * Seagate Desktop Expansion 5TB external drive, connected over USB3.0 Regards, David Balažic -- 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