[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Accessing SMB shares extremely slow
From: |
Michael Albinus |
Subject: |
Re: Accessing SMB shares extremely slow |
Date: |
Mon, 22 Oct 2012 15:47:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Martin Apel <address@hidden> writes:
> Hi Michael,
Hi Martin,
> that's great. At least this shows, that it has nothing to do with my
> environment.
Yep.
The following patch is the best I could get so far. Please set also
`tramp-verbose' to its default value 3, when you count elapsed
time. Writing Tramp traces decreases the performance.
Could you, please, check how it works for you?
--8<---------------cut here---------------start------------->8---
*** ~/tramp/lisp/tramp-smb.el.~2.160~ 2012-10-22 15:41:05.109437286 +0200
--- ~/tramp/lisp/tramp-smb.el 2012-10-22 14:07:47.416726439 +0200
***************
*** 1717,1723 ****
(while (and (not found) (not err) (memq (process-status p) '(run open)))
;; Accept pending output.
! (tramp-accept-process-output p)
;; Search for prompt.
(goto-char (point-min))
--- 1717,1723 ----
(while (and (not found) (not err) (memq (process-status p) '(run open)))
;; Accept pending output.
! (tramp-accept-process-output p 0.1)
;; Search for prompt.
(goto-char (point-min))
***************
*** 1731,1737 ****
(while (and (not found) (memq (process-status p) '(run open)))
;; Accept pending output.
! (tramp-accept-process-output p)
;; Search for prompt.
(goto-char (point-min))
--- 1731,1737 ----
(while (and (not found) (memq (process-status p) '(run open)))
;; Accept pending output.
! (tramp-accept-process-output p 0.1)
;; Search for prompt.
(goto-char (point-min))
--8<---------------cut here---------------end--------------->8---
> Best Regards,
>
> Martin
Best regards, Michael.
- Accessing SMB shares extremely slow, Martin Apel, 2012/10/16
- Re: Accessing SMB shares extremely slow, Michael Albinus, 2012/10/19
- Re: Accessing SMB shares extremely slow, Martin Apel, 2012/10/19
- Re: Accessing SMB shares extremely slow, Michael Albinus, 2012/10/19
- Re: Accessing SMB shares extremely slow, Martin Apel, 2012/10/22
- Re: Accessing SMB shares extremely slow, Michael Albinus, 2012/10/22
- Re: Accessing SMB shares extremely slow, Martin Apel, 2012/10/22
- Re: Accessing SMB shares extremely slow,
Michael Albinus <=
- Re: Accessing SMB shares extremely slow, Martin Apel, 2012/10/23
- Re: Accessing SMB shares extremely slow, Michael Albinus, 2012/10/23
- Re: Accessing SMB shares extremely slow, Martin Apel, 2012/10/23
- Re: Accessing SMB shares extremely slow, Michael Albinus, 2012/10/23
- Re: Accessing SMB shares extremely slow, Martin Apel, 2012/10/23
- Re: Accessing SMB shares extremely slow, Michael Albinus, 2012/10/23
- Re: Accessing SMB shares extremely slow, Michael Albinus, 2012/10/23
- Re: Accessing SMB shares extremely slow, Martin Apel, 2012/10/25
- Re: Accessing SMB shares extremely slow, Michael Albinus, 2012/10/25