# GetParameterNames question

**URL:** <https://forum.genieacs.com/t/getparameternames-question/5113>\
**Category:** Uncategorized\
**Created:** [February 20, 2024, 6:08pm UTC](https://forum.genieacs.com/t/getparameternames-question/5113 "2024-02-20T18:08:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andre\_Driemeyer](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Andre\_Driemeyer](https://forum.genieacs.com/u/Andre_Driemeyer)\
**Post date:** [February 20, 2024, 6:08pm UTC](https://forum.genieacs.com/t/getparameternames-question/5113/1 "2024-02-20T18:08:49Z")

</div>

I’m wondering, why does GenieACS makes several "GetParameterName"s calls when it can get all the CPE paths with a single one (asking the root path)? Is it a security reason? Or maybe a performance one?

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [February 20, 2024, 9:22pm UTC](https://forum.genieacs.com/t/getparameternames-question/5113/2 "2024-02-20T21:22:44Z")

</div>

Performance. A lot of these CPEs are underpowered with limited RAM. Doing a GPN/GPV on very large set of params could cause these routers to crash.

---

<div class="post-metadata">

**Author:** ![Andre\_Driemeyer](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Andre\_Driemeyer](https://forum.genieacs.com/u/Andre_Driemeyer)\
**Post date:** [February 20, 2024, 9:58pm UTC](https://forum.genieacs.com/t/getparameternames-question/5113/3 "2024-02-20T21:58:43Z")

</div>

Interesting.  
I’ve come across a new TP-link CPE (Device data model) that starting throwing faults due to the number of GPN requests I started making at it (A lot of information that used to be in one sub-tree in InternetGatewayDevice is located in several other sub-trees).

I made a quick modification to Genie in my lab enviroment and the number of GPN dropped from several to 1.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/0/07d7174240b03e2e8e4dd37250b2b8acf1640323.png)

I’ll probably have to code something more akin to a configuration that can turn on this optimization per device.
