Hi We are copying large files off of Unix Server on to PC. These file avg size are 600MB but about 5 to 6 of these files ( image files ) on to PC from Unix through CDWriter software. Now these 5 to 6 image files are being copies simultaneusly. image file storage data is nfs mounted. PC is 100 FUll duplex unix side is 100 FUll samba server is 100 FUll ( samba is acting like a gateway ), samba version 2.2.1 and 2.0.7 some times its very very slow and sometimes its freezes the system I am not seeing any errors in samba logs and no networkerrors. could this be anything else? Is there a limitation of samba for copying files, like am doing around 3 gig simultaneuly via this single samba server. thanks in advance
Javid Abdul-AJAVID1 wrote:> We are copying large files off of Unix Server on to PC.What kind of "unix"? It's important.> These file avg size > are 600MB but about 5 to 6 of these files ( image files ) on to PC from Unix > through CDWriter software. > Now these 5 to 6 image files are being copies simultaneusly. > image file storage data is nfs mounted.This could be your problem. I've seen terrible performance problems with NFS under many conditions. If the link between the NFS server/client isn't reliable, performance sucks. Are ping times between the two consistent? Do "ping -c10 server.address" from the client, then look at the stddev field in the result. If it's higher than about 10% of the average ping time, then you'll probably have performance trouble with NFS (this is my personal experience). Actually, even if your link is very good, I've had nothing but trouble trying to jump from SMB to NFS and back. Can you log directly into the machine via SMB instead of going SMB->NFS? You may see a dramatic improvement.> samba version 2.2.1 and 2.0.7 > some times its very very slow and sometimes its freezes the systemFreezes what system? The PC or the UNIX server?> I am not seeing any errors in samba logs and no networkerrors. > could this be anything else?Yes, NFS generally sucks.> Is there a limitation of samba for copying files, like am doing around 3 gig > simultaneuly via this single samba server.Not that I've ever come up against. However, if you don't have enough RAM in the servers in question, you can bog the thing down very badly trying to copy that much data at once. -- Bill Moran Potential Technology http://www.potentialtech.com
Thanks for responding I am running samba2.0.7 on solaris2.6. Data is on Unix server ( image files size of 900Mg avg 0 PC is downloading these files via a samba server , samba is stand alone doing nothing but just mapping PC to UNIX share ( image files ) and giving access to image file directory which is sitting on another Unix box. RAM on samba is 512, only this user using it. My question is when one is downloading or copying files from unix share on to PC box via samba, what does samba server do? Does it download on its own hard disk first from nfs server , meaning image file sitting on another unix box, and then copies to PC ?? In this case its PC thats getting stuck. thanks again. -----Original Message----- From: Bill Moran [mailto:wmoran@potentialtech.com] Sent: Saturday, February 09, 2002 5:50 PM To: Javid Abdul-AJAVID1 Cc: samba@lists.samba.org Subject: Re: [Samba] Urgent -Please comment Javid Abdul-AJAVID1 wrote:> We are copying large files off of Unix Server on to PC.What kind of "unix"? It's important.> These file avg size > are 600MB but about 5 to 6 of these files ( image files ) on to PC fromUnix> through CDWriter software. > Now these 5 to 6 image files are being copies simultaneusly. > image file storage data is nfs mounted.This could be your problem. I've seen terrible performance problems with NFS under many conditions. If the link between the NFS server/client isn't reliable, performance sucks. Are ping times between the two consistent? Do "ping -c10 server.address" from the client, then look at the stddev field in the result. If it's higher than about 10% of the average ping time, then you'll probably have performance trouble with NFS (this is my personal experience). Actually, even if your link is very good, I've had nothing but trouble trying to jump from SMB to NFS and back. Can you log directly into the machine via SMB instead of going SMB->NFS? You may see a dramatic improvement.> samba version 2.2.1 and 2.0.7 > some times its very very slow and sometimes its freezes the systemFreezes what system? The PC or the UNIX server?> I am not seeing any errors in samba logs and no networkerrors. > could this be anything else?Yes, NFS generally sucks.> Is there a limitation of samba for copying files, like am doing around 3gig> simultaneuly via this single samba server.Not that I've ever come up against. However, if you don't have enough RAM in the servers in question, you can bog the thing down very badly trying to copy that much data at once. -- Bill Moran Potential Technology http://www.potentialtech.com
HI Bill Can you elaborate on directly logging on machine via SMB. Setup is PC <-----> SAMBA ( solaris2.6 0 <-----> storage server (solaris2.6 ) now PC is downloading files from storage server via samba samba has the path in configuration file samba see the path locally but the path of files resides on storage server ( nfs ) now i guess you are asking me to install samba on storage server itself? i dont have access to that server.? thanks again -----Original Message----- From: Bill Moran [mailto:wmoran@potentialtech.com] Sent: Saturday, February 09, 2002 5:50 PM To: Javid Abdul-AJAVID1 Cc: samba@lists.samba.org Subject: Re: [Samba] Urgent -Please comment Javid Abdul-AJAVID1 wrote:> We are copying large files off of Unix Server on to PC.What kind of "unix"? It's important.> These file avg size > are 600MB but about 5 to 6 of these files ( image files ) on to PC fromUnix> through CDWriter software. > Now these 5 to 6 image files are being copies simultaneusly. > image file storage data is nfs mounted.This could be your problem. I've seen terrible performance problems with NFS under many conditions. If the link between the NFS server/client isn't reliable, performance sucks. Are ping times between the two consistent? Do "ping -c10 server.address" from the client, then look at the stddev field in the result. If it's higher than about 10% of the average ping time, then you'll probably have performance trouble with NFS (this is my personal experience). Actually, even if your link is very good, I've had nothing but trouble trying to jump from SMB to NFS and back. Can you log directly into the machine via SMB instead of going SMB->NFS? You may see a dramatic improvement.> samba version 2.2.1 and 2.0.7 > some times its very very slow and sometimes its freezes the systemFreezes what system? The PC or the UNIX server?> I am not seeing any errors in samba logs and no networkerrors. > could this be anything else?Yes, NFS generally sucks.> Is there a limitation of samba for copying files, like am doing around 3gig> simultaneuly via this single samba server.Not that I've ever come up against. However, if you don't have enough RAM in the servers in question, you can bog the thing down very badly trying to copy that much data at once. -- Bill Moran Potential Technology http://www.potentialtech.com
thanks Bill -----Original Message----- From: Bill Moran [mailto:wmoran@potentialtech.com] Sent: Sunday, February 10, 2002 7:17 PM To: Javid Abdul-AJAVID1; Javid Abdul-AJAVID1 Cc: samba@lists.samba.org Subject: Re: [Samba] Urgent -Please comment On Sunday 10 February 2002 15:14, Javid Abdul-AJAVID1 wrote:> Thanks for responding > I am running samba2.0.7 on solaris2.6. > > Data is on Unix server ( image files size of 900Mg avg 0 > PC is downloading these files via a samba server , samba is stand alone > doing nothing but just mapping PC to UNIX share ( image files ) and giving > access to image file directory which is sitting on another Unix box. > > RAM on samba is 512, only this user using it. > > My question is when one is downloading or copying files from unix share on > to PC box via samba, what does samba server do?It goes through the NFS mount and gets/puts the files - It may cache some of the files, but only as much as NFS allows. It's not copying the files locally or anything. Try altering your mount options. In FreeBSD we saw a little improvement by mounting with larger read/write buffers and the "interruptable" flag. -- Bill Moran Potential Technology technical services http://www.potentialtech.com