From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) Date: Thu, 09 Jul 2009 08:56:33 -0400 Message-ID: References: <7dbe73ed0907051401o26903ca3t9a67060f3a3417ad@mail.gmail.com> <83fxda1pef.fsf@gnu.org> <7dbe73ed0907060038w53699f77ie742996955ae8118@mail.gmail.com> <838wj11sz4.fsf@gnu.org> <83my7fz09s.fsf@gnu.org> <7dbe73ed0907081347q12dfd1a2lbbff915c49362f75@mail.gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1247144214 18450 80.91.229.12 (9 Jul 2009 12:56:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jul 2009 12:56:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Mathias Dahl Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 09 14:56:47 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MOtB8-0006NZ-Vi for ged-emacs-devel@m.gmane.org; Thu, 09 Jul 2009 14:56:47 +0200 Original-Received: from localhost ([127.0.0.1]:54481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOtB8-0000es-DO for ged-emacs-devel@m.gmane.org; Thu, 09 Jul 2009 08:56:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOtB2-0000am-9H for emacs-devel@gnu.org; Thu, 09 Jul 2009 08:56:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOtAx-0000WC-Lz for emacs-devel@gnu.org; Thu, 09 Jul 2009 08:56:39 -0400 Original-Received: from [199.232.76.173] (port=52031 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOtAx-0000Uf-Gp for emacs-devel@gnu.org; Thu, 09 Jul 2009 08:56:35 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:36578) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOtAw-0000sI-Hn for emacs-devel@gnu.org; Thu, 09 Jul 2009 08:56:34 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MOtAv-0002fL-DP; Thu, 09 Jul 2009 08:56:33 -0400 In-reply-to: <7dbe73ed0907081347q12dfd1a2lbbff915c49362f75@mail.gmail.com> (message from Mathias Dahl on Wed, 8 Jul 2009 22:47:37 +0200) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:112241 Archived-At: > From: Mathias Dahl > Date: Wed, 8 Jul 2009 22:47:37 +0200 > Cc: emacs-devel@gnu.org > > > First, I don't see a ~100-fold slowdown, I see only a 10-fold slowdown > > (vs Emacs 22.3).  This is with a directory that has ~130 > > subdirectories. To clarify, I see 1 sec with Emacs 22.3, and 10 to 11 seconds with Emacs 23.0.95. > The more files there are, the bigger the slowdown seems to be, in my tests. Can you see if it's approximately linear in the number of files? > >  . Do you see significant difference in speed with cold and hot cache? > >   That is, if you run Dired on the above directory, then kill the > >   Dired buffer and immediately run Dired again on the same directory, > >   what times do you see then in Emacs 23? > > Hehe, it got even worse the second time :) That's somewhat strange. For me, the second time is very fast: 3-4 seconds instead of 11. > >  . Does it help to set w32-get-true-file-attributes to nil? > > Woooo! Um, yes... It helped all right. From 85 (first try) and 115 > (second try as per reuest above), down to 1,4 s. Shall we call that as > success? :) Yes, probably. I will send a patch today or tomorrow for you to try. Thanks.