Sadayuki Furuhashi @frsyuki page allocation failure が発生している昨今、こさき先生の "page allocation failureの説明" が大変役に立っているのだけども、vm.min_free_kbytesの最適な値をどうすればいいのか大変悩ましい。
Linux は,メモリを確保したときでなく,実際にメモリにアクセスがあったときに物理メモリを割り当ててる,ってのは有名な話です. 確保しているメモリと実際に使用しているメモリをどのように調べられるかな,と言うのを調べてました. 簡単な c のプログラムを書いて, プログラム起動 pause malloc (10MBほど) pause memset (確保した領域に一杯) pause free という順で,各ポイントでプログラムの実行を停止するようにしておいて (単にgetchar()),停止した時点で各種コマンドでメモリの使用状況を調べてみる,ってのをやってみました. プログラム起動直後 $ free total used free shared buffers cached Mem: 2074776 1980548 94228 0 359828 934664 -/+ buffers/ca
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く