all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mathias Dahl <mathias.dahl@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Willing to debug bug #3542 (23.0.94; File access via UNC path  slow again under Windows)
Date: Wed, 8 Jul 2009 22:47:37 +0200	[thread overview]
Message-ID: <7dbe73ed0907081347q12dfd1a2lbbff915c49362f75@mail.gmail.com> (raw)
In-Reply-To: <83my7fz09s.fsf@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.

The more files there are, the bigger the slowdown seems to be, in my tests.

>  . 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 :)

>  . 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? :)

>   previous test shows a significant speedup with hot cache, please
>   try this with a cold cache, which may mean rebooting the machine
>   where you are trying this, or maybe waiting long enough for the
>   cache to "cool down" and in addition restarting Emacs (to get rid
>   of Emacs's internal caching).

I assume I don't need to test this now. If I do, ask me again.

>  . If w32-get-true-file-attributes does have a significant effect,
>   please tell how many different user names and group names you see
>   in the listing presented by "C-x d".

It looks like this:

  //gbgfs1/archive75:

  total used in directory 8728 available 8198544

  drwxrwxrwx  1 Administrators Domain Users       0 1970-01-01  .

  dr-xr-xr-x  1 mdahse         Domain Users       0 1970-01-01  ..

  drwxrwxrwx  1 demoruntime    Domain Users       0 2008-12-05  _ConfigBuild

  drwxrwxrwx  1 demoruntime    Domain Users       0 2008-06-09  acadc

...

and then all other lines after that has the same user and group names.
The one that differs above (mdahse) is my own username.

>> Not yet.  But perhaps install StraceNT
>> (http://stracent.en.softonic.com/) and see what are the differences
>> between Emacs 22 and Emacs 23.  Maybe you will even be able to see the
>> system call(s) that take most of this extra time.
>
> Did you have a chance to do this?  If so, can you post the results?

Not yet, no. Is it still interesting?

/Mathias




  reply	other threads:[~2009-07-08 20:47 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-05 21:01 Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) Mathias Dahl
2009-07-05 22:58 ` Chong Yidong
2009-07-06 14:30   ` Mathias Dahl
2009-07-06 14:55     ` Chong Yidong
2009-07-07 11:00       ` Mathias Dahl
2009-07-07 11:14         ` Miles Bader
2009-07-06  3:06 ` Eli Zaretskii
2009-07-06  7:38   ` Mathias Dahl
2009-07-06 20:01     ` Eli Zaretskii
2009-07-08 15:01       ` Eli Zaretskii
2009-07-08 20:47         ` Mathias Dahl [this message]
2009-07-09 11:37           ` Jason Rumney
2009-07-09 11:53             ` Mathias Dahl
2009-07-09 16:11               ` Drew Adams
2009-07-09 16:25                 ` Jason Rumney
2009-07-09 17:03                   ` Drew Adams
2009-07-09 18:59                     ` Eli Zaretskii
2009-07-09 18:47                   ` Eli Zaretskii
2009-07-09 21:33                     ` Chong Yidong
2009-07-10  8:54                       ` Eli Zaretskii
2009-07-11 19:17                     ` Stefan Monnier
2009-07-11 20:22                       ` Eli Zaretskii
2009-07-13 12:17                         ` Stefan Monnier
2009-07-13 13:38                           ` Andreas Schwab
2009-07-13 19:00                             ` Eli Zaretskii
2009-07-13 18:56                           ` Eli Zaretskii
2009-07-14  0:51                             ` Stefan Monnier
2009-07-13 13:57                         ` Andreas Schwab
2009-07-13 19:02                           ` Eli Zaretskii
2009-07-13 19:39                             ` Andreas Schwab
2009-07-13 20:13                               ` Eli Zaretskii
2009-07-13 21:04                                 ` Andreas Schwab
2009-07-13 23:29                                   ` Chong Yidong
2009-07-14  0:31                                 ` YAMAMOTO Mitsuharu
2009-07-14  0:54                                 ` Stefan Monnier
2009-07-14  3:18                                   ` Eli Zaretskii
2009-07-14  4:28                                     ` Miles Bader
2009-07-14 19:14                                       ` Eli Zaretskii
2009-07-14 19:32                                         ` Davis Herring
2009-07-14 20:03                                           ` Eli Zaretskii
2009-07-14 20:27                                             ` Miles Bader
2009-07-14 21:05                                               ` Eli Zaretskii
2009-07-15  9:19                                           ` David Kastrup
2009-07-14  4:31                                     ` Haojun Bao
2009-07-14 18:18                                     ` Stefan Monnier
2009-07-14 19:57                                       ` Eli Zaretskii
2009-07-09 19:11                 ` Eli Zaretskii
2009-07-09 19:13               ` Eli Zaretskii
2009-07-09 12:56           ` Eli Zaretskii

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=7dbe73ed0907081347q12dfd1a2lbbff915c49362f75@mail.gmail.com \
    --to=mathias.dahl@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.