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 Wed, 3 Feb 2021, BERTRAND Joël wrote:

	Thus, NetBSD initiator only reaches 1/10th of the throughput obtained
by Linux. Bottleneck is iscsi initiator implementation on NetBSD side.


Yes. I see what you mean. Some tuning certainly is required. Maybe
Michael can help. I installed istgt from packages and configured
it to use a raw partition on my disk as the SCSI target disk. Then,
with everything running on localhost, I'm getting only ~9MB/sec
while doing a:

$ sudo dd if=/dev/sd0 of=/dev/null bs=1m count=100
100+0 records in
100+0 records out
104857600 bytes transferred in 11.883 secs (8824168 bytes/sec)

If I use the raw disk, I get:
$ sudo dd if=/dev/rsd0 of=/dev/null bs=1m count=1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 9.722 secs (107855996 bytes/sec)

Performance close to reading the raw /dev/rdkN partition underlying it.

If I mount /dev/sd0 (an ext2fs partition) and read a file, I get:

$ sudo dd if=/mnt/tmp/noto-ttf-20170410.tgz of=/dev/null bs=1m
775+1 records in
775+1 records out
813225648 bytes transferred in 7.803 secs (104219613 bytes/sec)

Again, good performance.

-RVP


Home | Main Index | Thread Index | Old Index