From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81071 invoked by alias); 1 Nov 2017 14:50:26 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 81051 invoked by uid 89); 1 Nov 2017 14:50:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=laptop, GHz, ghz, mintty X-HELO: esa1.hc188666.iphmx.com Received: from esa1.hc188666.iphmx.com (HELO esa1.hc188666.iphmx.com) (216.71.152.241) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 01 Nov 2017 14:50:15 +0000 Received: from mail-bn3nam01lp0183.outbound.protection.outlook.com (HELO NAM01-BN3-obe.outbound.protection.outlook.com) ([216.32.180.183]) by ob1.hc188666.iphmx.com with ESMTP/TLS/AES256-SHA256; 01 Nov 2017 09:50:12 -0500 Received: from BN6PR2001MB1074.namprd20.prod.outlook.com (10.172.110.16) by BN6PR2001MB1075.namprd20.prod.outlook.com (10.172.110.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.13; Wed, 1 Nov 2017 14:50:11 +0000 Received: from BN6PR2001MB1074.namprd20.prod.outlook.com ([10.172.110.16]) by BN6PR2001MB1074.namprd20.prod.outlook.com ([10.172.110.16]) with mapi id 15.20.0178.015; Wed, 1 Nov 2017 14:50:11 +0000 From: "Nellis, Kenneth" To: "cygwin@cygwin.com" Subject: Cygwin on Win10 much slower than Win7 Date: Wed, 01 Nov 2017 14:50:00 -0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Kenneth.Nellis@conduent.com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN6PR2001MB1075;20:rsMSiSegnLlKgFKTSpY9rJaktW4BbBR0tEO5ubRwu+zWp5cpVf600uGoeZJGnhyDBMQwYQamMXX1hMhSIZ1TQ03nf5+B4+mkLnODAeYfOzPUKXtjb8bEvynynvEcmVIZYDjhyKMbRTFB6Is5e/kU40J2sPMZz4MqsjDD8F2Ix79aw1duU3XU3UhrtJRexHmNPJi6fol5ZfNllw0MYA3LVp5Q1WvHEWrirgcJ/fJcwnkNABi9+ntdSN02ZY+E4bin x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 26e31fa8-153c-479d-461d-08d52137da63 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(4534020)(4602075)(2017052603199);SRVR:BN6PR2001MB1075; x-ms-traffictypediagnostic: BN6PR2001MB1075: x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(3231020)(3002001)(6041248)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123555025)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN6PR2001MB1075;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN6PR2001MB1075; x-forefront-prvs: 0478C23FE0 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(346002)(376002)(39860400002)(189002)(199003)(165144002)(3280700002)(5640700003)(305945005)(72206003)(6436002)(478600001)(33656002)(50986999)(54356999)(74316002)(14454004)(8936002)(2900100001)(68736007)(6916009)(2501003)(3846002)(6116002)(102836003)(3660700001)(7696004)(2906002)(86362001)(81156014)(81166006)(66066001)(8676002)(1730700003)(5660300001)(9686003)(101416001)(53936002)(97736004)(316002)(25786009)(7736002)(6506006)(77096006)(55016002)(189998001)(105586002)(99286003)(106356001)(2351001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR2001MB1075;H:BN6PR2001MB1074.namprd20.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: conduent.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: conduent.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26e31fa8-153c-479d-461d-08d52137da63 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Nov 2017 14:50:11.1618 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 1aed4588-b8ce-43a8-a775-989538fd30d8 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR2001MB1075 X-SW-Source: 2017-11/txt/msg00008.txt.bz2 Since migrating from a Windows 7 laptop to one with Windows=20 10, I've noticed a significant speed decrease in opening a=20 mintty/bash window from about 0.5s to 3.5s. I've narrowed it down to two bottlenecks in .bash_profile:=20 to "cygpath" and "source". Each invocation of cygpath on Win10 takes about 0.12s while=20 on Win7 takes only 0.016s. Both are running 64-bit Cygwin=20 2.9.0, and cygpath version 2.9.0. The files being sourced are the same, but for example, one=20 file, .bash_aliases, only contains alias statements and a=20 few variable assignments. On Win7, "time" says it takes=20 0.000s, but on Win10 it takes 0.023s. The Win7 CPU is "i7-4600M @ 2.90 GHz 2.90 GHz" while the=20 Win10 CPU is "i7-6600U @ 2.60 GHz 2.81 GHz". I can't imagine=20 this difference accounts for a 10x speed difference. Also the=20 Win10 machine has an SSD compared to the Win7 machine's SCSI=20 hard disk, which would favor the Win10 machine. I was wondering if anyone else noticed such a thing or could=20 account for this speed difference. Can I simply blame Windows=20 10? --Ken Nellis -- 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