alt + command + p + r + power
sudo pmset -a hibernatemode 0 standby 0 autopoweroff 0Default:
sudo pmset restoredefaults
pmset -galt + command + p + r + power
sudo pmset -a hibernatemode 0 standby 0 autopoweroff 0Default:
sudo pmset restoredefaults
pmset -g| #!/usr/bin/env bash | |
| # --slave /usr/bin/$1 $1 /usr/bin/$1-\${version} \\ | |
| function register_clang_version { | |
| local version=$1 | |
| local priority=$2 | |
| update-alternatives \ | |
| --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-${version} ${priority} \ |
| diff -urN a/src/wl/sys/wl_cfg80211_hybrid.c b/src/wl/sys/wl_cfg80211_hybrid.c | |
| --- a/src/wl/sys/wl_cfg80211_hybrid.c 2015-09-12 16:39:28.000000000 +0900 | |
| +++ b/src/wl/sys/wl_cfg80211_hybrid.c 2015-09-12 16:50:44.908084821 +0900 | |
| @@ -2150,8 +2150,12 @@ | |
| WL_DBG(("\n")); | |
| if (status == WLC_E_STATUS_SUCCESS) { | |
| - err = wl_bss_roaming_done(wl, ndev, e, data); | |
| - wl->profile->active = true; | |
| + if (!wl_bss_roaming_done(wl, ndev, e, data)) { |
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |