writing to cifs share 300 mbps slower then nfs share

Posted on

Hello All,

We have a NetApp hosting shares. We originally had the share set up for NFS and I was able to write to the share from my RHEL 7 server at about 350-450 mbps. Unfortunately, our other devices can not connect to this share with the NFS protocol so we had to change it to a CIFS share, after mounting it as a CIFS share on our RHEL 7 server im now only able to write at 100-180 mpbs.
Im using the same exact server and the same exact commands and see this huge difference. Iv run the command about 4-5 times to get the most accurate results. This is a fresh server with no workloads on it at the moment.

Iv been searching online for 3 days to find a solution but cant find out why this performance is so much lower after switching to CIFS.

Contents of /etc/fstab:
//server_IP/share /mnt/share cifs credentials=/root/.smb_cred,vers=3.0 0 0

The command used to test write speeds:
dd if=/dev/zero of=/mnt/share/test.img bs=1G count=1 oflag=dsync

Responses