1 Reply Latest reply: Sep 27, 2010 11:12 AM by 807567 RSS

    LDM command response very slow

    807567
      Hi All,

      I am running ldom 1.3, but some commands take quite long to response, ie list-bindings command takes about 21 seconds to generate output. ldm list command response time is good though. Any thought on this issue?

      Logical Domain Manager (v 1.3)
      Hypervisor control protocol v 1.4
      Using Hypervisor MD v 1.1

      System PROM:
      Hypervisor v. 1.7.9 @(#)Hypervisor 1.7.9 2010/07/19 15:51\015

      OpenBoot v. 4.30.9 @(#)OBP 4.30.9 2010/07/16 09:01

      Thanks a lot,
      Wei
        • 1. Re: LDM command response very slow
          807567
          One thing notice from truss output is somehow this command goes to sleep mode - Below is portion of "truss -faeld ldm list-constraints guestdomain"

          14936/1: 0.0396 mmap(0x00010000, 65536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE20000
          14936/1: 0.0398 sysconfig(_CONFIG_NGROUPS) = 16
          14936/1: 0.0401 zone_lookup("") = 0
          14936/1: 0.0402 zone_getattr(0, ZONE_ATTR_PRIVSET, 0xFEE40288, 12) = 12
          14936/1: 0.0405 setppriv(PRIV_OFF, PRIV_PERMITTED, {ff9bffffffffffffffffffff}) = 0
          14936/1: 0.0410 setppriv(PRIV_SET, PRIV_INHERITABLE, {000000000000000000000000}) = 0
          14936/1: 0.0412 setppriv(PRIV_SET, PRIV_LIMIT, {000000000000000000000000}) = 0
          14936/1: 0.0414 setppriv(PRIV_OFF, PRIV_EFFECTIVE, {002000000000000000000000}) = 0
          14936/1: 0.0416 setppriv(PRIV_OFF, PRIV_EFFECTIVE, {004000000000000000000000}) = 0
          14936/1: 0.0420 brk(0x0002A220) = 0
          14936/1: 0.0421 brk(0x0002C220) = 0
          14936/1: 0.0423 schedctl() = 0xFF3FA000
          14936/1: 0.0425 sigaction(SIGINT, 0xFFBFFC60, 0x00000000) = 0
          14936/1: 0.0426 sigaction(SIGTERM, 0xFFBFFC60, 0x00000000) = 0
          14936/1: 0.0429 so_socket(PF_INET, SOCK_STREAM, IPPROTO_IP, "", SOV_DEFAULT) = 3
          14936/1: 0.0433 connect(3, 0xFFBFFC90, 16, SOV_DEFAULT) = 0
          14936/1: 0.0435 send(3, "\0\0\0\0\0\0\0\b\0\0\001".., 16, 0) = 16
          14936/1: 0.0437 recv(3, "\0\0\001\0\0\002", 8, 64) = 8
          14936/1: 0.0439 recv(3, "\0\0", 2, 64) = 2
          14936/1: 0.0441 send(3, "\0\0\004\0\0\0 >\0\0\0 6".., 70, 0) = 70
          *{color:#ff0000}14936/1: recv(3, 0xFFBFFC28, 8, 64) (sleeping...)*
          *{color}*14936/1: 31.8185 recv(3, "\0\0\005\0\00389", 8, 64) = 8
          14936/1: 31.8190 recv(3, "\0\00381\0\0\001\0\003 }".., 905, 64) = 905
          14936/1: 31.8193 ioctl(1, TCGETA, 0xFFBFEDD4) = 0
          14936/1: 31.8195 fstat64(1, 0xFFBFECF0) = 0