Netconf-console or restconf takes a lot of time

Team,

Our schema is huge and has a number of configuration and state data under each entry inside the list. We use a number of grouping and nested containers inside the list.
Approximately, around 1500 lines of config under each entry in the list ( learnt from netconf.trace ). In our set-up, currently we have around 700 entries.

Get config using, netconf-console or restconf, takes a lot of time to provide us the config.

netconf-console --user=admin --password=admin --get-config -x ‘/managed-ap/database’
Log from netconf.log
10-Aug-2017::08:32:56.085 9627d376126c confd[847]: netconf id=872 new ssh session for user “admin” from 127.0.0.1
10-Aug-2017::08:32:56.099 9627d376126c confd[847]: netconf id=872 got rpc: {urn:ietf:params:xml:ns:netconf:base:1.0}get-config attrs: message-id=“1”
10-Aug-2017::08:32:56.099 9627d376126c confd[847]: netconf id=872 get-config source=running attrs: message-id=“1”
10-Aug-2017::08:32:56.187 9627d376126c confd[847]: netconf id=872 sending rpc-reply, attrs: message-id=“1”
10-Aug-2017::08:33:33.611 9627d376126c confd[847]: netconf id=872 close-session attrs: message-id=“0”
10-Aug-2017::08:33:33.612 9627d376126c confd[847]: netconf id=872 sending rpc-reply, attrs: message-id=“0”

As you can see, it almost took above a minute to fetch the config.

When I fetch a single leaf parameter inside the list, the response is faster.
netconf-console --user=admin --password=admin --get-config -x ‘/managed-ap/database/ap_name’

10-Aug-2017::08:29:38.274 9627d376126c confd[847]: netconf id=866 new ssh session for user “admin” from 127.0.0.1
10-Aug-2017::08:29:38.288 9627d376126c confd[847]: netconf id=866 got rpc: {urn:ietf:params:xml:ns:netconf:base:1.0}get-config attrs: message-id=“1”
10-Aug-2017::08:29:38.288 9627d376126c confd[847]: netconf id=866 get-config source=running attrs: message-id=“1”
10-Aug-2017::08:29:38.364 9627d376126c confd[847]: netconf id=866 sending rpc-reply, attrs: message-id=“1”
10-Aug-2017::08:29:38.412 9627d376126c confd[847]: netconf id=866 close-session attrs: message-id=“0”
10-Aug-2017::08:29:38.413 9627d376126c confd[847]: netconf id=866 sending rpc-reply, attrs: message-id=“0”

Same problem when we try to fetch state data as well.
netconf-console --user=admin --password=admin --db=operational --get -x ‘/managed-ap/database/oper-state-data’
10-Aug-2017::09:31:30.748 ba007ff505bd confd[183]: netconf id=726 new ssh session for user “admin” from 127.0.0.1
10-Aug-2017::09:31:30.758 ba007ff505bd confd[183]: netconf id=726 got rpc: {urn:ietf:params:xml:ns:netconf:base:1.0}get attrs: message-id=“1”
10-Aug-2017::09:31:30.758 ba007ff505bd confd[183]: netconf id=726 get attrs: message-id=“1”
10-Aug-2017::09:31:30.843 ba007ff505bd confd[183]: netconf id=726 sending rpc-reply, attrs: message-id=“1”
10-Aug-2017::09:31:38.762 ba007ff505bd confd[183]: netconf id=726 close-session attrs: message-id=“0”
10-Aug-2017::09:31:38.763 ba007ff505bd confd[183]: netconf id=726 sending rpc-reply, attrs: message-id=“0”

How do we evaluate the problem here? Kindly suggest.
We are using confd 6.0.2 version.

Best regards

This might be normal, depending on how much data is being returned.

How does the CLI behave in this case when you do : “show configuration managed-ap database ap_name”? How much time does it take?

Is this a consistent observation or intermittent?

The CLI is relatively faster but is also slow. This is a consistent observation when we have a large amount of data to be fetched.

Best regards