Networking Forums

Networking Forums > Computer Networking > Linux Networking > Samba slow in write/copy from win20003 to samba3 GBit connection

Reply
Thread Tools Display Modes

Samba slow in write/copy from win20003 to samba3 GBit connection

 
 
rabarama
Guest
Posts: n/a

 
      12-20-2004, 01:38 PM
I've a win2003 server with 2 network cards
1) 192.168.1.1 (100Mbit)
2) 192.168.50.1 (1Gbit)
Sambaserver
1) 192.168.1.2 (100Mbit)
2) 192.168.50.2 (1Gbit)

When i read from a samba server and i copy into the win2003 speed is good,
when i do the opposit (reading from win and writing to samba) it's
incredibly slow.
The Gbit network is the slow one.
The 100Mbit network works fine.
Help
Thanks



 
Reply With Quote
 
 
 
 
prg
Guest
Posts: n/a

 
      12-20-2004, 05:16 PM

rabarama wrote:
> I've a win2003 server with 2 network cards
> 1) 192.168.1.1 (100Mbit)
> 2) 192.168.50.1 (1Gbit)
> Sambaserver
> 1) 192.168.1.2 (100Mbit)
> 2) 192.168.50.2 (1Gbit)
>
> When i read from a samba server and i copy into the win2003 speed is

good,
> when i do the opposit (reading from win and writing to samba) it's
> incredibly slow.
> The Gbit network is the slow one.
> The 100Mbit network works fine.
> Help
> Thanks


Assuming the Samba server is running Linux -- what flavor? what
kernel?

What kind of nics?

Similar issues with other protocols -- eg., FTP or HTTP? Have you
tried a quick and dirty test setting one of these up on the Samba
server?

Examined packets for possible GigE performance issues? Ethereal runs
quite nicely on both Win and Linux.

Does ifconfig on Linux show errors? Netstat output from Linux and XP?

GigE nets can be _very_ fussy about TCP settings and your symptoms --
very slow writes to the Samba server at GigE speeds are quite common as
interrupt processing and buffers both may be easily swamped with
default settings. Packet sniffing will usually give good clues what's
wrong.

If this is just a home setup, it may be easiest to run 100mb on the
GigE nics for more consistent, reliable service. Even in "commercial"
settings it is not uncommon for folks to settle for 30-40% of 1000Mbs
potential.

If you want/need the extra speed be prepared to do a good bit of
detective work to locate the bottleneck. My first guess is that the
writes are swamping the disk subsystem and kernel I/O scheduler -- with
a possible interrupt overload from the nic thrown in.

You might want to search in linux.samba ("gigabit slow" is what I just
tried) for some clues.

Till you get back with some performance data, TCP settings, clueful
packet sniffs it's _very_ near impossible to tell what your problem is.
Is it worth the problem to tackle this now -- holidays and all?
hth,
prg
email above disabled

 
Reply With Quote
 
Antoine EMERIT
Guest
Posts: n/a

 
      12-20-2004, 10:55 PM
"rabarama" <(E-Mail Removed)> wrote
news:(E-Mail Removed):

> I've a win2003 server with 2 network cards
> 1) 192.168.1.1 (100Mbit)
> 2) 192.168.50.1 (1Gbit)
> Sambaserver
> 1) 192.168.1.2 (100Mbit)
> 2) 192.168.50.2 (1Gbit)
>
> When i read from a samba server and i copy into the win2003 speed is
> good, when i do the opposit (reading from win and writing to samba)
> it's incredibly slow.
> The Gbit network is the slow one.
> The 100Mbit network works fine.
> Help
> Thanks


What are your copy commands (smbclient ? smbmount + cp ?, ...) ?
and what hostnames or ips are you using ?
are you sure that the transfert move throw the right interface (1Gbit) ?

output of :

- mii-tools
- ifconfig
- netstat -rn
....


Regards
 
Reply With Quote
 
rabarama
Guest
Posts: n/a

 
      12-21-2004, 04:56 PM

> What are your copy commands (smbclient ? smbmount + cp ?, ...) ?
> and what hostnames or ips are you using ?
> are you sure that the transfert move throw the right interface (1Gbit) ?
>

the copy is from windows console to samba is very slow
the copy from windows console to samba server using ftp is very fast
The copy from samba to samba using mount and then cp
or scp Is very fast.
I use debian sarge, kernel 2.6.1 , nic realtek 8169

Thanks


 
Reply With Quote
 
japennock
Guest
Posts: n/a

 
      01-01-2005, 10:27 AM
We are having probably the same problem. We have a fedora core 3
2.6.9-1.681_fc3smp box running samba 3.0.10, and reads from the box are
very quick. Writes from a windows box to the linux box are extremely
slow unless a second write session is started, then both of them run
very fast until one of them finishes, then the remaining one slow back
down. Network functions on this box work great, ftp, http, etc., a
copy from one spot on the hard drive to another is very quick. It
seems to be a samba write problem.

 
Reply With Quote
 
japennock
Guest
Posts: n/a

 
      01-01-2005, 10:31 AM
Sorry, I didn't finish before I submitted. Does anyone have any ideas?
Thanks in advance.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
samba windows client sees foldes but has no right to write in folders bastian Linux Networking 2 04-08-2007 06:04 PM
Please help--WindowsXP cannot copy large files to Samba Chris Buckberry Linux Networking 2 10-16-2005 10:49 PM
Win CE connects to Samba but software fails to write data. Ward.Holloway.Jr@gmail.com Linux Networking 0 10-07-2005 07:14 PM
ex3 share write problem with samba 7 Linux Networking 2 08-22-2004 08:21 PM
Slow domain logins and slow file copy from XP clients Moses Gross Windows Networking 1 06-10-2004 01:47 AM



1 2 3 4 5 6 7 8 9 10 11