"ls -l" command and performance of sftp

ponraj tryponraj at gmail.com
Sat May 6 14:32:49 EST 2006


Hi all,

I am using OpenSSH4.3p2. User database is stored in LDAP server.When I tried 
to list about 400 files using "ls -l" command in ftp and sftp, I observed 
that sftp took considerable amount of time greater than ftp. I suspect sftp 
does not cache the username and groupname lookups and makes fresh calls to 
getpwuid(), getgrgid() functions for each file that makes its performance 
worse. Any comments ?

--
M.P 




More information about the openssh-unix-dev mailing list