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

新安定版Version 2.6.0で配信時負荷が高くなる #374

Open
scottle opened this issue Feb 12, 2019 · 4 comments
Open

新安定版Version 2.6.0で配信時負荷が高くなる #374

scottle opened this issue Feb 12, 2019 · 4 comments
Labels

Comments

@scottle
Copy link

scottle commented Feb 12, 2019

問題と期待される動作
新しい最新版で、配信するとCPU使用率が20%ぐらいになる。前の安定版だと数%だった。
リレー本数は2本です。
黄色chの代理報告です。

再現方法
配信数が40人超えると異常に負荷が高くなる。

動作環境
・Windows 10 1709 常に最新パッチ済み
・CPU i7-8700K

001

黄色chの中の人が取ったログファイルです。
(デバックありでログを取って貰っています)
黄色ch本人ログファイル.zip

@kumaryu kumaryu added the バグ label Feb 12, 2019
@hibinonaoki
Copy link

hibinonaoki commented Feb 19, 2019

こちらでも同現象を確認しました。
やはり40人くらいまで来たところで負荷が大幅に上がります。
最大で50%前後まで上がっていることを確認いたしました。
Ver.2.6.0で発生、Ver.2.2.1で非発生を確認しています。

OS:Windows10 Pro 64bit Ver.1809 (build 17763.316)
Version:2.6.0安定版(インストール版)
配信形式はFLVで、ビットレートは800+96=896kbpsです。

試しに配信中にPecastationの人数とタスクマネージャの負荷を同時に表示した動画をYoutubeの以下に置いてあります。
https://www.youtube.com/watch?v=qAApjBHdWXo
また、その際のログファイルを添付します。

debug_log.zip

@kumaryu
Copy link
Owner

kumaryu commented Feb 24, 2019

ちょっと改善してみました。
https://ci.appveyor.com/project/kumaryu/peercaststation/builds/22610357/artifacts
こちらを試してみてください。

@hibinonaoki
Copy link

日比野です。

このVersionで試してみました。
リスナー数が40人を超えても負荷は3%~4%のまま上がらず、110人まで増えたところでも4%以下でした。
改善されたと言っていいと思います。

@kumaryu
Copy link
Owner

kumaryu commented Feb 27, 2019

ありがとうございます!
予想以上に効いた

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

No branches or pull requests

3 participants