From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Moore, Rider" Newsgroups: gmane.emacs.bugs Subject: bug#67672: EMACS - Slow opening files Date: Tue, 12 Dec 2023 17:57:56 +0000 Message-ID: References: <83o7f2343c.fsf@gnu.org> <83ttot28oz.fsf@gnu.org> <83r0jx27ft.fsf@gnu.org> <834jgrzve1.fsf@gnu.org> <83bkawvd5j.fsf@gnu.org> <83il53tkn4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19591"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "67672@debbugs.gnu.org" <67672@debbugs.gnu.org>, "Chand, Suresh" To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 12 21:14:50 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rD99V-0004sS-5d for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Dec 2023 21:14:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rD98X-0007R5-Qh; Tue, 12 Dec 2023 15:13:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rD98W-0007Pz-9b for bug-gnu-emacs@gnu.org; Tue, 12 Dec 2023 15:13:48 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rD98W-000340-13 for bug-gnu-emacs@gnu.org; Tue, 12 Dec 2023 15:13:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rD98l-0007i2-IK for bug-gnu-emacs@gnu.org; Tue, 12 Dec 2023 15:14:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Moore, Rider" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Dec 2023 20:14:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67672 X-GNU-PR-Package: emacs Original-Received: via spool by 67672-submit@debbugs.gnu.org id=B67672.170241203729557 (code B ref 67672); Tue, 12 Dec 2023 20:14:03 +0000 Original-Received: (at 67672) by debbugs.gnu.org; 12 Dec 2023 20:13:57 +0000 Original-Received: from localhost ([127.0.0.1]:57633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rD98e-0007gY-6K for submit@debbugs.gnu.org; Tue, 12 Dec 2023 15:13:57 -0500 Original-Received: from mx0b-0016f301.pphosted.com ([208.86.201.109]:39904 helo=mx0a-0016f301.pphosted.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rD71s-00017E-Jq for 67672@debbugs.gnu.org; Tue, 12 Dec 2023 12:58:50 -0500 Original-Received: from pps.filterd (m0047282.ppops.net [127.0.0.1]) by mx0b-.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 3BCCRUxg028242; Tue, 12 Dec 2023 11:58:32 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cooley.com; h= from:to:cc:subject:date:message-id:references:in-reply-to :content-type:content-transfer-encoding:mime-version; s= 10-3-2018; bh=GC0ha4cda5u6SqleMxlHE0SZkWxwpLsKsiLBtnaPBJI=; b=nA 8Bal+FzwFKBHUL4E1EmYFtt1KWBvIef6by8A6JKbeHPAsk5emrFBp70ioEj4r/vE X/RvKDxoy7Wz2pIpmeMQHLaNJDrnotnMDWDRHCEL8GwdswXB/HxNnCJSijErvu30 txV5qtMuedxjQ9X9tuw22DkME2tdCR1f7CSRfE0BQW4HajtS/8BbERUWq6/cBy2h c6nQVa1ZZTim7IHqXFKx0lUTWNWsdwSw+h+IEyXrmmfztTSuOIIJ+kHFyyC1js83 XSt2rSNKbmP5BJa9sc2ZmeXZNJ3oVK1MUxln+c0j0MoYduRwVBZBOOQNfOB5vQEV 0yeVLKmgYGyjs0sOnJxw== Original-Received: from mail.cooley.com ([173.227.174.10]) by mx0b-.pphosted.com (PPS) with ESMTPS id 3uxbtkspvu-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 11:58:31 -0600 (CST) Original-Received: from U1mail9.cooley.com (10.33.49.219) by U1MAIL7.cooley.com (10.33.49.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2507.34; Tue, 12 Dec 2023 10:58:02 -0700 Original-Received: from NAM12-BN8-obe.outbound.protection.outlook.com (10.33.48.152) by Mail.cooley.com (10.33.49.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Tue, 12 Dec 2023 10:58:02 -0700 Original-Received: from CY8PR11MB7133.namprd11.prod.outlook.com (2603:10b6:930:63::11) by IA1PR11MB6291.namprd11.prod.outlook.com (2603:10b6:208:3e5::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.33; Tue, 12 Dec 2023 17:57:58 +0000 Original-Received: from CY8PR11MB7133.namprd11.prod.outlook.com ([fe80::3168:4a63:6122:3f92]) by CY8PR11MB7133.namprd11.prod.outlook.com ([fe80::3168:4a63:6122:3f92%6]) with mapi id 15.20.7068.033; Tue, 12 Dec 2023 17:57:56 +0000 Thread-Topic: bug#67672: EMACS - Slow opening files Thread-Index: AdoolVVMilvTdOHoT8yk8+Fz3LXLRgAQ1RSwABTNvQAAAuFeRQAAgTlgAAB1ohMAOP7roAAUkY3MAHkLITAAAWCOzgAt+FVwAAKwC2MAAaTHgA== In-Reply-To: <83il53tkn4.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CY8PR11MB7133:EE_|IA1PR11MB6291:EE_ x-ms-office365-filtering-correlation-id: f5ec5937-eb2b-4e47-2f4b-08dbfb3bdf26 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: t0KtIQ4//EiVwWXl4tqHVQQe1ZoohWisT5hMl8goDKgS4L2V6LClJeWajc95yJerKhixNlRxG9a/XQCmK+LQ9uGAYkzqrZsw2xnBgZat2BRyhy4uUeVHArx/RDGDxGtmRjEHzaFGA9x5xiAOAdj5oLis9VtIotwJ0sFJfuxkr7sG4meUQPC7iXNE3XQVlPd+dqG4H70EgwEAroez2GcIKHqRbosYQl4d/mMY4uqEUkEXZXbxz7Fzcg7GsqucJi25cix50uu1xPBrEwv4rdqVWVFAmLXspMls+NTWi1IkQo4l8GgUex6D57A+1hyMNNYim/8j3yMPGRRHxSAfGO9YEMRH6kanHJXts8daqf5jwnPpgPOmjA7pkSLI7v0su++fqNacbU7ZiiuYs67dh0GiG95JOV2k6+OcuYMxerLz1d3Kn/JtOFSwbJwD/+dzsD/pZc9dL4wBITrFU/hfcT9AItO6LRdAJG6XJuXprc4U/+ht0UwQC0oyz4Z0f56J+d53Yjrp1NCgnmS92fBex5SVw27SRSPoxuEQJvf9vCxmQRD+OpDw6fUfmVdL4f7y4oU2R4a1HZUTBinWw1Yby2A4dH/ORqq6KayXUe3z4490ND4eCf4efhz6G2Q/1b6kZUVCrxCbAIkkBqDXjS8i1sqI3EuDZoiBoBm84B/ORPntR+U= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY8PR11MB7133.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(376002)(346002)(366004)(136003)(396003)(230273577357003)(230173577357003)(230922051799003)(186009)(451199024)(64100799003)(1800799012)(478600001)(33656002)(316002)(86362001)(66556008)(66476007)(66446008)(64756008)(54906003)(6916009)(66946007)(76116006)(26005)(83380400001)(9686003)(53546011)(7696005)(6506007)(38100700002)(71200400001)(122000001)(41300700001)(4326008)(8676002)(8936002)(38070700009)(52536014)(5660300002)(2906002)(55016003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: LPJJWwYXfTHOhvsROZ+03LCw10hibTaTkcfzGfyuNfCDmyKOuRJxif1tTxrsF0xV1CYL28OZk7nYnPqsYqSxIB9XmAmOWO6DahkQhJqE1NI/8j2YK0bPZMQtwMoslPkOQW4ItL5BpHS6m34BWWWcW94A/TFJSG8Gg2VuATanUWGXiXx7b51rXnBhMnPNK69b5RNnK6jpAgZnS0XasDeoHRrgomrTDBy/2EQlIHRb9OwMW3pFwci7GzfMAvqNJx0FEh5eqYwoXMBOzDWOsvLjCgHbPrXpqzHG+RI8YRIsxq2YKW2aRONNCK225LsQxdtYpP/ZyL/v844B4YOisq0QOqyfViBBrleZIpaS1mxhK0FFWsmo3/V2luLnhKi8uytjDGdHOIpd82dBHEtz/47vxYEROZiq6K/xDOxW/yZbWT9ZMGAXhL91en0gXBvaV/7j6j1Va2yb0dffkuEZBecikmt4pekJejWbdPnZyYPpuDP+aa2HBv5P1S75OE5lTYkQFhAjarSyT2cr8kMMPjr0zDO3ZLkhPVptPccsjtQ2R+BsHg+icJVbUmruEP1LHwpZXtI0FfX1mTzey9zM/c6EISwVt+iQq43XofQsrCvrt0vt6rkImJCU+2W5/pKOiJIy9gq+hiy3bTYWlWzvkiY6UB3McL0iL18jRwFcd3RuQESfkklQRcprYUmxqxPh6FakjsXK9sclY7J+fryxKVPq3ihBqJWQ7Xj8uD3egKO2seZ/uzLWzsGDJMPbWg /biUZOA7Z3kWCmEFMKMlX8/8hSrAuOvnqdO9W9KMaAAOfltzwDBRauDC5NPOpRGA+GEOEkcUaBc0yYe49aZGIaiTYm1E6EdNjc arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JelANJalEUbtoOlDCOQxtY6e1y590ZZtD4S/f3XDJU2ZeKWEtvNSYGd5iJ+CZNPJcXb6mMINiVro6ubJWWOcmThJ+TPyU7bYHXoGnYchGu8jndMEhtYH/s/hvgt3aayjMYVDSRYebb9SpTduetcCR6B3/RcRPUE/6dN01EYVAU49yxEB6NdlMtcfKSLuf7QHe791jX4ZNcrm9v+7YBpHGkOVTO4AWbEkF/tPvg83ZKpGiGeinI8S4lV17TV+vllEpkhbQ78CysIWngkBdZZM1eMhqZQOQgzVmy1R2sd60TbAdK8XkMitIdibbkXUXkj+oLYd2CCnUKk7F8NBmZdKQQ== arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2lU+oalvT8dnsyI/6K/koWxzyLj1gR9UPSPGhODHJ04=; b=UqWa4utYq6pWBQbLi018WkDrQAPd0aiCC2y82SxbwwLime2FxP1C16Gl2z8xGWLyB6UJnu0rMLKSGgVxfh0hPkcSNwdtHz2S3vRN6gfDygplnNcN20ZA5fES2AMQnjggyYwDcMH8hLQDhgcMo7/vyL9DnfeG5DV6Y82ZIA2aLFv4Jz1SwZ3yrWK5LnfJZCGOnmlMIilifVWC5Dampm2MSSsmUWNdyiRGH45cLmsqwfJDv4lk4Rj78BvBzZytc+9x5gdecFr5Wk7Yw9jQgYx+DODauqufraUIymdTreadsOKAMDqJ5Le23w8s0DCrzQ7J1gNIfuozeb8aIdxlAoIB/A== arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cooley.com; dmarc=pass action=none header.from=cooley.com; dkim=pass header.d=cooley.com; arc=none dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cllp.onmicrosoft.com; s=selector2-cllp-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2lU+oalvT8dnsyI/6K/koWxzyLj1gR9UPSPGhODHJ04=; b=sPE30O7gCxA6cEi9sdRsS+Usv91OwIQk7lQavNvbJAox0ACCnkww0aijHXLX/G7WZzI7LsqCsqB3dflMN5CPehXDMfle8lmPnNMjk0SChfrErluwgQbDhgmpMRFS+x4eQ2BAK+hTECke5ajLrpEF/WquENc1kKo7sW8ysqlP7FM= x-ms-exchange-crosstenant-authas: Internal x-ms-exchange-crosstenant-authsource: CY8PR11MB7133.namprd11.prod.outlook.com x-ms-exchange-crosstenant-network-message-id: f5ec5937-eb2b-4e47-2f4b-08dbfb3bdf26 x-ms-exchange-crosstenant-originalarrivaltime: 12 Dec 2023 17:57:56.7890 (UTC) x-ms-exchange-crosstenant-fromentityheader: Hosted x-ms-exchange-crosstenant-id: 7087a6be-5e7d-49e8-9ee5-3c7ffd3f1e65 x-ms-exchange-crosstenant-mailboxtype: HOSTED x-ms-exchange-crosstenant-userprincipalname: I7sL0hEMwDyIyK4ylfAL9llmqJ7OJ1Pu1N6GrMmzv8SvDleYek/BboRpSX/8ZX/N+HKdsuiPTqmHwL7ndjwfyQ== x-ms-exchange-transport-crosstenantheadersstamped: IA1PR11MB6291 x-originatororg: cooley.com X-Proofpoint-GUID: 6uUKv-4VPSLEMF_XwJxTfhC3IqyMUMdQ X-Proofpoint-ORIG-GUID: 6uUKv-4VPSLEMF_XwJxTfhC3IqyMUMdQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-12_11,2023-12-12_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 bulkscore=0 phishscore=0 adultscore=0 suspectscore=0 mlxlogscore=868 spamscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312120136 X-Mailman-Approved-At: Tue, 12 Dec 2023 15:13:51 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:276082 Archived-At: Eli, For the purpose of our business we only want to use Emacs as a text editor.= We are working with very large mercurial and git repositories under versi= on control. If files are under version control, is Emacs doing anything ex= tra besides opening them as a normal text editor would? Thanks, -Rider -----Original Message----- From: Eli Zaretskii Sent: Tuesday, December 12, 2023 9:07 AM To: Moore, Rider Cc: Chand, Suresh ; 67672@debbugs.gnu.org Subject: Re: bug#67672: EMACS - Slow opening files [External] ______________________________________________________________________ > From: "Moore, Rider" > CC: "Chand, Suresh" , > "67672@debbugs.gnu.org" > <67672@debbugs.gnu.org> > Date: Tue, 12 Dec 2023 15:52:53 +0000 > > The delay is only present for files located within the Truecrypt volume w= e are using (essential for our purposes). OK, this is good to know, thanks. > Do you know of any commands or settings adjustments needed when working w= ith a Emacs and a Truecrypt volume? No, I don't. I don't think we have ever heard about problems with these pa= rticular volumes. Which is why I suggested to run this slow operation unde= r perf, which will allow you to produce a profile of the code, and hopefull= y will show us which part of the code is the bottleneck. I don't think we = can make any progress here unless we understand which parts of the code are= slow when opening files on Truecrypt volumes. Another, less convenient method is to step in a debugger through the code i= n find-file and its subroutines, and see which part(s) there take such a lo= ng time. Presumably, if this takes minutes, you should be able to identify= the calls that take such a long time. As a "leap of faith", how about timing the following, after starting "emacs= -Q": M-: (insert-file-contents "SOME-FILE") RET where SOME-FILE is a file on a Truecrypt volume. Does the above take an ab= normally long time, or is it as fast as when you do the same with a file on= any other volume? ________________________________ This email message is for the sole use of the intended recipient(s) and may= contain confidential and privileged information. Any unauthorized review, = use, disclosure or distribution is prohibited. If you are not the intended = recipient, please contact the sender by reply email and destroy all copies = of the original message. If you are the intended recipient, please be advis= ed that the content of this message is subject to access, review and disclo= sure by the sender's Email System Administrator.