# Difference in execution time between gwcmd in user space vs service space

**URL:** <https://forum.inductiveautomation.com/t/difference-in-execution-time-between-gwcmd-in-user-space-vs-service-space/114509>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [March 16, 2026, 7:50pm UTC](https://forum.inductiveautomation.com/t/difference-in-execution-time-between-gwcmd-in-user-space-vs-service-space/114509 "2026-03-16T19:50:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leor\_Fishman](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Leor\_Fishman](https://forum.inductiveautomation.com/u/Leor_Fishman)\
**Post date:** [March 16, 2026, 7:50pm UTC](https://forum.inductiveautomation.com/t/difference-in-execution-time-between-gwcmd-in-user-space-vs-service-space/114509/1 "2026-03-16T19:50:58Z")

</div>

I’m noticing something very odd, where gwcmd -b in userspace (windows terminal, run as admin) on a machine takes ~3m, but running the exact same command from a windows service takes 6+m. any idea where to look for logs/metrics on that discrepancy? I can’t find any gwcmd logging besides the ‘no response from gateway’

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 16, 2026, 10:28pm UTC](https://forum.inductiveautomation.com/t/difference-in-execution-time-between-gwcmd-in-user-space-vs-service-space/114509/2 "2026-03-16T22:28:17Z")

</div>

Both of those are _exceptionally_ long.  
`gwcmd` writes to a local file for communication with the gateway service. Is your disk getting clobbered or are you on a super slow VM or something like that?

---

<div class="post-metadata">

**Author:** ![Leor\_Fishman](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Leor\_Fishman](https://forum.inductiveautomation.com/u/Leor_Fishman)\
**Post date:** [March 16, 2026, 10:32pm UTC](https://forum.inductiveautomation.com/t/difference-in-execution-time-between-gwcmd-in-user-space-vs-service-space/114509/3 "2026-03-16T22:32:57Z")

</div>

RAM is less than half used at all times, CPU is like 10% at most, disk IO seems fine too…

gateway stats don’t seem like they have anything unusual either.

the VM itself has run large projects/heavy code with no issue.

---

<div class="post-metadata">

**Author:** ![Leor\_Fishman](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Leor\_Fishman](https://forum.inductiveautomation.com/u/Leor_Fishman)\
**Post date:** [March 16, 2026, 10:44pm UTC](https://forum.inductiveautomation.com/t/difference-in-execution-time-between-gwcmd-in-user-space-vs-service-space/114509/4 "2026-03-16T22:44:23Z")

</div>

as i write this out i wonder if it could be AV somewhere, somehow. where does GWCMD try to write to?

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [March 16, 2026, 10:49pm UTC](https://forum.inductiveautomation.com/t/difference-in-execution-time-between-gwcmd-in-user-space-vs-service-space/114509/5 "2026-03-16T22:49:35Z")

</div>

If you try to run a backup via the web interface, does it also take several minutes?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 16, 2026, 10:52pm UTC](https://forum.inductiveautomation.com/t/difference-in-execution-time-between-gwcmd-in-user-space-vs-service-space/114509/6 "2026-03-16T22:52:45Z")

</div>

Files named `request` or `response` at the root of the `data/` directory in the installation location.
