public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Erik Bray <erik.m.bray@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Cygwin on Win10 much slower than Win7
Date: Thu, 02 Nov 2017 13:36:00 -0000	[thread overview]
Message-ID: <CAOTD34YCpVaEcGn1C_9Y6zjf3dA=1ytth2OhkwpFTR-CF9VV3g@mail.gmail.com> (raw)
In-Reply-To: <BN6PR2001MB107455088015357A0BDC8551F15F0@BN6PR2001MB1074.namprd20.prod.outlook.com>

On Wed, Nov 1, 2017 at 3:50 PM, Nellis, Kenneth wrote:
> Since migrating from a Windows 7 laptop to one with Windows
> 10, I've noticed a significant speed decrease in opening a
> mintty/bash window from about 0.5s to 3.5s.
>
> I've narrowed it down to two bottlenecks in .bash_profile:
> to "cygpath" and "source".
>
> Each invocation of cygpath on Win10 takes about 0.12s while
> on Win7 takes only 0.016s. Both are running 64-bit Cygwin
> 2.9.0, and cygpath version 2.9.0.
>
> The files being sourced are the same, but for example, one
> file, .bash_aliases, only contains alias statements and a
> few variable assignments. On Win7, "time" says it takes
> 0.000s, but on Win10 it takes 0.023s.
>
> The Win7 CPU is "i7-4600M @ 2.90 GHz 2.90 GHz" while the
> Win10 CPU is "i7-6600U @ 2.60 GHz 2.81 GHz". I can't imagine
> this difference accounts for a 10x speed difference. Also the
> Win10 machine has an SSD compared to the Win7 machine's SCSI
> hard disk, which would favor the Win10 machine.
>
> I was wondering if anyone else noticed such a thing or could
> account for this speed difference. Can I simply blame Windows
> 10?

There could be a real issue here, but for what it's worth I haven't
noticed such extreme slowdown.  But I don't have a Windows 7 machine
to compare to.  I upgrade the one I'm on now from Windows 7 to Windows
10 over a year ago, so if there ever was a difference maybe I just got
use to it and didn't notice.

I don't recall any major issues when I first upgraded either though  ¯\_(ツ)_/¯

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

  reply	other threads:[~2017-11-02 13:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-01 14:50 Nellis, Kenneth
2017-11-02 13:36 ` Erik Bray [this message]
2017-11-02 13:41   ` cyg Simple
2017-11-02 16:44     ` Nellis, Kenneth
2017-11-02 16:49       ` Stephen John Smoogen
2017-11-02 17:15         ` Nellis, Kenneth
2017-11-02 18:34           ` Vince Rice

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOTD34YCpVaEcGn1C_9Y6zjf3dA=1ytth2OhkwpFTR-CF9VV3g@mail.gmail.com' \
    --to=erik.m.bray@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).