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@elin.hr ELIN Elektronika i informatika, http://www.elin.hr
You will need to post info on your current configuration before anyone here will be able to answer. Charles> -----Original Message----- > From: samba-admin@lists.samba.org > [mailto:samba-admin@lists.samba.org]On Behalf Of Ivan Gu?tin > Sent: Wednesday, January 16, 2002 1:06 PM > To: samba@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@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
Hi Ivan: I think if you perform a "cp" command in the linux server, always is more quick if you perform a "DOS copy" across the net. Because across the net you transfer the data to the client PC and then again, from the client to the server. Perhaps if you have a LAN at very powerfull you can compare the two speeds. Regards El Mi? 16 Ene 2002 15:05, escribi?:> 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@elin.hr > ELIN Elektronika i informatika, http://www.elin.hr
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@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@Media-Brokers.com> To: "Samba Maillist" <samba@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 anyonehere> will be able to answer. > > Charles > > > -----Original Message----- > > From: samba-admin@lists.samba.org > > [mailto:samba-admin@lists.samba.org]On Behalf Of Ivan Gu?tin > > Sent: Wednesday, January 16, 2002 1:06 PM > > To: samba@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 usesDOS> > 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@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