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: find-file takes forever on slow network file systems and very deep directories Date: Tue, 23 Sep 2008 22:37:55 +0300 Message-ID: References: <48D86443.5090001@gmail.com> <50f5aa6a0809231114n3890d69bi77ee4c6b70572232@mail.gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1222198739 9109 80.91.229.12 (23 Sep 2008 19:38:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2008 19:38:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andrzej Leszczynski Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 23 21:39:56 2008 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 1KiDjn-0005Ug-Be for ged-emacs-devel@m.gmane.org; Tue, 23 Sep 2008 21:39:55 +0200 Original-Received: from localhost ([127.0.0.1]:54072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiDil-0006Zw-BH for ged-emacs-devel@m.gmane.org; Tue, 23 Sep 2008 15:38:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KiDig-0006Zj-ED for emacs-devel@gnu.org; Tue, 23 Sep 2008 15:38:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KiDie-0006ZX-Ky for emacs-devel@gnu.org; Tue, 23 Sep 2008 15:38:45 -0400 Original-Received: from [199.232.76.173] (port=54942 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiDie-0006ZU-FQ for emacs-devel@gnu.org; Tue, 23 Sep 2008 15:38:44 -0400 Original-Received: from mtaout4.012.net.il ([84.95.2.10]:45008) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KiDid-0000L9-M5 for emacs-devel@gnu.org; Tue, 23 Sep 2008 15:38:43 -0400 Original-Received: from HOME-C4E4A596F7 ([77.127.116.246]) by i_mtaout4.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K7N00HVTYKXABF0@i_mtaout4.012.net.il> for emacs-devel@gnu.org; Tue, 23 Sep 2008 22:38:57 +0300 (IDT) In-reply-to: <50f5aa6a0809231114n3890d69bi77ee4c6b70572232@mail.gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:104069 Archived-At: > Date: Tue, 23 Sep 2008 11:14:06 -0700 > From: "Andrzej Leszczynski" > > >> Here are details: http://tinyurl.com/4o6q49 > > > > Thanks. Is it possible to add a trace from Emacs 21.3? That'd give > > us a clue where to look for the differences. > > > > see attached (done on GNU Emacs 21.3.1 (i386-mingw-nt5.1.2600) of > 2004-03-10 on NYAUMO) Thanks. I cannot spot anything significant: the traces look almost identical, and the code of the suspect function (emulated `stat') is virtually the same, up until the point where the value of w32-get-true-file-attributes is checked (the value of which you said made no difference). Previously you said that with Emacs 22.x, the number of file ops is 889, but I don't see so many ops in the trace you posted to the above URL. What am I missing? I also don't see the 15-sec delay in the trace: both the trace from Emacs 22.x and from 21.x show about 2-3 seconds between the first syscall and the last. Please help me understand the data.