Hi George,
Spent several hours researching this one - can't find a solution. I hope someone here can hit me with a clue-by-four.
CentOS 6.3 64-bit virtual running under VMware 2.0.2 fresh install with FTP/Samba/NFS running. I copied 500+GB of data from the old computer to the new one using NFS at full network speed (11+ MB/sec). Life's good.
Now here it is a day later, and my samba write speed is a blazing 80KB/sec (up from 40KB/s when I started troubleshooting). I read samba should approach FTP speed and I verified it does - FTP writes to the new machine at about the same speed. Reads still take place a full speed (now it's on a 1Gbps network) - 33MB/sec. Writes . . . 99.8% slower. I did not have this problem on the previous samba server (CentOS 4.8 32-bit).
I added memory (it now has 1GB RAM, 1 GB swap) and it has 2 CPU's. This had no effect.
In summary, NFS works at full speed both ways. Samba/FTP are fast on reads but snail slow on writes.
My next thought is to install ClearOS, test it, and copy their smb.conf. Or install CentOS 5.x and see if it has the same problems.
Any ideas where to look on this one? smb.conf necessary.
--
Regards,
George Toft
On a Linux host computer, VMware ESX Server can automatically install and configure a Samba server to act as a file server for Microsoft Windows guest operating systems. You can then use Windows Explorer in the virtual machine to move and copy files between virtual machine and host — or between virtual machines on the same network — just as you would with files on physical computers that share a network connection.
The lightly modified Samba server installed by VMware ESX Server runs over the VMware ESX Server virtual Ethernet and the Samba traffic between different operating systems is isolated from actual local area networks. The source code diffs for the changes, based on Samba 2.0.6, are available from VMware.
You may add user names and passwords to the VMware ESX Server Samba password file at any time from a terminal window on your Linux host computer.
where <username> is the user name you want to add.
Note: vmware-smbpasswd is based on the standard Samba password program. If you are familiar with the options used in smbpasswd, you may use any of them in vmware-smbpasswd.
If you receive an error message that says Unknown virtual interface "vmnet1", this indicates your machine is not using the VMware ESX Server Samba server. If your installation of VMware ESX Server does not include the VMware ESX Server Samba server and you want to set it up, log in to the root account on your host computer, then run vmware-config.pl from a terminal window on the host. When the configuration script asks Do you want this script to automatically configure your system to allow your virtual machines to access the host file system?, answer Yes.
If you already have Samba configured on your Linux host, the recommended approach is to modify that configuration so it includes the IP subnet used by the VMware ESX Server virtual Ethernet adapter, VMnet1. In this case, you should not install the VMware ESX Server Samba server when you are installing VMware ESX Server on your host. When the configuration script prompts you Do you want this script to automatically configure your system to allow your virtual machines to access the host file system?, answer No.
To determine what subnet is being used by VMnet1, run /sbin/ifconfig vmnet1.
It may also be possible to run both your existing Samba server and the VMware ESX Server Samba server at the same time. In order to do this, your current Samba server must be version 2.0.6 or higher and must be configured correctly.
To determine the version of your Samba server, run
smbd -V