Sample tcpdump for such a connection : Notice that there are only couple of 1KB chunks for each millisecond :
18:50:57.948157 IP 192.168.0.100.4366 > 192.168.0.104.445: P 2184:3276(1092) ack 103 win 64719 18:50:57.948374 IP 192.168.0.104.445 > 192.168.0.100.4366: P 103:154(51) ack 3276 win 65535 18:50:57.948897 IP 192.168.0.100.4366 > 192.168.0.104.445: P 3276:4368(1092) ack 154 win 64668 18:50:57.949074 IP 192.168.0.104.445 > 192.168.0.100.4366: P 154:205(51) ack 4368 win 65535 18:50:57.949615 IP 192.168.0.100.4366 > 192.168.0.104.445: P 4368:5460(1092) ack 205 win 64617 18:50:57.949831 IP 192.168.0.104.445 > 192.168.0.100.4366: P 205:256(51) ack 5460 win 65535 18:50:57.950437 IP 192.168.0.100.4366 > 192.168.0.104.445: P 5460:6552(1092) ack 256 win 64566 18:50:57.950649 IP 192.168.0.104.445 > 192.168.0.100.4366: P 256:307(51) ack 6552 win 65535 18:50:57.951152 IP 192.168.0.100.4366 > 192.168.0.104.445: P 6552:7644(1092) ack 307 win 64515 18:50:57.951389 IP 192.168.0.104.445 > 192.168.0.100.4366: P 307:358(51) ack 7644 win 65535 18:50:57.951911 IP 192.168.0.100.4366 > 192.168.0.104.445: P 7644:8736(1092) ack 358 win 64464 18:50:57.952090 IP 192.168.0.104.445 > 192.168.0.100.4366: P 358:409(51) ack 8736 win 65535 18:50:57.952608 IP 192.168.0.100.4366 > 192.168.0.104.445: P 8736:9828(1092) ack 409 win 64413 18:50:57.952801 IP 192.168.0.104.445 > 192.168.0.100.4366: P 409:460(51) ack 9828 win 65535 18:50:57.953299 IP 192.168.0.100.4366 > 192.168.0.104.445: P 9828:10920(1092) ack 460 win 64362 18:50:57.953489 IP 192.168.0.104.445 > 192.168.0.100.4366: P 460:511(51) ack 10920 win 65535 18:50:57.954038 IP 192.168.0.100.4366 > 192.168.0.104.445: P 10920:12012(1092) ack 511 win 64311 18:50:57.954286 IP 192.168.0.104.445 > 192.168.0.100.4366: P 511:562(51) ack 12012 win 65535 18:50:57.954794 IP 192.168.0.100.4366 > 192.168.0.104.445: P 12012:13104(1092) ack 562 win 65535 18:50:57.954982 IP 192.168.0.104.445 > 192.168.0.100.4366: P 562:613(51) ack 13104 win 65535 18:50:57.955531 IP 192.168.0.100.4366 > 192.168.0.104.445: P 13104:14196(1092) ack 613 win 65484 18:50:57.955702 IP 192.168.0.104.445 > 192.168.0.100.4366: P 613:664(51) ack 14196 win 65535 18:50:57.956207 IP 192.168.0.100.4366 > 192.168.0.104.445: P 14196:15288(1092) ack 664 win 65433 18:50:57.956497 IP 192.168.0.104.445 > 192.168.0.100.4366: P 664:715(51) ack 15288 win 65535 18:50:57.956984 IP 192.168.0.100.4366 > 192.168.0.104.445: P 15288:16380(1092) ack 715 win 65382 18:50:57.957213 IP 192.168.0.104.445 > 192.168.0.100.4366: P 715:766(51) ack 16380 win 65535 18:50:57.957765 IP 192.168.0.100.4366 > 192.168.0.104.445: P 16380:17472(1092) ack 766 win 65331 18:50:57.957963 IP 192.168.0.104.445 > 192.168.0.100.4366: P 766:817(51) ack 17472 win 65535 18:50:57.958462 IP 192.168.0.100.4366 > 192.168.0.104.445: P 17472:18564(1092) ack 817 win 65280 18:50:57.958658 IP 192.168.0.104.445 > 192.168.0.100.4366: P 817:868(51) ack 18564 win 65535 18:50:57.959198 IP 192.168.0.100.4366 > 192.168.0.104.445: P 18564:19656(1092) ack 868 win 65229 18:50:57.959367 IP 192.168.0.104.445 > 192.168.0.100.4366: P 868:919(51) ack 19656 win 65535 18:50:57.959880 IP 192.168.0.100.4366 > 192.168.0.104.445: P 19656:20748(1092) ack 919 win 65178 Raghu A wrote: > > I mounted a samba volume on XP. XP and Ubuntu are connected over 100Mbps > ethernet (router). > > I am writing a 4GB file from XP to Ubuntu and the transfer is extremely > slow : only around 1-1.5 MB/s. > > This is not a network or disk issue since at the same time this transfer > is gonig on, I can scp the same file from XP to Ubuntu at 3-4 times faster > (around 6MB/s). > > What could be wrong? Even for this slow transfer, smbd seems to be taking > quite a bit CPU (more than sshd for the transfer rate). > > -- View this message in context: http://www.nabble.com/Very-slow-transfers-to-Samba-on-Ubuntu-tp24168452p24178268.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
