Skip to content

Instantly share code, notes, and snippets.

@nabeken
Created September 1, 2011 14:31
Show Gist options
  • Save nabeken/1186283 to your computer and use it in GitHub Desktop.
Save nabeken/1186283 to your computer and use it in GitHub Desktop.
低速になるのはppp(8)で割り込み/コンテキストスイッチが多発するためか?
pppoe(8)で 40Mbps〜70Mbps あたり。つまるとガクっと数値が落ちる(その間通信もつまる)。
procs memory page disk traps cpu
r b w avm fre flt re pi po fr sr sd0 int sys cs us sy id
0 0 0 265248 1334864 74 0 0 0 0 0 0 46 668 113 0 0 100
0 0 0 265248 1334864 77 0 0 0 0 0 0 43 655 118 0 0 100
0 0 0 265248 1334864 405 0 0 0 0 0 0 46 760 112 0 0 100
0 0 0 265248 1334864 74 0 0 0 0 0 0 3141 50811 11431 1 10 89
0 0 0 265248 1334864 74 0 0 0 0 0 0 8091 132264 29514 4 21 75
0 0 0 265252 1334860 74 0 0 0 0 0 0 6750 102647 24246 2 18 80
2 0 0 265252 1334860 82 0 0 0 0 0 0 7168 109002 25727 3 21 76
0 0 0 265252 1334860 403 0 0 0 0 0 0 5331 81630 18822 2 11 87
0 0 0 265252 1334860 74 0 0 0 0 0 0 45 667 110 0 0 100
0 0 0 265252 1334860 73 0 0 0 0 0 0 39 629 111 0 0 100
これが原因なら pppoe(4) にすれば解消が見込まれる。なので、OpenBSD 5-currentにする必要がある。…が、currentにするのは恐いのでパッチだけあててビルドしなおすのがいい。
パッチあててpppoe(4)にして 40Mbps〜 くらい出してるところ。
procs memory page disk traps cpu
r b w avm fre flt re pi po fr sr sd0 int sys cs us sy id
1 0 0 14012 1908544 7 0 0 0 0 0 0 4568 51 18 0 5 95
0 0 0 14012 1908544 14 0 0 0 0 0 0 3041 49 17 0 1 99
0 0 0 14012 1908544 11 0 0 0 0 0 0 3816 55 20 0 1 99
0 0 0 14012 1908544 7 0 0 0 0 0 0 3354 35 15 0 1 99
0 0 0 14012 1908544 7 0 0 0 0 0 0 4541 35 16 0 3 97
0 0 0 14012 1908544 7 0 0 0 0 0 0 7326 60 20 0 4 96
0 0 0 14012 1908544 7 0 0 0 0 0 0 7161 43 20 0 6 94
0 0 0 14012 1908544 11 0 0 0 0 0 0 6642 47 20 0 3 97
うへえ……
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment