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



RVP a écrit :
> On Sat, 6 Feb 2021, BERTRAND Joël wrote:
> 
>> iperf Done.
>>
> 
> Thanks for those tests.

	You're welcome.

>>     But with these both tests and 3st one when Linux acts as initiator, I
>> think we can exclude an issue in NAS.
>>
> 
> Yes--if there isn't something in the way: which is what I'm trying to
> determine. Can you also post:
> 
> 1. ps -aux (euclide & legendre)

euclide:
[~] # ps aux
  PID  Uid     VmSize Stat Command
    1 admin      1396 S   init
    2 admin           SW  [kthreadd]
    3 admin           SW  [ksoftirqd/0]
    5 admin           SW< [kworker/0:0H]
    7 admin           SW  [rcu_sched]
    8 admin           SW  [rcu_bh]
    9 admin           SW  [migration/0]
   10 admin           SW  [migration/1]
   11 admin           SW  [ksoftirqd/1]
   13 admin           SW< [kworker/1:0H]
   14 admin           SW  [migration/2]
   15 admin           SW  [ksoftirqd/2]
   17 admin           SW< [kworker/2:0H]
   18 admin           SW  [migration/3]
   19 admin           SW  [ksoftirqd/3]
   21 admin           SW< [kworker/3:0H]
   22 admin           SW< [khelper]
   23 admin           SW  [kdevtmpfs]
   24 admin           SW< [netns]
   25 admin           SW< [perf]
   26 admin           SW< [writeback]
   27 admin           SW< [crypto]
   29 admin           SW< [kintegrityd]
   30 admin           SW< [bioset]
   31 admin           SW< [kblockd]
   35 admin           SW< [ata_sff]
   36 admin           SW< [md]
   37 admin           SW< [rpciod]
   38 admin           SW  [kswapd0]
   39 admin           SW  [fsnotify_mark]
   40 admin           SW  [ecryptfs-kthrea]
   41 admin           SW< [nfsiod]
   42 admin           SW< [cifsiod]
   80 admin           SW< [kthrotld]
   81 admin           SW< [nvme]
   82 admin           SW  [irq/226-ahci0]
   83 admin           SW  [irq/227-ahci1]
   84 admin           SW  [irq/228-ahci2]
   85 admin           SW  [irq/229-ahci3]
   86 admin           SW  [scsi_eh_0]
   87 admin           SW< [scsi_tmf_0]
   88 admin           SW  [scsi_eh_1]
   89 admin           SW< [scsi_tmf_1]
   90 admin           SW  [scsi_eh_2]
   91 admin           SW< [scsi_tmf_2]
   92 admin           SW  [scsi_eh_3]
   93 admin           SW< [scsi_tmf_3]
   94 admin           SW  [spi0]
   99 admin           SW< [raid5wq]
  100 admin           SW< [dm-block-clone]
  101 admin           SW< [dm_bufio_cache]
  102 admin           SW< [kmpathd]
  103 admin           SW< [kmpath_handlerd]
  129 admin           SW< [deferwq]
  298 admin           SW< [bioset]
  299 admin           SW< [kcopyd]
  300 admin           SW< [bioset]
  301 admin           SW< [kcopyd_tracked]
  302 admin           SW< [bioset]
  380 admin      1092 S < udevd --daemon
  529 admin           SW< [kworker/3:1H]
  534 admin           SW< [kworker/1:1H]
  561 admin           SW< [kworker/0:1H]
  564 admin           SW< [kworker/2:1H]
  632 admin           SW< [bioset]
  633 admin           SW  [md9_raid1]
  645 admin           SW  [jbd2/md9-8]
  646 admin           SW< [ext4-rsv-conver]
  661 admin           SW< [bioset]
  662 admin           SW  [md13_raid1]
  782 admin      9504 S   /sbin/hal_daemon -f
  825 admin           SW< [bioset]
  826 admin           SW  [md256_raid1]
  895 admin           SW< [bioset]
  896 admin           SW  [md322_raid1]
  929 admin           SW< [bioset]
  930 admin           RW  [md1_raid6]
 1028 admin           SW< [kdmflush]
 1030 admin           SW< [bioset]
 1032 admin           SW< [kdmflush]
 1034 admin           SW< [bioset]
 1036 admin           SW< [kdmflush]
 1038 admin           SW< [bioset]
 1040 admin           SW< [kdmflush]
 1041 admin           SW< [bioset]
 1045 admin           SW< [kdmflush]
 1053 admin           SW< [bioset]
 1056 admin           SW< [kdmflush]
 1059 admin           SW< [bioset]
 1060 admin           SW< [kcopyd]
 1061 admin           SW< [bioset]
 1062 admin           SW< [dm-thin]
 1063 admin           SW< [dm-thin-paralle]
 1064 admin           SW< [dm-convert-thin]
 1065 admin           SW< [dm-tier]
 1066 admin           SW< [dm-tier]
 1067 admin           SW< [dm-tier]
 1068 admin           SW< [dm-tier]
 1069 admin           SW< [dm-tier-discard]
 1070 admin           SW< [kcopyd]
 1071 admin           SW< [bioset]
 1072 admin           SW< [dm-tier-cache-t]
 1073 admin           SW< [bioset]
 1076 admin           SW< [kdmflush]
 1078 admin           SW< [bioset]
 1082 admin           SW< [kdmflush]
 1084 admin           SW< [bioset]
 1338 admin           SW< [kdmflush]
 1339 admin           SW< [bioset]
 1413 admin      1624 S   /sbin/lvmetad
 1619 admin           SW  [jbd2/md13-8]
 1620 admin           SW< [ext4-rsv-conver]
 2011 admin           SW  [notify thread]
 2019 admin       316 S < qWatchdogd: keeping alive every 1 seconds...
 2158 admin           SW< [ipv6_addrconf]
 2317 admin       896 S   /sbin/netwatchdog -d
 2353 admin      3168 S   /sbin/cs_daemon
 2366 admin      3688 S   /sbin/cs_qdaemon
 2463 admin      5220 R   sshd: admin@pts/0

 2608 admin      2444 S   -sh
 2673 admin      2088 S   /sbin/modagent
 3392 admin           SW  [kworker/0:1]
 3466 admin       952 S   /usr/local/network/bin/logrotate
/var/log/network/err
 3468 admin       440 S   tail -f /var/log/network/err_log
 3469 admin       256 S   /usr/local/network/bin/logrotate
/var/log/network/eve
 3470 admin       412 S   tail -f /var/log/network/events_log
 3843 admin           SW  [kworker/2:1]
 3851 admin     28964 S   /mnt/ext/opt/Python/bin/python ./manage.pyc
runfcgi m
 3890 admin      1564 S   /mnt/ext/opt/netmgr/util/redis/redis-server
*:0
 3901 admin     23076 S   /mnt/ext/opt/Python/bin/python
/mnt/ext/opt/netmgr/ap
 4166 admin           SW< [bond0]
 4169 admin           SW< [bond1]
 4331 admin       432 S   /bin/sleep 1
 4337 admin      1600 R   ps aux
 4389 admin           SW  [kworker/1:1]
 4976 admin        84 S   /sbin/rdnssd -r /var/lib/rdnssd/ -p
/var/run/network/
 4977 admin      1180 S   /sbin/rdnssd -r /var/lib/rdnssd/ -p
/var/run/network/
 4989 admin      7160 S   /usr/local/bin/ifd
 5057 admin     13688 S   python /usr/local/network/nmd/nmd.pyc
 5064 admin     10464 S   python /usr/local/network/nmd/nmd.pyc
 5065 admin     11528 S   python /usr/local/network/nmd/nmd.pyc
 5233 admin     11704 S   python /usr/local/network/nmd/nmd.pyc
 5234 admin     11812 S   python /usr/local/network/nmd/nmd.pyc
 5235 admin     11380 S   python /usr/local/network/nmd/nmd.pyc
 5236 admin     10272 S   python /usr/local/network/nmd/nmd.pyc
 5238 admin     11308 S   python /usr/local/network/nmd/nmd.pyc
 5239 admin     11300 S   python /usr/local/network/nmd/nmd.pyc
 5242 admin     10084 S   python /usr/local/network/nmd/nmd.pyc
 5243 admin      9832 S   python /usr/local/network/nmd/nmd.pyc
 5244 admin     11460 S   python /usr/local/network/nmd/nmd.pyc
 5246 admin      1880 S   /usr/local/bin/rates_monitor_start
 5291 admin      1196 S   /sbin/dnsmasq
 5610 admin     17464 S   /mnt/ext/opt/Python/bin/python
/mnt/ext/opt/netmgr/ap
 5942 admin           SW< [target_completi]
 5943 admin           SWN [tmr-rd_mcp]
 5944 admin           SWN [QNAP_rd_mcp_1]
 5946 admin           SWN [QNAPuwq_rd_mcp1]
 5947 admin           SWN [QNAPscwq_rd_mcp]
 5949 admin           SWN [QNAPrwq_rd_mcp1]
 5951 admin           SWN [QNAPodx_rd_mcp1]
 5953 admin           SW< [xcopy_wq]
 5968 admin           SW< [acl_notify_info]
 6040 admin           SW< [tmr-fileio]
 6041 admin           SW< [QNAP_fileio_2]
 6042 admin           SW< [QNAPuwq_fileio2]
 6043 admin           SW< [QNAPscwq_fileio]
 6046 admin           SW< [QNAPrwq_fileio2]
 6048 admin           SW< [QNAPodx_fileio2]
 6110 admin           SW  [iscsi_np]
 6134 admin      3144 S   /sbin/iscsi_logd
 6712 admin           SW< [iscsi_eh]
 6729 admin           SW  [qnap_et]
 6753 admin      1092 S   /sbin/iscsid
--config=/etc/config/iscsi/sbin/iscsid.c
 6754 admin      1860 S < /sbin/iscsid
--config=/etc/config/iscsi/sbin/iscsid.c
 6758 admin      3672 S   /sbin/vdd_control -d stderr
 6799 admin      5568 S   /sbin/qpkgd -d0
 7017 admin      2976 S   /usr/local/bin/ql_daemon -d 7
 7459 admin     22256 S   /usr/local/sbin/qulogdb
--defaults-file=/mnt/ext/opt/
 7510 admin      7212 S   /usr/local/sbin/qulogd
 7993 admin     23260 S   /usr/local/sbin/ncdb
--defaults-file=/mnt/ext/opt/Not
 8037 admin      1872 S   /usr/local/sbin/ncloud
 8054 admin     21232 S   /usr/local/sbin/ncd
 8850 admin           SW  [kworker/3:0]
 9416 guest      1216 S   /usr/sbin/dbus-daemon --system
 9767 admin      3844 S   /usr/local/sbin/Qthttpd -p 80 -nor -nos -u
admin -d /
 9884 admin      3780 S   /usr/local/sbin/_thttpd_ -p 58080 -nor -nos -u
admin
 9941 admin      7752 S   php-fpm: master process
(/etc/php-fpm-sys-proxy.conf)
 9942 admin      4208 S   php-fpm: pool www

 9944 admin      4208 S   php-fpm: pool www

 9992 admin      6144 S < /usr/local/apache/bin/apache_proxy -k start -f
/etc/a
10427 admin      4044 S   /usr/sbin/upsutil
10541 admin      2752 S   /usr/sbin/ntpdated
10566 admin      5036 S   /usr/sbin/sshd -f /etc/config/ssh/sshd_config
-p 22
10585 admin      6900 S   /usr/local/apache/bin/apache_proxys -k start
-f /etc/
10645 admin           SW< [kworker/u9:0]
10646 admin           SW< [kworker/u9:1]
10659 admin           SW  [kworker/2:0]
10790 admin      1504 S   /usr/sbin/crond -l 9 -c /tmp/cron/crontabs
10990 admin      3240 S   /usr/bin/lunportman
11044 admin      1512 S   /sbin/rfsd -i -f /etc/rfsd.conf
11058 admin      3596 S   /usr/local/bin/rfsd_qmonitor
-f:/tmp/rfsd_qmonitor.co
11625 admin      6220 S < /usr/local/apache/bin/apache_proxy -k start -f
/etc/a
11688 admin      2188 S   /usr/sbin/rsyslogd -f
/etc/rsyslog_only_klog.conf -c4
11993 admin      1432 S   /sbin/gen_bandwidth -r -i 5
12167 admin      3648 S   /sbin/qsyslogd
12169 admin      3976 S   /sbin/qShield
12172 admin      4624 S   qLogEngined: Write log is enabled...
12183 admin      2660 S   qNoticeEngined: Write notice is enabled...
12566 admin      4476 S   /usr/bin/qsnapman
12584 admin      4400 S   /usr/bin/qstorman
13479 admin      4900 S   /usr/bin/qsnapman-alive
14380 admin      4996 S   /usr/bin/qsnapman-smart
15071 admin      5120 S   /usr/bin/qsnapman-recyc
15235 admin      3496 S   /sbin/daemon_mgr
15694 admin      2268 S   /bin/sh /sbin/qdesk_soldier
18588 admin           SW  [kworker/u8:2]
18853 admin      2672 S   /usr/local/sbin/qboostd -b
19083 admin      3500 S < /usr/local/apache/bin/fcgi-pm      -k start -f
/etc/a
19105 admin      3696 S   /usr/local/apache/bin/fcgi-pm       -k start
-f /etc/
19112 admin      5980 S   /usr/local/apache/bin/apache_proxys -k start
-f /etc/
19555 admin      4688 S   /sbin/upnpcd -i 300
19687 admin           DWN [md1_resync]
19841 admin      1292 S   /sbin/getty 115200 ttyS0
20662 admin     11260 S   /sbin/bcclient
20802 admin           SW  [kworker/3:2]
25406 admin           SW  [kworker/1:2]
25674 admin           SW  [iscsi_ttx]
25675 admin           SW  [iscsi_trx]
29071 admin           SW  [kworker/0:2]
29857 admin      6180 S   /usr/sbin/dhclient -4 -nw -D CLID -cf
/etc/dhcp/dhcli
30040 admin      6064 S   /usr/sbin/dhclient -6 -nw -S -cf
/etc/dhcp/dh6dns.con
30073 admin           SW  [iscsi_np]
30078 admin           SW  [iscsi_np]
30325 admin           SW  [kworker/u8:0]
31080 admin           SW  [kworker/u8:1]
[~] # uptime
 09:21:36 up 3 days, 18:55, load average: 2.53, 2.48, 2.43

	Please note that euclide checks every sunday's its raid volume :

[~] # cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5]
[raid4] [multipath]
md1 : active raid6 sda3[0] sdd3[3] sdc3[2] sdb3[1]
      11701134336 blocks super 1.0 level 6, 512k chunk, algorithm 2
[4/4] [UUUU]
      [============>........]  resync = 61.1% (3577708544/5850567168)
finish=320.9min speed=118007K/sec

md322 : active raid1 sdd5[3](S) sdc5[2](S) sdb5[1] sda5[0]
      7235136 blocks super 1.0 [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

md256 : active raid1 sdd2[3](S) sdc2[2](S) sdb2[1] sda2[0]
      530112 blocks super 1.0 [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

md13 : active raid1 sda4[0] sdd4[3] sdc4[2] sdb4[1]
      458880 blocks super 1.0 [64/4]
[UUUU____________________________________________________________]
      bitmap: 1/1 pages [4KB], 65536KB chunk

md9 : active raid1 sda1[0] sdd1[3] sdc1[2] sdb1[1]
      530048 blocks super 1.0 [64/4]
[UUUU____________________________________________________________]
      bitmap: 1/1 pages [4KB], 65536KB chunk

unused devices: <none>

	When this action will stop, load average falls to 0.
This check doesn't affect iSCSI throughput.

legendre:

legendre:[~] > ps -aux
USER         PID %CPU %MEM    VSZ    RSS TTY    STAT  STARTED      TIME
COMMAND
squid         98  3,8  0,6 138912  93076 ?      Il   jeu.08PM   3:01.92
(squid-1) --kid squid-1 -Y -f /usr/pkg/etc/squid/squid.conf (squid)
root           0  0,0  0,1      0  22884 ?      OKl  jeu.08PM 133:38.70
[system]
root           1  0,0  0,0  23320   1608 ?      Ss   jeu.08PM   0:00.07
init
root          96  0,0  0,0  52400   6372 ?      Is   jeu.08PM   0:00.00
/usr/pkg/sbin/squid -Y -f /usr/pkg/etc/squid/squid.conf
www          200  0,0  0,0 119924   3496 ?      I    jeu.08PM   0:00.00
/usr/pkg/sbin/httpd -k start
pgsql        361  0,0  0,1 222888   8792 ?      Ss   jeu.08PM   0:02.91
postgres: walwriter
root         452  0,0  0,0  35508   4860 ?      S<s  jeu.08PM   3:23.45
/usr/pkg/sbin/openvpn --cd /usr/pkg/etc/openvpn --daemon --config rayleigh
root         461  0,0  0,0  35508   4916 ?      S<s  jeu.08PM   0:11.27
/usr/pkg/sbin/openvpn --cd /usr/pkg/etc/openvpn --daemon --config rayleigh
root         504  0,0  0,6 267276  91832 ?      Isl  jeu.08PM   0:51.17
/usr/sbin/named
root         634  0,0  0,0  19444   1488 ?      Ss   jeu.08PM   0:06.43
/usr/sbin/ypbind
root         638  0,0  0,0  32396   2360 ?      Ss   jeu.08PM   3:09.75
/usr/sbin/syslogd -s
bertrand     665  0,0  0,0  88076   4808 ?      S    ven.01PM   0:12.89
sshd: bertrand@pts/3 (sshd)
root         701  0,0  0,0  20340   1764 ?      Ss   jeu.08PM   0:02.94
/usr/sbin/rpcbind -l
root         709  0,0  0,0  20544   1896 ?      Ss   jeu.08PM   0:05.67
/usr/sbin/ypserv -d
root         785  0,0  0,0  22364   1580 ?      Is   jeu.08PM   0:00.21
/usr/sbin/rpc.yppasswdd
www          808  0,0  0,0 224528   5468 ?      I    jeu.08PM   0:00.01
/usr/pkg/sbin/httpd -k start
root         819  0,0  0,0  20300   1276 ?      I<s  jeu.08PM   0:00.00
/usr/sbin/altqd
root         918  0,0  0,0 118372   2728 ?      Ssl  jeu.08PM  78:01.33
/usr/sbin/nfsd -n 16
pgsql       1005  0,0  0,0 223540   6296 ?      Is   jeu.08PM   0:01.75
postgres: autovacuum launcher
pgsql       1061  0,0  0,5 222924  88500 ?      Ss   jeu.08PM   0:01.61
postgres: background writer
root        1326  0,0  0,0  20672   1724 ?      Ss   jeu.08PM   0:00.26
/usr/sbin/mountd
root        1387  0,0  0,0  20912   1920 ?      Ss   jeu.08PM   0:00.27
/usr/sbin/rpc.statd
root        1461  0,0  0,0  27608   1832 ?      Ss   jeu.08PM   5:02.13
/usr/sbin/rpc.lockd -g 5
root        1670  0,0  0,0 105536   7876 ?      Isl  jeu.08PM   0:00.73
/usr/sbin/dhcpd -q agr0 wm0
postfix     1742  0,0  0,0  58160   4372 ?      I    jeu.08PM   0:00.34
qmgr -l -t unix -u
root        1862  0,0  0,1 224508  14520 ?      Ss   jeu.08PM   0:06.90
/usr/pkg/sbin/httpd -k start
mysql       1931  0,0  0,0  15712   1496 ?      Is   jeu.08PM   0:00.02
logger -t nbmysqld_safe
root        1943  0,0  0,0  19704   1344 ?      Is   jeu.08PM   0:00.00
/usr/sbin/powerd
root        2019  0,0  0,0  20120   1564 ?      Is   jeu.08PM   0:00.00
/usr/sbin/lpd
root        2150  0,0  0,0  58124   2856 ?      Is   jeu.08PM   0:00.71
/usr/libexec/postfix/master -w
_rtadvd     2154  0,0  0,0  20196   1632 ?      Is   jeu.08PM   0:00.18
/usr/sbin/rtadvd agr0
squid       2169  0,0  0,0  37396   4072 ?      S    jeu.08PM   0:02.11
(pinger) (pinger)
root        2215  0,0  0,1  30712  16004 ?      Ss   jeu.08PM   0:11.32
/usr/sbin/ntpd -p /var/run/ntpd.pid
pgsql       2388  0,0  0,1 222844  18324 ?      Is   jeu.08PM   0:02.39
/usr/pkg/bin/postgres -D /var/postgresql/data
root        2492  0,0  0,0  21836   1892 ?      Is   jeu.08PM   0:00.02
/bin/sh /usr/pkg/bin/mysqld_safe --user=mysql --datadir=/var/mysql --pid-f
root        2543  0,0  0,0  69816   6376 ?      Isl  jeu.08PM  52:50.55
/usr/pkg/sbin/bacula-fd -c /usr/pkg/etc/bacula/bacula-fd.conf -g bacula
pgsql       2695  0,0  0,6 223208 104876 ?      Is   jeu.08PM   0:02.27
postgres: checkpointer
www         2863  0,0  0,0 224528   5468 ?      I    jeu.08PM   0:00.01
/usr/pkg/sbin/httpd -k start
root        2871  0,0  0,1  53920  11804 ?      Ss   jeu.08PM   0:11.48
/usr/pkg/bin/perl -wT /usr/pkg/sbin/munin-node
root        2907  0,0  0,0  71560   5988 ?      Is   jeu.08PM   0:00.05
/usr/sbin/sshd
root        3162  0,0  0,0  20216   1720 ?      Ss   jeu.08PM   0:00.66
/usr/sbin/cron
root        3184  0,0  0,0  27828   2404 ?      I    jeu.08PM   0:00.13
/usr/pkg/sbin/smartd -p /var/run/smartd.pid
root        3289  0,0  3,3 798220 542736 ?      Ssl  jeu.08PM   7:58.20
/usr/pkg/bin/istgt
bacula-dir  3377  0,0  0,0 106700   6860 ?      Ssl  jeu.08PM   0:02.10
/usr/pkg/sbin/bacula-dir -c /usr/pkg/etc/bacula/bacula-dir.conf -u bacula-
pgsql       3500  0,0  0,0  77428   4316 ?      Is   jeu.08PM   0:07.62
postgres: stats collector
pgsql       3536  0,0  0,0 223360   5660 ?      Is   jeu.08PM   0:00.11
postgres: logical replication launcher
www         3825  0,0  0,0 224528   5468 ?      I    jeu.08PM   0:00.01
/usr/pkg/sbin/httpd -k start
bacula-sd   3861  0,0  0,0  65736   6384 ?      Isl  jeu.08PM  34:02.12
/usr/pkg/sbin/bacula-sd -c /usr/pkg/etc/bacula/bacula-sd.conf -u bacula-sd
mysql       3922  0,0  1,2 611012 198180 ?      Il   jeu.08PM   0:39.55
/usr/pkg/sbin/mysqld --basedir=/usr/pkg --datadir=/var/mysql --plugin-dir=
www         3948  0,0  0,0 224528   5468 ?      I    jeu.08PM   0:00.01
/usr/pkg/sbin/httpd -k start
root        4146  0,0  0,0  26460   1908 ?      Isl  jeu.08PM   0:00.01
/sbin/iscsid
www         4594  0,0  0,0 224528   5468 ?      I    jeu.08PM   0:00.01
/usr/pkg/sbin/httpd -k start
root        4748  0,0  0,0  23928   1564 ?      Is   jeu.08PM   0:00.01
/usr/sbin/inetd -l
root        5272  0,0  0,0  88072   6664 ?      Is   ven.01PM   0:00.02
sshd: bertrand [priv]
postfix     6664  0,0  0,0  57908   4252 ?      I      8:41AM   0:00.02
pickup -l -t unix -u
root       11913  0,0  0,0  88072   6680 ?      Is    10:01AM   0:00.06
sshd: bertrand [priv]
bertrand   17166  0,0  0,0  88080   4768 ?      S     11:13AM   0:00.04
sshd: bertrand@pts/1 (sshd)
bertrand   20563  0,0  0,0  88076   4788 ?      I     10:01AM   0:00.05
sshd: bertrand@pts/0 (sshd)
root       20854  0,0  0,0  20340   1548 ?      Ss   ven.12PM   0:00.75
/sbin/blacklistd
bertrand   24092  0,0  0,0  88080   4768 ?      S    ven.12PM   0:11.74
sshd: bertrand@pts/2 (sshd)
root       27980  0,0  0,0  88076   6680 ?      Is   ven.12PM   0:00.06
sshd: bertrand [priv]
root       28903  0,0  0,0  88076   6664 ?      Is    11:13AM   0:00.06
sshd: bertrand [priv]
root         341  0,0  0,0  20472   2108 pts/0  I+    10:01AM   0:00.02 -sh
bertrand   21235  0,0  0,0  26568   3256 pts/0  Is    10:01AM   0:00.02
-bash
root       24003  0,0  0,0  68808   4416 pts/0  I<    10:01AM   0:00.16
su -
bertrand       5  0,0  0,0  23384   3276 pts/1  Ss    11:13AM   0:00.03
-bash
bertrand   24407  0,0  0,0  22148   1804 pts/1  O+     9:24AM   0:00.00
ps -aux
root       29494  0,0  0,0  17772   1376 pts/1- S    ven.06PM   0:07.62
/usr/pkg/sbin/estd -a -l 12 -h 25 -d
root       13376  0,0  0,0  20504   2124 pts/2  S    ven.12PM   0:22.31 -sh
bertrand   17062  0,0  0,0  23376   3252 pts/2  Is   ven.12PM   0:00.01
-bash
root       23792  0,0  0,0  17844   1428 pts/2  S+     9:24AM   0:00.00
sleep 1
root       26018  0,0  0,0  71248   4412 pts/2  I<   ven.12PM   0:00.16
su -
bertrand   24766  0,0  0,0  23384   3260 pts/3  Is   ven.01PM   0:00.31
-bash
bertrand   26132  0,0  0,0  24496   2304 pts/3  S+   ven.03PM   1:30.80 top
root        2489  0,0  0,0  19780   1616 ttyE0  Is+  jeu.08PM   0:00.00
/usr/libexec/getty Pc console
root        1366  0,0  0,0  19784   1624 ttyE1  Is+    7:31PM   0:00.00
/usr/libexec/getty Pc ttyE1
root        4033  0,0  0,0  19784   1624 ttyE2  Is+    7:25PM   0:00.00
/usr/libexec/getty Pc ttyE2
root        9033  0,0  0,0  19780   1612 ttyE3  Is+    7:15PM   0:00.00
/usr/libexec/getty Pc ttyE3
legendre:[~] > uptime
 9:24AM  up 2 days, 12:40, 4 users, load averages: 0.84, 1.63, 1.46

> 2. dmesg   (     "     )

euclide:

	Unfortunately, euclide writes a lot if information in dmesg. I don't
have early trace, but :

[ 1220.808681] iSCSI-Target perf_enhancement 0
[ 1220.846025] iSCSI Target Portal Group: 1 is already inactive,
ignoring request.
[ 1221.086338] FD: LIO(File I/O) + Block Backend: support fast clone
[ 1221.337271] __qnap_nl_log_rcv_msg: get log pid = 6134.
[ 1225.902581] No response for proposed key "DefaultTime2Wait".
[ 1225.908240] No response for proposed key "DefaultTime2Retain".
[ 1225.914134] No response for proposed key "MaxOutstandingR2T".
[ 5729.882476] al_eth 0000:00:01.0 eth0: Link is Down
[ 5756.882656] eth [al_eth_0]: set link speed to 1000Mbps. full duplex.
[ 5756.889014] al_eth 0000:00:01.0 eth0: Link is Up - 1Gbps/Full - flow
control rx/tx
[ 5762.794202] interfaces: eth0 flags = 1043, old flags = 1003
[ 6105.892454] al_eth 0000:00:01.0 eth0: Link is Down
[ 6146.892648] eth [al_eth_0]: set link speed to 1000Mbps. full duplex.
[ 6146.899006] al_eth 0000:00:01.0 eth0: Link is Up - 1Gbps/Full - flow
control rx/tx
[ 6152.794026] interfaces: eth0 flags = 1043, old flags = 1003
[ 7670.772769] No response for proposed key "DefaultTime2Wait".
[ 7670.778421] No response for proposed key "DefaultTime2Retain".
[ 7670.784258] No response for proposed key "MaxOutstandingR2T".
[ 7670.792402] MODE SENSE: unimplemented page/subpage: 0x04/0x00
[ 7670.798256] MODE SENSE: unimplemented page/subpage: 0x04/0x00
[ 7670.804190] MODE SENSE: unimplemented page/subpage: 0x05/0x00
[ 7670.812598] MODE SENSE: unimplemented page/subpage: 0x05/0x00
[ 7670.822181] MODE SENSE: unimplemented page/subpage: 0x04/0x00
[ 7670.828266] MODE SENSE: unimplemented page/subpage: 0x04/0x00
[ 7670.834426] MODE SENSE: unimplemented page/subpage: 0x05/0x00
[ 7670.842885] MODE SENSE: unimplemented page/subpage: 0x05/0x00
     -> I don't know if last lines are related to iSCSI subsystem
[ 7670.851632] TARGET_CORE[iSCSI]: Detected NON_EXISTENT_LUN Access for
0x00000001
     -> strange. Why is initiator trying to access to a non existent LUN
? I haven't configured another LUN on NetBSD side.
[ 9280.950371] Did not receive response to NOPIN on CID: 0 on SID: 11,
failing connection.
[ 9280.958435] [iSCSI (block-based)][RELEASE CONN] ip: 192.168.12.1,
drop itt:0x00abc129, scsi op:0x25.
[21446.305852] [iSCSI (block-based)][RELEASE CONN] ip: 192.168.12.1,
drop itt:0x00abc129, scsi op:0x25.
[21497.547604] [iSCSI (block-based)][RELEASE CONN] ip: 192.168.12.1,
drop itt:0x00abc129, scsi op:0x25.
[21552.615770] Did not receive response to NOPIN on CID: 0 on SID: 16,
failing connection.
[21552.624337] [iSCSI (block-based)][RELEASE CONN] ip: 192.168.12.1,
drop itt:0x00abc129, scsi op:0x25.
...
[109232.237956] No response for proposed key "DefaultTime2Wait".
[109232.243716] No response for proposed key "DefaultTime2Retain".
[109232.249630] No response for proposed key "MaxOutstandingR2T".
[109232.257332] MODE SENSE: unimplemented page/subpage: 0x04/0x00
[109232.263306] MODE SENSE: unimplemented page/subpage: 0x04/0x00
[109232.269222] MODE SENSE: unimplemented page/subpage: 0x05/0x00
[109232.275178] MODE SENSE: unimplemented page/subpage: 0x05/0x00
[109232.282115] MODE SENSE: unimplemented page/subpage: 0x04/0x00
[109232.288033] MODE SENSE: unimplemented page/subpage: 0x04/0x00
[109232.306996] MODE SENSE: unimplemented page/subpage: 0x05/0x00
[109232.312952] MODE SENSE: unimplemented page/subpage: 0x05/0x00
[109232.344731] TARGET_CORE[iSCSI]: Detected NON_EXISTENT_LUN Access for
0x00000001

On legendre side:
[   152,613148] iscsi: attached.  major = 203
[   153,423457] scsibus0 at iscsi0: 1 target, 16 luns per target
[   153,423457] sd0 at scsibus0 target 0 lun 0: <QNAP, iSCSI Storage,
4.0> disk fixed
[   153,443466] sd0: fabricating a geometry
[   153,443466] sd0: 10980 GB, 11244416 cyl, 64 head, 32 sec, 512
bytes/sect x 23028563968 sectors
[   153,483480] sd0: fabricating a geometry
[   153,503489] sd0: GPT GUID: a5d27c7c-8eda-40e8-a29b-e85a539a5bc7
[   153,503489] dk5 at sd0: "bacula", 23028563901 blocks at 34, type: ffs
[   153,513493] sd0: async, 8-bit transfers, tagged queueing

> 3. Any /var/log/* files related to services running on legendre.
>    Look for any warning or error messages.

	I have checked, but /var/log/messages are full of nfs warning messages :

Feb  7 08:01:07 legendre rpc.lockd: no matching entry for pythagore
Feb  7 08:01:07 legendre rpc.lockd: duplicate lock from pythagore.1547
Feb  7 08:01:07 legendre rpc.lockd: no matching entry for pythagore
Feb  7 08:01:07 legendre rpc.lockd: duplicate lock from pythagore.1547

as pythagore (FreeBSD 12.2) nfs client is not able to lock files and I
haven't found message about iscsi.

> 4. Any pf/altq logs related to throttling.

	No log.

> 5. Any iSCSI warning/error logs on euclide & legendre.

	Only wanings on euclie's side :

[ 7670.772769] No response for proposed key "DefaultTime2Wait".
[ 7670.778421] No response for proposed key "DefaultTime2Retain".
[ 7670.784258] No response for proposed key "MaxOutstandingR2T".

	These parameters seem to be send to euclide by istgt.

	Best regards,

	JKB



Home | Main Index | Thread Index | Old Index