Network performance - SAMBA - NFS June 29, 2016 12:01PM |
Admin Registered: 13 years ago Posts: 19,200 |
Re: Network performance - SAMBA - NFS June 29, 2016 12:17PM |
Registered: 10 years ago Posts: 1,037 |
dd if=/dev/urandom of=bigfile bs=512 count=1000000
uname -ar
time cp bigfile /mnt/samba/server/share #where /mnt/samba/server/share = your mounted share
time cp bigfile /mnt/nfs/server/share #where /mnt/nfs/server/share = your mounted shareThe "time" command will tell you how long it took.
time cp /mnt/samba/server/share/bigfile . #where /mnt/samba/server/share = your mounted share
time cp /mnt/nfs/server/share/bigfile . #where /mnt/nfs/server/share = your mounted shareThe "time" command will tell you how long it took.
Re: Network performance - SAMBA - NFS June 29, 2016 11:40PM |
Admin Registered: 13 years ago Posts: 19,200 |
time cp /mnt/samba/server/share/bigfile . #where /mnt/samba/server/share = your mounted share time cp /mnt/nfs/server/share/bigfile . #where /mnt/nfs/server/share = your mounted share
Re: Network performance - SAMBA - NFS June 30, 2016 02:12AM |
Registered: 11 years ago Posts: 169 |
Re: Network performance - SAMBA - NFS June 30, 2016 06:21AM |
Registered: 11 years ago Posts: 169 |
01:01:05 ~$ dd if=/dev/urandom of=bigfile bs=512 count=1000000 1000000+0 records in 1000000+0 records out 512000000 bytes transferred in 42.935120 secs (11924970 bytes/sec) 01:07:31 ~$ time cp bigfile /Volumes/Scans/ real 2m7.070s user 0m0.004s sys 0m0.607s 01:09:42 ~$ time cp /Volumes/Scans/bigfile ./bigfile.down real 0m46.476s user 0m0.005s sys 0m1.198s 01:12:58 ~$
root@lms:~# uname -ar Linux lms 3.2.0-4-kirkwood #1 Debian 3.2.78-1 armv5tel GNU/Linux
#======================= Global Settings ======================= [global] workgroup = WORKGROUP server string = %h server dns proxy = no log level = 0 syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 syslog only = yes panic action = /usr/share/samba/panic-action %d encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes unix password sync = no passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . pam password change = yes socket options = TCP_NODELAY IPTOS_LOWDELAY guest account = nobody load printers = no disable spoolss = yes printing = bsd printcap name = /dev/null unix extensions = yes wide links = no create mask = 0777 directory mask = 0777 map to guest = Bad User use sendfile = yes aio read size = 16384 aio write size = 16384 null passwords = no local master = yes time server = no wins support = no #======================= Share Definitions ======================= [Scans] path = /media/6c76167f-2d6d-4453-b79b-c79a57e5e948/Scans/ guest ok = yes read only = no browseable = yes inherit acls = yes inherit permissions = no ea support = no store dos attributes = no printable = no create mask = 0755 force create mode = 0644 directory mask = 0755 force directory mode = 0755 hide dot files = yes read list = write list =
Re: Network performance - SAMBA - NFS July 02, 2016 04:22AM |
Registered: 10 years ago Posts: 1,037 |
Linux Smurfville 3.16.0-kirkwood-tld-3 #2 PREEMPT Sat Sep 27 02:01:41 PDT 2014 armv5tel GNU/Linux
dd if=/dev/urandom of=bigfile bs=512 count=1000000time cp bigfile /mnt/network/Backups/
real 0m35.817s user 0m0.060s sys 0m9.010stime cp /mnt/network/Backups/bigfile .
real 0m27.336s user 0m0.030s sys 0m13.330s
dd if=/dev/urandom of=bigfile bs=512 count=1000000time cp bigfile /mnt/network/samba/
real 0m35.387s user 0m0.070s sys 0m9.160stime cp /mnt/network/samba/bigfile .
real 0m26.752s user 0m0.080s sys 0m13.070s
Re: Network performance - SAMBA - NFS July 02, 2016 07:17AM |
Admin Registered: 13 years ago Posts: 19,200 |
Re: Network performance - SAMBA - NFS July 02, 2016 01:53PM |
Registered: 10 years ago Posts: 1,037 |
Re: Network performance - SAMBA - NFS July 02, 2016 05:31PM |
Registered: 10 years ago Posts: 1,037 |
Linux HP5325 4.6.0-kirkwood-tld-1 #1 PREEMPT Wed May 18 03:54:14 PDT 2016 armv5tel GNU/Linux
dd if=/dev/urandom of=bigfile bs=512 count=1000000time cp bigfile /mnt/network/nfs/Backups
real 0m51.342s user 0m0.040s sys 0m6.800stime cp /mnt/network/nfs/Backups/bigfile .
real 0m43.917s user 0m0.020s sys 0m11.450s
dd if=/dev/urandom of=bigfile bs=512 count=1000000time cp bigfile /mnt/network/samba
real 0m48.287s user 0m0.000s sys 0m7.630stime cp /mnt/network/samba/bigfile .
real 0m48.146s user 0m0.030s sys 0m9.210s
Re: Network performance - SAMBA - NFS July 02, 2016 11:25PM |
Admin Registered: 13 years ago Posts: 19,200 |
Re: Network performance - SAMBA - NFS July 04, 2016 01:57PM |
Registered: 10 years ago Posts: 1,037 |
Re: Network performance - SAMBA - NFS July 05, 2016 12:01AM |
Admin Registered: 13 years ago Posts: 19,200 |
Re: Network performance - SAMBA - NFS June 30, 2017 10:50PM |
Registered: 8 years ago Posts: 11 |
Linux IQ2700i 4.11.3-kirkwood-tld-2 #1 PREEMPT Tue Jun 6 17:01:17 PDT 2017 armv5tel GNU/Linux # cat /etc/debian_version 8.8
ethstats peak (100% CPU usage on NAS): egiga0: 10.54 Mb/s In 394.53 Mb/s Out - 17013.5 p/s In 32729.7 p/s Out iStats Menu Meters (Mac Pro 2008 10.12.5): 51.8MB/s peak - avg ~42MB/s
ethstats peak (100% CPU usage on NAS load avg 9.40): egiga0: 260.46 Mb/s In 1.16 Mb/s Out - 21890.0 p/s In 1020.0 p/s Out iStats Menu Meters (Mac Pro 2008 10.12.5): 33.3MB/s peak - avg ~29MB/s
MacPro:Desktop ludacrisvp$ dd if=/dev/urandom of=bigfile bs=512 count=1000000 1000000+0 records in 1000000+0 records out 512000000 bytes transferred in 47.029512 secs (10886781 bytes/sec)
MacPro:Desktop ludacrisvp$ time cp bigfile /Volumes/data/ real 0m13.919s user 0m0.006s sys 0m2.048s egiga0: 306.75 Mb/s In 1.24 Mb/s Out - 25631.3 p/s In 1125.1 p/s Out
MacPro:Desktop ludacrisvp$ time cp /Volumes/data/bigfile ./bigfile.down real 0m10.627s user 0m0.006s sys 0m1.223s egiga0: 6.92 Mb/s In 257.74 Mb/s Out - 11142.1 p/s In 21374.0 p/s Out
Re: Network performance - SAMBA - NFS January 06, 2025 02:06PM |
Admin Registered: 13 years ago Posts: 19,200 |
Linux version 6.12.6-kirkwood-tld-1 Debian 12.8The /etc/smb.conf on each of these 2 boxes is the Debian maintainer version (unchanged, except for Shares definition).
root@HomeMedia2:/media/HOME# dd if=/dev/urandom of=bigfile bs=512 count=1000000(bigfile2 and bigfile are identical)
root@HomeMedia2:/media/HOME# time cp bigfile /mnt/homemedia1/Misc/ &real 0m26.806s
root@HomeMedia2:/media/HOME/Misc# time cp /mnt/homemedia1/Misc/bigfile2 . &real 0m42.642s
root@HomeMedia1:/media/HOME/Misc# time cp bigfile2 /mnt/homemedia2/Misc/ &real 0m25.306s
root@HomeMedia1:/media/HOME/Misc# time cp /mnt/homemedia2/Misc/bigfile2 . &real 0m42.653s
Re: Network performance - SAMBA - NFS January 06, 2025 06:05PM |
Registered: 5 weeks ago Posts: 18 |
# uname -rm 6.12.6-kirkwood-tld-1 armv5tel # cat /etc/debian_version 12.8
mac$ dd if=/dev/urandom of=bigfile bs=512 count=1000000 1000000+0 records in 1000000+0 records out 512000000 bytes transferred in 2.103410 secs (243414265 bytes/sec) mac$ time cp bigfile /Volumes/gfn_vol1/ real 0m28.436s user 0m0.003s sys 0m1.115s mac$ time cp /Volumes/gfn_vol1/bigfile bigfile.down real 0m21.279s user 0m0.003s sys 0m0.860s mac$ rm /Volumes/gfn_vol1/bigfile
m300$ uname -rm 6.12.6-kirkwood-tld-1 armv5tel m300$ cat /etc/debian_version 12.8 m300$ dd if=/dev/urandom of=bigfile bs=512 count=1000000 1000000+0 records in 1000000+0 records out 512000000 bytes (512 MB, 488 MiB) copied, 33.3406 s, 15.4 MB/s m300$ time cp bigfile /nfs/gfn_vol1/ real 0m38.865s user 0m0.002s sys 0m7.409s m300$ time cp /nfs/gfn_vol1/bigfile bigfile.down real 0m26.832s user 0m0.001s sys 0m9.741s
Re: Network performance - SAMBA - NFS January 06, 2025 08:05PM |
Admin Registered: 13 years ago Posts: 19,200 |
Quote
m300$ time cp bigfile /nfs/gfn_vol1/
real 0m38.865s
user 0m0.002s
sys 0m7.409s
m300$ time cp /nfs/gfn_vol1/bigfile bigfile.down
real 0m26.832s
user 0m0.001s
sys 0m9.741s