transferrate drop with tcmd 5.51 when copying to Samba share

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Andrew
Junior Member
Junior Member
Posts: 2
Joined: 2003-07-04, 14:08 UTC

transferrate drop with tcmd 5.51 when copying to Samba share

Post by *Andrew »

Hi,
I had been using Wincmd 5.0 shareware some time ago.
As the name changed and the version got up to 5.51 I dl'ed the latest version.
I have a server running Linux with Samba 2.2.8a and my Windows comp that connects to a Samba share as drive D:. When copying a file from the local drive to drive D: wincmd 5.0 copies it faster than tcmd 5.51.

-wincmd 5.0 needs 51 seconds to copy a 375 MB file to the Samba share.
-tcmd 5.51 needs 71 seconds to copy the exact same file to the share.

That makes:
7.3 MB/s with wincmd 5.0
and
5.2MB/s with tcmd 5.51.
Using the Windows Explorer it also takes 51 seconds to copy the file.

Any ideas of what could be the problem?

André.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

wincmd 5.0 copies it faster than tcmd 5.51
That's strange - the two use the same copy functions! Do you use any special copy options, e.g. CopyBlockSize= etc.?
Author of Total Commander
https://www.ghisler.com
Andrew
Junior Member
Junior Member
Posts: 2
Joined: 2003-07-04, 14:08 UTC

Post by *Andrew »

I'm not usinga ny special options to copy the files.
But I did some more testing.
I turned on LogLevel 3 for Samba and there is one difference when copying files between 5.0 and 5.51.

When I copy files using 5.51 I have lines like this comming up in the logfile:
[2003/07/07 18:53:23, 3] smbd/reply.c:reply_write_and_X(3010)
writeX fnum=11384 num=1 wrote=1

When I copy files using 5.0 it looks a little bit different:
[2003/07/07 18:54:00, 3] smbd/reply.c:reply_write_and_X(3010)
writeX fnum=11386 num=65536 wrote=65536

This is the only thing I noticed as a differnce between both versions.

I did another test in copying files. I used a 1GB file (1073741824 bytes) and copied it from a local drive to the Samba share on drive D:
I copied the file three times with each program just to get an average overlook.
Those are the result:

--|-5.51---|-5.0---|-Explorer
----------------------------------
1 |3.17 s |2.28 s |2.47 s
2 |3.19 s |2.25 s |2.35 s
3 |3.20 s |2.27 s |2.38 s

André.
Post Reply