AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home/overview.html
GNU General Public License v3.0
25.69k stars 1.84k forks source link

why node high cpu usage? when my press test tools execute doh query. #7106

Closed andylau004 closed 1 month ago

andylau004 commented 4 months ago

Prerequisites

Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

Installation

GitHub releases or script from README

Setup

On one machine

AdGuard Home version

master

Action

When I run my stress test tool, executing DOH queries 1000 times per second, the node js process cpu usage is also very high.

when execute my stress test , No web operations are performed at the same time

i don't know why?

Has anyone has been seen this before

1719807398696

Expected result

I expect node/node js to take up less cpu

Actual result

1719807398696

Additional information and/or screenshots

No response

andylau004 commented 4 months ago

。。

why?

Nobody's ever been in that situation before

tjharman commented 4 months ago

Hi,

Sorry I'm not sure I understand - what is the issue? I understand your node process is showing high CPU, but node has nothing to do with AdGuardHome. I'm not sure what relationship node has to AdGuardHome? AdGuardHome doesn't use/rely on node in anyway.

Can you explain more clearly how your node CPU issue is related to AdGuardHome?