oifcfg iflist - Very slow

  • From: saurabh manroy <saurabhmanroy@xxxxxxxxx>
  • To: oracle-l <oracle-l@xxxxxxxxxxxxx>
  • Date: Mon, 9 Jan 2012 16:53:26 +0100

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:

1421608:        1155345: kread(0, " l i d :           V L A".., 4096) = 2281
1421608:        1155345: kread(0, " l i d :           V L A".., 4096) = 0
1421608:        1155345: kwrite(1, " H a r d w a r e   A d d".., 36) = 36
308104: kread(9, " H a r d w a r e   A d d".., 4096)    = 36
1421608:        1155345: *126.7475*:        close(1)              = 0
1421608:        1155345: 126.7478:        kfcntl(2, F_GETFL, 0x00000001) =
67110914
308104: 126.7478:        close(9)                       = 0
1421608:        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.

1286398:        3903619: 0.5246:        kioctl(0, 22528, 0x00000000,
0x00000000) Err#25 ENOTTY
1286398:        3903619: kread(0, " - - - - - - - - - - - -".., 4096) = 2626
1286398:        3903619: 0.5250:        kioctl(1, 22528, 0x00000000,
0x00000000) Err#25 ENOTTY
1286398:        3903619: kread(0, " - - - - - - - - - - - -".., 4096) = 0
1286398:        3903619: kwrite(1, " H a r d w a r e   A d d".., 36) = 36
1286398:        3903619: *0.5255*:        close(1)                = 0
1347678: 2179287: kread(9, " H a r d w a r e   A d d".., 4096) = 36
1286398:        3903619: *0.5257*:        kfcntl(2, F_GETFL, 0x00000001) =
67110914
1286398:        3903619: 0.5258:        _exit(0)
1347678: 2179287: 0.5258:        close(9)               = 0


Any hints/suggestions are welcome..

Note: oifcfg getif reports the results in a second.

Regards,
Saurabh Manroy


--
//www.freelists.org/webpage/oracle-l


Other related posts:

  • » oifcfg iflist - Very slow - saurabh manroy