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

fastdfs性能测试间歇性卡顿问题 #241

Open
inpilen opened this issue Oct 10, 2018 · 1 comment
Open

fastdfs性能测试间歇性卡顿问题 #241

inpilen opened this issue Oct 10, 2018 · 1 comment

Comments

@inpilen
Copy link

inpilen commented Oct 10, 2018

部署单节点fastdfs后,单线程循环上传1万次1MB左右的文件,大约有9950次左右低于50ms毫秒以下,约有50次左右超过100ms,个别情况会有单次耗时500ms以上的问题。一万次上传,每次平均耗时约10ms。初步观察与网络无关。经抓包定位,该间隔是客户端发送文件最后一段数据之后,在storage返回文件名给客户端之间产生的较长耗时。客户端使用C++或使用java都进行过测试,均有此种间歇性卡顿问题。或是每次上传之间间隔50ms(相当于每秒写入20MB的数据,磁盘IO应该没问题),也会有这种现象,当上传间隔提升到1秒后,就不存在这种现象了。

@sjqzhang
Copy link

sjqzhang commented Feb 14, 2019

同步期间流量会放大,磁盘忙不过来

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