tramp-devel
[Top][All Lists]
Advanced

[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: Fri, 19 Oct 2012 15:07:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Martin Apel <address@hidden> writes:

> Hi there,

Hi Martin,

> I tried to investigate the cause for this and found out, that most of
> the time is spent inside tramp-accept-process-output as can be seen
> from the following profiling output for a single file open:
>
> tramp-smb-file-name-handler                 330 13.859976999 0.0419999303
> tramp-smb-handle-file-local-copy            1 6.914245     6.914245
> tramp-smb-send-command                      1 6.91259      6.91259
> tramp-smb-wait-for-output                   1 6.912537     6.912537
> tramp-accept-process-output                 7 6.9121980000 0.9874568571
> accept-process-output                       7 0.903607     0.1290867142

Wow. The major functionality of `tramp-accept-process-output' is to call
`accept-process-output', they shall have similar timings.

What happens, if you remove the `with-timeout' form around
`accept-process-output'?

> Martin

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]