Gigabit Ethernet Performance Issues (Solved: The cause was SSHFS.)
Haha!
I think I figured it out, the problem was SSHFS (which, in hindsight, should have
been at least an obvious suspect). While it might be very convenient to use (and
nicely secured due to SSH, at least AFAIK), you take a hard performance hit when
copying from a share mounted via SSHFS. I recall reading something about this a
while back, but had forgotten about it unfortunately.
Anyway, the numbers:
-
SSHFS, direct connection between machines: sustained about
200 Mbit/s to 230 Mbit/s from server to laptop, and about 90 Mbit/s
from laptop to server. I can only guess that this is because traffic
needs to be encrypted before sending, and the laptop has a much less
performant CPU than ZEUS. I'm not an expert on the inner workings of
SSH though, so feel free to correct me if I'm wrong on that one.
Interestingly, CPU usage does not really spike during this, so I'm
still not 100% certain what's going on. To be sure I also tested
with different cables, it was always the same result.
- So I tried out going via NFS4, connection via switches: Sustained a
breezy 600 Mbit/s to 650 Mbit/s from server to laptop, which is
actually about the read limit of my ZFS pool at the moment, so I
think the network is OK.
SSHFS is awesome, but you take a serious performance hit when copying
large amounts of data (presumably due to the encryption). With NFS I
can at least reach the limit of my disk array for the time being, so I
consider my network performance issues resolved.
Now the only thing to consider is if I really need more ports.
Thanks for the help everyone, much appreciated!
EDIT: Renamed topic to something more useful in case anyone else
ever comes across this.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now