oifcfg iflist - Very slow
From: saurabh manroy <saurabhmanroy_at_gmail.com>
Date: Mon, 9 Jan 2012 16:53:26 +0100
Message-ID: <CAELkjfWzvvEVB8mo=Q9yv9eoMOoO+S=WB9YZaUoiYxbcJ+n8cQ_at_mail.gmail.com>
Hello Listers,
On all nodes of a RAC database, oifcfg iflist takes 2 minutes to report the results.
CRS version: 11.1.0.7, Platform: IBM AIX 6.1 /etc/hosts has all the IPs reported by the output of iflist command. 'netstat -in' also reports all the interfaces available at the OS level.
Date: Mon, 9 Jan 2012 16:53:26 +0100
Message-ID: <CAELkjfWzvvEVB8mo=Q9yv9eoMOoO+S=WB9YZaUoiYxbcJ+n8cQ_at_mail.gmail.com>
Hello Listers,
On all nodes of a RAC database, oifcfg iflist takes 2 minutes to report the results.
CRS version: 11.1.0.7, Platform: IBM AIX 6.1 /etc/hosts has all the IPs reported by the output of iflist command. 'netstat -in' also reports all the interfaces available at the OS level.
Truss with -d and -f switch gives following:
- 1155345: kread(0, " l i d : V L A".., 4096) = 2281
- 1155345: kread(0, " l i d : V L A".., 4096) = 0
- 1155345: kwrite(1, " H a r d w a r e A d d".., 36) = 36
- kread(9, " H a r d w a r e A d d".., 4096) = 36
- 1155345: *126.7475*: close(1) = 0
- 1155345: 126.7478: kfcntl(2, F_GETFL, 0x00000001) = 67110914
- 126.7478: close(9) = 0
- 1155345: 126.7479: _exit(0)
Without -f switch in the truss command, I see the following:
0.3459: kfork() = 258936 0.3484: thread_setmystate(0x0FFFFFFFFFFFD5F0, 0x0000000000000000) = 0 0.3487: close(10) = 0 0.3489: kfcntl(9, F_GETFL, 0x0000000110007DD0) = 0 0.3490: kioctl(9, 22528, 0x0000000000000000, 0x0000000000000000) Err#25 ENOTTY 0.3509: kioctl(9, 22528, 0x0000000000000000, 0x0000000000000000) Err#25 ENOTTY 2.3512: kread(9, "\0\0\0\0\0\0\0\0\0\0\0\0".., 4096) (sleeping...) kread(9, " H a r d w a r e A d d".., 4096) = 36 *117.3814*: close(9) = 0
On a different RAC cluster in same network, same command reports results within a Second as expected.
- 3903619: 0.5246: kioctl(0, 22528, 0x00000000, 0x00000000) Err#25 ENOTTY
- 3903619: kread(0, " - - - - - - - - - - - -".., 4096) = 2626
- 3903619: 0.5250: kioctl(1, 22528, 0x00000000, 0x00000000) Err#25 ENOTTY
- 3903619: kread(0, " - - - - - - - - - - - -".., 4096) = 0
- 3903619: kwrite(1, " H a r d w a r e A d d".., 36) = 36
- 3903619: *0.5255*: close(1) = 0
- 2179287: kread(9, " H a r d w a r e A d d".., 4096) = 36
- 3903619: *0.5257*: kfcntl(2, F_GETFL, 0x00000001) = 67110914
- 3903619: 0.5258: _exit(0)
- 2179287: 0.5258: close(9) = 0
Any hints/suggestions are welcome..
Note: oifcfg getif reports the results in a second.
Regards,
Saurabh Manroy
-- http://www.freelists.org/webpage/oracle-lReceived on Mon Jan 09 2012 - 09:53:26 CST