From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.bugs Subject: bug#5833: 23.1.94; Opening files on network shares on w32 is slow Date: Mon, 5 Apr 2010 13:35:44 +0200 Message-ID: References: <8339zb21w3.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1270470431 8149 80.91.229.12 (5 Apr 2010 12:27:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Apr 2010 12:27:11 +0000 (UTC) Cc: 5833@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 05 14:27:07 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NylNn-0005Ol-Hw for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Apr 2010 14:27:00 +0200 Original-Received: from localhost ([127.0.0.1]:51651 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NylNZ-00033M-7d for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Apr 2010 08:26:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NylNT-00032q-Ea for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 08:26:03 -0400 Original-Received: from [140.186.70.92] (port=44407 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NylNR-000327-8t for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 08:26:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NylNP-0005XS-FX for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 08:26:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58171) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NylNP-0005XF-AR for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 08:25:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nyl54-0007ii-El; Mon, 05 Apr 2010 08:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mathias Dahl Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Apr 2010 12:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5833 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5833-submit@debbugs.gnu.org id=B5833.127046918329669 (code B ref 5833); Mon, 05 Apr 2010 12:07:02 +0000 Original-Received: (at 5833) by debbugs.gnu.org; 5 Apr 2010 12:06:23 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nyl4Q-0007iQ-C2 for submit@debbugs.gnu.org; Mon, 05 Apr 2010 08:06:22 -0400 Original-Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NykbC-0007Xt-Qa for 5833@debbugs.gnu.org; Mon, 05 Apr 2010 07:36:11 -0400 Original-Received: by wyb29 with SMTP id 29so1523968wyb.3 for <5833@debbugs.gnu.org>; Mon, 05 Apr 2010 04:36:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=dWMqff+YJ06KfCLHP49kEkjltPE+cSaK6JoWmbwNFhw=; b=BBQjKuESDyqpwaP8Guib74oWufP9CGAsUl3tbxnyd3Q+7tGtKINZUqSRRFHf2HPnKM 7A8llNVDLNuHfEGehbVi0NF7/M59d7/sM/SbvQAWHgugspre71Hch7XZcwSz7DG5ilnE KZC3+hnX0oKb4566cKc/QgK3UfOB89eEvn/V0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=RVXn4XaUOKtIDLDQeXQ3nMa1AT/8NIIuBsj7xcD/hVNRGL0wpkP0L1GPMfBb0T2UUR UU96mJgNJ/d1vALjHYCNdT8cNf9KiiiEAiA/Uz29cmlYdq8jpHFbI6rqOlguMNyceO4m 0+DrU9nwaEcG3U98FcZs0b2CEsfevR8c1UqKE= Original-Received: by 10.216.171.139 with HTTP; Mon, 5 Apr 2010 04:35:44 -0700 (PDT) In-Reply-To: <8339zb21w3.fsf@gnu.org> Original-Received: by 10.216.155.196 with SMTP id j46mr3227979wek.1.1270467364259; Mon, 05 Apr 2010 04:36:04 -0700 (PDT) X-Mailman-Approved-At: Mon, 05 Apr 2010 08:06:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 05 Apr 2010 08:07:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35944 Archived-At: Hi, Eli, thanks for looking into this! > Does it help to set w32-get-true-file-attributes to a nil value? No. > Also, is this a regression in the last pretest? =A0IOW, when was the > last time you tried visiting files on that remote file system and it > was much faster than what you see now with 23.1.94? As far as I can see this has been slow for quite a while. I have recently reinstalled my PC so I don't have the old versions with me. I downloaded 22.3 and it was even slower. Last year (I think it was) I reported a similar issue, which was fixed. That performance issue could be worked around by setting the variable above. That problem was even worse though. The reason I have noticed this at all is that one of our servers has moved to another office lately, so the network of course plays a role in this. However, there is still the question what Emacs does that Notepad don't (well, I know, a lot, but computers are fast nowadays) that makes for the difference in opening files on shares (it could be a problem locally as well but maybe it is so fast that I don't notice). Just now I tested this scenario in the latest pretest: I opened (from Dired) a file only 800 bytes in size. It took 7 seconds. I then opened another file, over 100 000 bytes and that also took 7 seconds. Opening the larger of the files in Notepad takes just above a second. If there are any other tests I can do, please let me know. I currently don't have a way to compile the source myself on w32, just so that you know. Thanks! /Mathias