12
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

YosemiteでADBを改善する方法

Last updated at Posted at 2015-12-25

概要

去年の年末か今年の夏頃までYosemite上でのadb installのクソ遅さには悩まされたのですが、色々対応策を試してみて下記の方法が【神】だったので、記しておきます。

参考リンク
http://stackoverflow.com/questions/28314131/adb-transfers-file-with-a-very-slow-speed

リンク先が消えたりすると困るので、こちらにも同じ方法を記述します。

引用

ターミナルを立ち上げて、/etc/sysctl.confに下記のシェルを記述します。
その後、再起動してください。

kern.ipc.somaxconn=2048
net.inet.tcp.rfc1323=1
net.inet.tcp.win_scale_factor=4
net.inet.tcp.sendspace=1042560
net.inet.tcp.recvspace=1042560
net.inet.tcp.mssdflt=1448
net.inet.tcp.v6mssdflt=1412
net.inet.tcp.msl=15000
net.inet.tcp.always_keepalive=0
net.inet.tcp.delayed_ack=3
net.inet.tcp.slowstart_flightsize=20
net.inet.tcp.local_slowstart_flightsize=9
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
net.inet.icmp.icmplim=50
12
11
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
12
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?