[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 22.1.50; insert-file-contents is slow under tramp
From: |
Michael Albinus |
Subject: |
Re: 22.1.50; insert-file-contents is slow under tramp |
Date: |
Tue, 28 Aug 2007 10:31:12 +0200 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) |
Richard Stallman <address@hidden> writes:
> Same old scheduler problem that prompted both of
>
> w32-pipe-read-delay
> process-adaptive-read-buffering
>
> Maybe you should try setting process-adaptive-read-buffering to a
> non-nil non-t value?
>
> Should the defaults for any of these be changed?
Strange. On my test system, the default value for
process-adaptive-read-buffering is t. Using this, or 'keep, I have
very poor access time. Changing it to nil, the access time is
decreased remarkable. I've tested with a 1MB local file with inline
encoding. This time, my test system is a 1GHz PIII with
GNU Emacs 22.1.50.1 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2007-06-08 on elegiac, modified by Debian
Linux version 2.6.15-27-386 (address@hidden) (gcc version 4.0.3 (Ubuntu
4.0.3-1ubuntu5)) #1 PREEMPT Fri Dec 8 17:51:56 UTC 2006
I did run every test 3 times, after a first uncounted test (because
there are additional actions for establishing the connection):
1. (process-adaptive-read-buffering t) - the default:
Function Name Call Count Elapsed Time Average Time
===================== ========== ============ ============
insert-file-contents 2 35.411358 17.705679
insert-file-contents 2 35.569901 17.7849505
insert-file-contents 2 36.250298 18.125149
2. (process-adaptive-read-buffering 'keep)
Function Name Call Count Elapsed Time Average Time
===================== ========== ============ ============
insert-file-contents 2 34.860293 17.4301465
insert-file-contents 2 34.996148000 17.498074000
insert-file-contents 2 35.00383 17.501915
3. (process-adaptive-read-buffering nil)
Function Name Call Count Elapsed Time Average Time
===================== ========== ============ ============
insert-file-contents 2 4.8032639999 2.4016319999
insert-file-contents 2 3.095113 1.5475565
insert-file-contents 2 3.258899 1.6294495
Best regards, Michael.
- Re: 22.1.50; insert-file-contents is slow under tramp, (continued)
- Re: 22.1.50; insert-file-contents is slow under tramp, Michael Albinus, 2007/08/27
- Re: 22.1.50; insert-file-contents is slow under tramp, David Kastrup, 2007/08/27
- Re: 22.1.50; insert-file-contents is slow under tramp, Richard Stallman, 2007/08/27
- Re: 22.1.50; insert-file-contents is slow under tramp, David Kastrup, 2007/08/27
- Re: 22.1.50; insert-file-contents is slow under tramp, Richard Stallman, 2007/08/28
- Re: 22.1.50; insert-file-contents is slow under tramp, David Kastrup, 2007/08/28
- Re: 22.1.50; insert-file-contents is slow under tramp, Michael Albinus, 2007/08/28
- Re: 22.1.50; insert-file-contents is slow under tramp, David Kastrup, 2007/08/28
- Re: 22.1.50; insert-file-contents is slow under tramp,
Michael Albinus <=
- Re: 22.1.50; insert-file-contents is slow under tramp, David Kastrup, 2007/08/28
- Re: 22.1.50; insert-file-contents is slow under tramp, Eli Zaretskii, 2007/08/24
- Re: 22.1.50; insert-file-contents is slow under tramp, Stephen Berman, 2007/08/24
- Re: 22.1.50; insert-file-contents is slow under tramp, Richard Stallman, 2007/08/24