LoginSignup
4
3

More than 1 year has passed since last update.

RaspberryPi4でのWiFi速度向上のおまじない

Posted at

RaspberryPi4を利用したときに,
WiFi遅延が気になったため,調べたことをメモ.

パワーマネジメントを切る

どうやら,ラズパイの省電力機能が邪魔をしているようなので,
その機能を切ってあげる.

切り方は単純でカーネルモジュールへのオプションを渡してあげればいい.
まず,nanoでもvimでもgeditでもいいので,エディタでファイルを開く.

sudo nano /etc/modprobe.d/8192cu.conf

その後,以下の内容で書き込む

options 8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1

これで再起動すれば,モジュールへオプションが適用される.

sudo reboot

基本的にはこれだけで,速度は十分改善されるはず.

これでも速度が出ない場合

TSOを無効化することで,速度が出るらしい.
TSOは参考資料に丸投げする.

自分の環境では効果はわからなかったが,
カーネルバージョンにより,修正されているかもしれない.参考までに.

sudo ethtool -K eth0 tx-tcp-segmentation off tx-tcp6-segmentation off

参考

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3