NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Network very very slow... was iSCSI and jumbo frames



On Thu, 4 Feb 2021, BERTRAND Joël wrote:

Michael van Elst a écrit :
Over a real network with higher latencies than loopback the effect
is much larger, especially for reading,

	Sure. But since Linux initiator can reach more than 100 MBps, NetBSD
should obtain a throughout grater than 10 MBps with the same target...

Apart from reading the /dev/sd0 case--which Michael explained--both
my tests and his show that the standard iSCSI initiator should be able
to saturate a 1Gbps link. And, this was with the standard config. files
ie. no special customization. You could do the same test yourself on one
of the partitions on `legendre' using the istgt target.

The low bandwith is something specific to your setup, I think.
Do you have any firewalling/filtering being done on legendre on wm0?

And I would have said this was a bit odd too, but, since the Linux
client is able to pull 100MBPS through legendre, I guess it is OK:

legendre:[~] > ifconfig wm0
wm0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 9000
        capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
        capabilities=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
        capabilities=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
        enabled=0
        ec_capabilities=17<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,EEE>
        ec_enabled=2<VLAN_HWTAGGING>
        address: b4:96:91:92:77:6e
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet 192.168.12.1/24 broadcast 192.168.12.255 flags 0x0
        inet6 fe80::b696:91ff:fe92:776e%wm0/64 flags 0x0 scopeid 0x1

Look at the `enabled' and `ec_enabled' capabilities. Most of them are
off. Not sure if they make much of a difference...

-RVP


Home | Main Index | Thread Index | Old Index