-
danmcd
First try the usual suspects, MTU and what-not.
-
danmcd
Also a usual suspect, what PI are you running?
-
sjorge
Depending on the guest OS, also look at the CC algorithm. We use (new?) reno, linux use cubic.
-
sjorge
I forgot what freebsd uses, but none of it was matching up at my HDC, swapped it all to cubic seems to have improved things.
-
tozhu
Hello all, question about network performance, I have machine run SmartOS with 10G NIC, and run a bhyve vm with vNIC on the 10G phy NIC, however, it work only 1G, may I know if there anything is incorrect? here is the details
pastebin.com/btiEeVYz
-
Smithx10
danmcd: mtu 9000, @sjorge bhyve guest is cubic
-
Smithx10
-
Guest32
hello! I'm running a VM on SmartOS which has a 600GB volume, but it is occupying around 1.4TB in ZFS. I already checked, and it isn't creating any kind of snapshot so I don't know exactly what is happening and if I can reclaim the disk space. does anyone here have an idea what this might be?
-
teutat3s
Guest32 (LIBERA-IRC): Is this on a raidz pool?
-
Guest32
yeah on a raidz3 pool
-
teutat3s
Then you're probably experiencing something like:
openzfs/zfs #548#issuecomment-3791251
-
teutat3s
TL;DR the volblocksize is probably 8K which leads to many padding blocks
-
teutat3s
The last comment in that issue has a summary of various comments on the topic. One possible solution could be creating a new volume with volblocksize=32K for that raidz3 pool
-
Guest32
alright, thank you for the information. I will take a look
-
danmcd
tozhu: Don't see the MTU anywhere in your gist.
-
tozhu
mtu is default, I think it’s 1500
-
tozhu
let me check
-
danmcd
@Smithx10 of course you're running the `mlxcx` branch of illumos-joyent build.
-
tozhu
danmcd: the mtu is 1500 on both machine
-
tozhu
I don’t think mtu is root cause that the 10G NIC work on 1G
-
tozhu
maybe some limit with smartos or bhyve
-
danmcd
So wait are you same-machine NFS-ing?
-
danmcd
(Re-read this.)
-
danmcd
(I re-read your gist, I mean.)
-
Smithx10
-
Smithx10
just running iperf3 from native zone getting the same perf as in GZ at 15gbps but bhyve is about 1/3 the speed at 5gbps. All iperf3 tests are going from Illumos CN -> Switch -> Linux Storage Server. All with the same hardware.
-
tozhu
danmcd: yes, the Bhyve VM is created on the host which is run SmartOS and nfs server by zfs create … -o sharenfs xxx ; Bhyve VM is running CentOS 7 with nfs client;
-
danmcd
-
danmcd
Your packets are never going out on the wire
-
tozhu
is there any workaround to slove it?
-
tozhu
or have to wait for the fix?
-
danmcd
@tozhu read the bug reports.
-
danmcd
There's an etc/system (or even `mdb -kw`) variable IIRC.
-
danmcd
sjorge can give you more details.
-
os10001
hi
-
os10001
thanks for smartos!
-
os10001
I need advice with ipnat.conf ...
-
os10001
I am on a single IP and want to nat an FTP server from a zone ...
-
os10001
the man page has something like
-
os10001
"port" port range port
-
os10001
I've tried lots of things ...
-
os10001
rt" port range port
-
os10001
what exactly does that mean
-
os10001
rdr e1000g0 from any to 144.76.69.252 port 65001-65100 -> 10.0.5.81
-
os10001
rdr e1000g0 from any to 144.76.69.252 port 65001:65100 -> 10.0.581
-
os10001
rdr e1000g0 from any to 144.76.69.252 port 65001 range 65100 -> 10.0.5.81
-
os10001
rdr e1000g0 from any to 144.76.69.252 port 65001 ... 65100 -> 10.0.5.81
-
os10001
I'm simply not getting it
-
os10001
what does the range between the port and port mean ?
-
danmcd
Port ranges are colon-separated low:high ranges of ports. E.g. `6001:65535`.
-
danmcd
A generic outbound NAT rule, e.g.:
-
danmcd
map igb1 10.19.84.0/23 -> X.Y.Z.NN/32 portmap tcp/udp 6001:65535
-
danmcd
(That's a made-up example entry for a line in /etc/ipf/ipnat.conf)
-
danmcd
FTP gets tricky because of it's wideranging port usage.
-
danmcd
(Same with NFS prior to NFSv4.)
-
nikolam
-
os10001
thanks, I'll try that
-
sjorge
danmcd: having sender and receive aligned CC algorithm wise just gave me more consistent performance
-
sjorge
i just double checked and ended with cubic and ecn active everywhere (host, zone, freebsd bhyve firewall/router, and linux vms)
-
tozhu
danmcd: Thank you
-
tozhu
danmcd: I’m going to use a new image to resolve this issue, Thank you