From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#5833: 23.1.94; Opening files on network shares on w32 is slow Date: Thu, 8 Aug 2019 05:30:00 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="151415"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 5833@debbugs.gnu.org To: Mathias Dahl Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 08 05:31:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hvZ8y-000dID-EK for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Aug 2019 05:31:12 +0200 Original-Received: from localhost ([::1]:46732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvZ8x-0002YG-Gu for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Aug 2019 23:31:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40299) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvZ8s-0002Y8-IU for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2019 23:31:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvZ8r-0002LI-6s for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2019 23:31:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59157) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hvZ8r-0002LC-3F for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2019 23:31:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hvZ8o-0006f7-DN for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2019 23:31:04 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Aug 2019 03:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5833 X-GNU-PR-Package: emacs Original-Received: via spool by 5833-submit@debbugs.gnu.org id=B5833.156523501925557 (code B ref 5833); Thu, 08 Aug 2019 03:31:02 +0000 Original-Received: (at 5833) by debbugs.gnu.org; 8 Aug 2019 03:30:19 +0000 Original-Received: from localhost ([127.0.0.1]:39745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvZ87-0006e9-8d for submit@debbugs.gnu.org; Wed, 07 Aug 2019 23:30:19 -0400 Original-Received: from mail-pl1-f178.google.com ([209.85.214.178]:38734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvZ85-0006du-UM for 5833@debbugs.gnu.org; Wed, 07 Aug 2019 23:30:18 -0400 Original-Received: by mail-pl1-f178.google.com with SMTP id m12so4295911plt.5 for <5833@debbugs.gnu.org>; Wed, 07 Aug 2019 20:30:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=w6dFyCZcjyS9tZqvln2l1s8nSJda4f2b7T/lZMxGC6M=; b=iAEnv17l5G3zEl3fo/tWGT/zLvRVleuAha4gNGkN+PwWhFzMIWXY2OfgC9gCZmMLS2 PQ8UEng9lkIYq0Vn15jDeA4DtUrSUOc2AOKRP8WWtjer/v3r4m7LQYYA9WUL01UQLrLj bKF/3Qa2i7sXL1r5Y2ITQnRoN3dHZuF2ltQwo97n498+WvUFQjKeTQ2wu3KryArCShhV eNhrZ7CgYxLf/H7RxWWLb6ahznAdFjEnl8VR6oVgExP1rqUlfbaopLnsr6luyTMIUTfd auzOjkvq8oTa7pQtHvXaoGvH3zOxtuKLkZq4VMDruZrNlDF0rLbLHXhV/+7nm9LgnefT EciQ== X-Gm-Message-State: APjAAAV6Ldtwg9tB1aEpd50oEmHYXjjhFxKIF3i+kgkXyu6KM40mdDIn NfQNIc0qw2gyPx05gGPuJ62gozDogtPfVG0v4bQ= X-Google-Smtp-Source: APXvYqxyeiwMibQTHQzvBzqJ55Ngsd6J53Ip+ngKe5tKBsDv4QzY3T2bGDV/Nx+E5gzL91I2Ghtqc6dQs+3TKxwV7TQ= X-Received: by 2002:a17:902:b702:: with SMTP id d2mr11692446pls.259.1565235011997; Wed, 07 Aug 2019 20:30:11 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164743 Archived-At: Mathias Dahl writes: >> Also, how is this comparable with the 7 seconds you reported >> originally? This says it only takes 4 to visit a file, not 7. > > I got 7 seconds in vanilla emacs -Q (no settings changed), IIRC. I > will test some more when I get the time. Hi Mathias, I'm writing this in reply to a 9 year old bug report of yours against Emacs. I've included your original bug report below for reference, and you can read the full discussion at: https://debbugs.gnu.org/5833 Did you ever have a chance to look into this more in the intervening years? Can you still reproduce this issue on the latest version of Emacs (26.2)? Thanks in advance. Best regards, Stefan Kangas Mathias Dahl writes: > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug. If you can, give > a recipe starting from `emacs -Q': > > I did this: > > emacs -Q > C-x C-f //some_server/some_share/ RET > Then, on some file in Dired, opened a file with f or RET. > > This operation is much slower than the same operation done using > Notepad. For a file about 80 KB in size it takes about one second in > Notepad and 5-6 seconds in Emacs. > > I have tried some tips found in old threads about this, like turning off > some vc-parameter and some parameter controlling whether extra > properties should be fetched (or something like that) for shares. No > effect though. Opening local files is blazingly fast. > > If Emacs crashed, and you have the Emacs process in the gdb debugger, > please include the output from the following gdb commands: > `bt full' and `xbacktrace'. > For information about debugging Emacs, please read the file > d:/pgm/emacs/etc/DEBUG. > > > In GNU Emacs 23.1.94.1 (i386-mingw-nt5.1.2600) > of 2010-03-23 on G41R2F1 > Windowing system distributor `Microsoft Corp.', version 5.1.2600 > configured using `configure --with-gcc (3.4) --no-opt --cflags > -Ic:/imagesupport/include' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: SVE > value of $XMODIFIERS: nil > locale-coding-system: cp1252 > default enable-multibyte-characters: t > > Major mode: Dired by name > > Minor modes in effect: > tooltip-mode: t > mouse-wheel-mode: t > tool-bar-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent input: > C-x C-f C-y > M-: C-y q M-: C-y > q > C-x k > C-x k M-x f i n d SPC f i l SPC > l i 5 1 0 0 C-x k > > > C C-a C-k c =C3=96 - > : / m u u . t x t C-x C-f > C-x k C-h c f f C-x k > > nd-emacs-bug-report> > > Recent messages: > For information about GNU Emacs and the GNU system, type C-h C-a. > Entering debugger... > Back to top level. > nil > Copy: 1 of 1 > Copy: 1 file > f runs the command dired-find-file > > Load-path shadows: > None found. > > Features: > (shadow sort mail-extr message ecomplete rfc822 mml mml-sec > password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 > rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc > time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 > hex-util hashcash mail-utils emacsbug dired-aux help-mode easymenu view > debug dired regexp-opt tooltip ediff-hook vc-hooks lisp-float-type > mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset > image fringe lisp-mode register page menu-bar rfn-eshadow timer select > scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core > frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai > tai-viet lao korean japanese hebrew greek romanian slovak czech european > ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help > simple abbrev loaddefs button minibuffer faces cus-face files > text-properties overlay md5 base64 format env code-pages mule custom > widget hashtable-print-readable backquote make-network-process multi-tty > emacs)