Speeding up file tranfer

Ladner, Eric (Eric.Ladner) Eric.Ladner at chevrontexaco.com
Wed Jan 16 15:32:05 GMT 2002


There's no real solution here, other than increasing network bandwith.

If you've got a share mounted on z:, for example, and you are doing a 'copy
z:\dir1\file1.dat z:\dir2\file2.dat', then you are round-tripping all the
data packets from your server, to your pc, then back to your server.  

The only way to change this is to come up with a way to submit a copy
command (cp /dir1/file1.dat /dir2/file2.dat) that is executed on the server.
Otherwise, you are fighting network bandwidth.

Eric

-----Original Message-----
From: Ivan Gustin [mailto:ivan.gustin at pu.tel.hr]
Sent: Wednesday, January 16, 2002 5:08 PM
To: Samba Maillist
Subject: Re: Speeding up file tranfer


OK, here is my smb.conf file. Is there any wrong or missing parameter that
can speed up file transfer?

[global]
   server string = COMPANY Linux server (Samba %v)
   workgroup = COMPANY
   guest account = nobody
   keep alive = 30
   log file = /var/log/samba/samba.log
   log level = 1
   os level = 31
   kernel oplocks = false
   security = user
   preferred master = yes
   domain master = yes
   encrypt passwords = yes
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   socket options = TCP_NODELAY
   map to guest = Bad User
   local master = yes
   wins support = no
   domain logons = yes
   domain master = yes

[share_name]
    comment = COMPANY
    path = /home/company
    browseable = yes
    read only = no
    writeable = yes
    create mode = 0660
    directory mask = 0770
    force group = users
    force user = root
    oplocks = yes
    share modes = no
    preserve case = no
    default case = lower
    mangle case = yes

----- Original Message -----
From: "Charles Marcus" <CharlesM at Media-Brokers.com>
To: "Samba Maillist" <samba at lists.samba.org>
Sent: Wednesday, January 16, 2002 10:24 PM
Subject: RE: Speeding up file tranfer


> You will need to post info on your current configuration before anyone
here
> will be able to answer.
>
> Charles
>
> > -----Original Message-----
> > From: samba-admin at lists.samba.org
> > [mailto:samba-admin at lists.samba.org]On Behalf Of Ivan Guštin
> > Sent: Wednesday, January 16, 2002 1:06 PM
> > To: samba at samba.org
> > Subject: Speeding up file tranfer
> >
> >
> > Hi,
> >
> > I have Linux+Samba server in one LAN. Clients are mostly DOS.
> > They are using
> > samo DOS application which sometimes makes backups of main
> > database files in
> > another directory. The size of these files is 70+ MB. Application uses
DOS
> > COPY command, so that operation takes very long time (around 5 minutes).
> >
> > When I try to copy with "cp file1 file2" it takes just 25 seconds. I am
> > looking for any posibility of speeding up this file transfer.
> >
> > First of all, have anybody any suggestions of configuring Samba to have
> > better file tranfer? I read all suggestions in "Using Samba" book, but I
> > don't get any major improvement.
> >
> > These backup file transfer is internal and "must be" in DOS
> > application and
> > I cannot make any change to use another way for file copying, but I am
> > thinking to "fake" DOS COPY command to lounch "cp" command on
> > server localy.
> >
> > Have anybody any such experiences? Thanks in advance for any suggestion.
> >
> > Bye,
> > Ivan Gustin, ivan at elin.hr
> > ELIN Elektronika i informatika, http://www.elin.hr
> >
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba





More information about the samba mailing list