Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

发现列表太大导致dnsmasq的cpu过高 #126

Closed
atmouse- opened this issue May 23, 2016 · 7 comments
Closed

发现列表太大导致dnsmasq的cpu过高 #126

atmouse- opened this issue May 23, 2016 · 7 comments

Comments

@atmouse-
Copy link

影响解析速度么?

@atmouse- atmouse- changed the title 没人发现列表太大导致dnsmasq的cpu过高 发现列表太大导致dnsmasq的cpu过高 May 23, 2016
@felixonmars
Copy link
Owner

felixonmars commented May 23, 2016

嵌入式设备吗?我这里没有测试环境,不清楚有多大影响。我这边的网关是 Atom D525 自己搭的软路由,多人使用,尚未发现 CPU 过高(最多 5%)问题,解析速度也很稳定(dnsmasq 反应 <1ms)

@xiaoyangde
Copy link

我倒是遇到过列表损坏(或者可能是没有下载完全),导致dnsmasq启动失败的情况,有没有什么检测列表语法的办法?

@wongsyrone
Copy link

如果有兴趣可以尝试https://github.com/infinet/dnsmasq

@atmouse-
Copy link
Author

atmouse- commented May 23, 2016

不是嵌入式,就服务器虚拟机,请求量比较大,而且由于功能需求我不得不关闭dnsmasq的cache。
其实就是需要chinalist列表这个功能。
感觉dnsmasq没法用上多线程?cpu最多也就一个核心高,现在我在想单台上开多个然后用lvs均衡负载。

现在的影响就是,解析确实10个之内会有1个超时

@atmouse-
Copy link
Author

用这个 https://github.com/infinet/dnsmasq 好些了

@underleo
Copy link

dd-wrt kong build 27085 没发现CPU负荷高问题,解析速度灰常快。

@atmouse-
Copy link
Author

算是解决了吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants