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

请教性能测试问题 #2

Open
hanzhihua opened this issue Sep 1, 2013 · 2 comments
Open

请教性能测试问题 #2

hanzhihua opened this issue Sep 1, 2013 · 2 comments

Comments

@hanzhihua
Copy link

场景:两台服务器,一台服务器,一台客户端压测,开100线程,跑100000次。
发一个command过去,有相应的process做处理,如果线程不设置的话,就是为null, 通过dstat可以看到in/out基本上读是95M左右。
如果设置就会,最多只有90M左右。

还有一个问题,我用的是千兆网卡,好像没有压满,需要做如何调优设置呢。

多谢

@killme2008
Copy link
Owner

hi,你测试的是多大的消息,如果是小包是跑不满网卡的,小包测试就是测试这个框架的IO调度能力,理论上接近100K是可能的。

如果要跑满网卡很容易,用16K以上的大消息。

@hanzhihua
Copy link
Author

哦,明白了,谢谢,问一下,目前gecko的dispatch是直接使用jdk Executors,如果使用libdispatch的java实现hawtdispatch会不会快一些呢?等会试试

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

2 participants