mellow-io / mellow

Mellow is a rule-based global transparent proxy client for Windows, macOS and Linux. Also a Proxifier alternative.
3.55k stars 469 forks source link

CPU占用太高 #322

Closed jhalx closed 3 years ago

jhalx commented 3 years ago

使用操作系统类型以及版本

WIndows10 2004 内部版本19041.804

使用 Mellow 版本

v0.1.22

问题描述

CPU占用率过高平时还好占用8%左右,一旦运行起程序,其实流量也不是很大几百k的样子,就会占用50%至以上还有偶尔会突然增高到80%-90%以上,占用程序为Core.exe

问题复现步骤

相关配置

[RoutingRule] ; type, filter, endpoint tag or enpoint group tag DOMAIN-KEYWORD, geosite:category-ads-all, Reject ;IP-CIDR, 8.8.8.8/32, MyGroup IP-CIDR, 54.246.133.196/32, Socks-Out GEOIP, cn, Direct GEOIP, private, Direct ;PORT, 123, Direct ;DOMAIN-FULL, a.google.com, MyGroup ;DOMAIN, b.google.com, MyGroup ;DOMAIN-SUFFIX, c.google.com, MyGroup ;DOMAIN-KEYWORD, geosite:cn, Direct DOMAIN-KEYWORD, Portswigger.net, Socks-Out DOMAIN-KEYWORD, bilibili, Direct PROCESS-NAME, uedit64*, Reject PROCESS-NAME, git.exe, Socks-Out PROCESS-NAME, p2.exe, Socks-Out PROCESS-NAME, p3.exe, Socks-Out ;INCLUDE, subconf1.list ;INCLUDE, subconf2.list, MyGroup ;INCLUDE, subconf3.list, MyGroup ;NETWORK, udp:tcp, Direct FINAL, Direct

相关日志、截图

TAP network device added successfully.

[2021-02-26 16:37:19.204] [info] Set system proxy with command: "C:\Users\Administrator\AppData\Local\Programs\Mellow\resources\src\helper\configure_proxy.bat" "off" 2887 [2021-02-26 16:37:19.278] [info] Core started. [2021-02-26 16:37:20.109] [info] The default gateway before configuring routes: [2021-02-26 16:37:20.110] [info] { gateway: '192.168.255.1', interface: '以太网' } [2021-02-26 16:37:20.116] [info] The TUN interface before configuring routes: [2021-02-26 16:37:20.116] [info] { address: '10.255.0.2', interface: 'mellow-tap0' } [2021-02-26 16:37:20.117] [info] 2021/02/26 16:37:19 TAP device component ID: *** 2021/02/26 16:37:19 TAP device name: mellow-tap0 2021/02/26 16:37:19 Set mellow-tap0 with net/mask: 10.255.0.2/255.255.255.0 through DHCP 2021/02/26 16:37:19 Set mellow-tap0 with DNS: 114.114.114.114,8.8.8.8 through DHCP

[2021-02-26 16:37:21.433] [info] Set 10.255.0.1 as the default gateway.

jhalx commented 3 years ago

使用操作系统类型以及版本

WIndows10 2004 内部版本19041.804

使用 Mellow 版本

v0.1.22

问题描述

CPU占用率过高平时还好占用8%左右,一旦运行起程序,其实流量也不是很大几百k的样子,就会占用50%至以上还有偶尔会突然增高到80%-90%以上,占用程序为Core.exe

问题复现步骤

相关配置

[RoutingRule] ; type, filter, endpoint tag or enpoint group tag DOMAIN-KEYWORD, geosite:category-ads-all, Reject ;IP-CIDR, 8.8.8.8/32, MyGroup IP-CIDR, 54.246.133.196/32, Socks-Out GEOIP, cn, Direct GEOIP, private, Direct ;PORT, 123, Direct ;DOMAIN-FULL, a.google.com, MyGroup ;DOMAIN, b.google.com, MyGroup ;DOMAIN-SUFFIX, c.google.com, MyGroup ;DOMAIN-KEYWORD, geosite:cn, Direct DOMAIN-KEYWORD, Portswigger.net, Socks-Out DOMAIN-KEYWORD, bilibili, Direct PROCESS-NAME, uedit64*, Reject PROCESS-NAME, git.exe, Socks-Out PROCESS-NAME, p2.exe, Socks-Out PROCESS-NAME, p3.exe, Socks-Out ;INCLUDE, subconf1.list ;INCLUDE, subconf2.list, MyGroup ;INCLUDE, subconf3.list, MyGroup ;NETWORK, udp:tcp, Direct FINAL, Direct

相关日志、截图

TAP network device added successfully.

[2021-02-26 16:37:19.204] [info] Set system proxy with command: "C:\Users\Administrator\AppData\Local\Programs\Mellow\resources\src\helper\configure_proxy.bat" "off" 2887 [2021-02-26 16:37:19.278] [info] Core started. [2021-02-26 16:37:20.109] [info] The default gateway before configuring routes: [2021-02-26 16:37:20.110] [info] { gateway: '192.168.255.1', interface: '以太网' } [2021-02-26 16:37:20.116] [info] The TUN interface before configuring routes: [2021-02-26 16:37:20.116] [info] { address: '10.255.0.2', interface: 'mellow-tap0' } [2021-02-26 16:37:20.117] [info] 2021/02/26 16:37:19 TAP device component ID: *** 2021/02/26 16:37:19 TAP device name: mellow-tap0 2021/02/26 16:37:19 Set mellow-tap0 with net/mask: 10.255.0.2/255.255.255.0 through DHCP 2021/02/26 16:37:19 Set mellow-tap0 with DNS: 114.114.114.114,8.8.8.8 through DHCP

[2021-02-26 16:37:21.433] [info] Set 10.255.0.1 as the default gateway.