Some additional performance measurements with dd...

speed test with /dev/zero

upload/write:
dd if=/dev/zero of=/mnt/cifs_media/test.iso bs=10M count=400 
400+0 records in
400+0 records out
4194304000 bytes (4,2 GB, 3,9 GiB) copied, 40,4893 s, 104 MB/s

download/read:
dd if=/mnt/cifs_media/test.iso of=/dev/zero bs=10M
400+0 records in
400+0 records out
4194304000 bytes (4,2 GB, 3,9 GiB) copied, 37,393 s, 112 MB/s


More practical up- and download speeds

upload:
dd if=/home/me/file.iso of=/mnt/cifs_media/file.iso bs=10M
767+1 records in
767+1 records out
8048736256 bytes (8,0 GB, 7,5 GiB) copied, 93,209 s, 86,4 MB/s

download:
dd if=/mnt/cifs_media/file.iso of=/home/me/file2.iso bs=10M
767+1 records in
767+1 records out
8048736256 bytes (8,0 GB, 7,5 GiB) copied, 81,2462 s, 99,1 MB/s

So cifs and other underlying systems and hardware seem to be capable to
use maximum speed.

But more important, if I lower bs, the speed drops down really hard.
Upload with bs=...
- Default (512) -> 830 kB/s
- 4096 -> 6,2 MB/s

So maybe the file managers and rsync or their underlying systems are
using these small bs?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1782535

Title:
  cifs - poor upload speed with nautilus compared to rsync

Status in nautilus package in Ubuntu:
  New

Bug description:
  I'm mounting folders from my NAS on my computer (Ubuntu 18.04) with
  cifs. Copying an 8 GB file...

  Upload (local -> mounted)
  - Nautilus/Nemo -> 6 MB/s
  - rsync -> 50-60 MB/s

  Download performance is also strange, but not my biggest concern.
  Download (mounted -> local)
  - Nautilus/Nemo -> 90 MB/s
  - rsync -> 50-60 MB/s

  rsync command (upload):
  rsync --progress /home/me/file.iso /mnt/cifs_media/

  fstab entry:
  //nas/media /mnt/cifs_media cifs 
vers=3.0,uid=me,gid=me,credentials=/home/me/.smbcredentials,dir_mode=0700,file_mode=0700
 0 0

  Any idea, why Nautilus is uploading up to 10 times more slowly than
  rsync, although both using the same cifs, os, hardware, network etc.?

  PS: Further info for bug report
  1) The release of Ubuntu: Ubuntu 18.04 LTS
  2) The version of the package: Nautilus 3.26.3
  3) What you expected to happen: At least same speed as with using rsync
  4) What happened instead: See above

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1782535/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to