[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: FreeBSD smbfs horribly slow (update)
From: Mario Lobo <lobo () bsd ! com ! br>
Date: 2015-11-18 16:15:34
Message-ID: 20151118131534.4a317f33 () Papi
[Download RAW message or body]
This an update to my previous post.
Here are the test scenarios:
Daemon = custom app that is accessed via tcp,
and works on DBF/NTX files,
either locally or on a smb share.
The test involves several writing/deleting or updating
DBF/NTX records operations.
OBS - completion times may vary, but very little.
Case 1)
FBSD 10.2 running Daemon <---> Local Files
Test executed on the same machine were the daemon is running.
Completion: 3 seconds
case 2)
Daemon client <---> FBSD 10.2 running Daemon <---> Local Files
(whatever OS)
Test executed on the daemon client.
Completion: 3-4 seconds
case 3)
Daemon client <---> FBSD 10.2 running Daemon <---> FBSD (Samba 4.2)
(whatever OS)
Test executed on the daemon client.
The daemon server mounts the share via mount_smbfs
Completion: 3 minutes and 50 seconds (aprox.)
case 4)
Daemon client <---> FBSD 10.2 running Daemon <---> LINUX (Samba 3.6)
(whatever OS)
Test executed on the daemon client.
The daemon server mounts the share via mount_smbfs
Completion: 3 minutes and 47 seconds (aprox.)
case 5)
Daemon client <---> CENTOS 7 running Daemon <---> LINUX (Samba 3.6)
(whatever OS)
Test executed on the daemon client.
The daemon server mounts the share via cifs
Completion: 5-6 seconds
case 5)
Daemon client <---> CENTOS 7 running Daemon <---> FBSD (Samba 4.2)
(whatever OS)
Test executed on the daemon client.
The daemon server mounts the share via cifs
Completion: 5-6 seconds
CONCLUSION:
When copying several files to the share via mount_smbfs
(i.e. overwriting the DBF/NTX to rerun the test), I can
get 20/40 mbps, with a few 300/400k hiccups in between,
but for doing "little record" operations like those involved
in DBF/NTX, the cifs client outperforms mount_smbfs client
by an enormous factor.
--
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio.... YET!!]
"UNIX was not designed to stop you from doing stupid things,
because that would also stop you from doing clever things."
--
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio.... YET!!]
"UNIX was not designed to stop you from doing stupid things,
because that would also stop you from doing clever things."
_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic