トップ «前の日記(2010-05-30) 最新 次の日記(2010-06-01)» 編集

ヨタの日々

2001|08|09|10|11|12|
2002|01|02|03|04|05|06|07|08|09|10|11|12|
2003|01|02|03|04|05|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|12|
2024|01|02|03|

2010-05-31 :-)

_ 朝ッ

0520 起床

_ 仕事

0830 出勤

身辺整理

午後休み

_ [リッジレーサー7]リッジレーサー7 ARC 7月を見直した

文月GP (リッジレーサー7)

カテゴリー2 と カテゴリー1 のみのマシンもあるので結局すべてカテゴリー1 にした。カテゴリー2 はカテゴリー1 と比べて最高速が 20km/h くらい遅いけど体感的にはあまり変わらないよね。

_ [kern.mbuf.nmbclusters][NetBSD]NetBSD kern.mbuf.nmbclusters(2)

相変わらず WARNING!! と叫ばれるので

WARNING: mclpool limit reached; increase NMBCLUSTERS
WARNING: mclpool limit reached; increase NMBCLUSTERS
WARNING: mclpool limit reached; increase NMBCLUSTERS
WARNING: mclpool limit reached; increase NMBCLUSTERS
WARNING: mclpool limit reached; increase NMBCLUSTERS
WARNING: mclpool limit reached; increase NMBCLUSTERS
WARNING: mclpool limit reached; increase NMBCLUSTERS
WARNING: mclpool limit reached; increase NMBCLUSTERS

いまいくつだっけ

% sysctl -A | grep mbuf
kern.mbuf.msize = 256
kern.mbuf.mclbytes = 2048
kern.mbuf.nmbclusters = 1024
kern.mbuf.mblowat = 16
kern.mbuf.mcllowat = 8
sysctl: kern.mbuf.stats: this type is unknown to this program

とりあえず 2 倍にするよ

% sudo sysctl -w kern.mbuf.nmbclusters=2048
sysctl: kern.mbuf.nmbclusters: sysctl() failed with Operation not permitted

怒られたよ

man 8 sysctl を眺めるよ

 kern.mbuf (KERN_MBUF)
         Return information about the mbuf control variables.  Mbufs are
         data structures which store network packets and other data struc-
         tures in the networking code, see mbuf(9).  The third level names
         for the mbuf variables are detailed below.  The changeable column
         shows whether a process with appropriate privilege may change the
         value.

               Third level name         Type                 Changeable
               kern.mbuf.mblowat        integer              yes
               kern.mbuf.mclbytes       integer              yes
               kern.mbuf.mcllowat       integer              yes
               kern.mbuf.msize          integer              yes
               kern.mbuf.nmbclusters    integer              yes

         The variables are as follows:

         kern.mbuf.mblowat (MBUF_MBLOWAT)
                 The mbuf low water mark.

         kern.mbuf.mclbytes (MBUF_MCLBYTES)
                 The mbuf cluster size.

         kern.mbuf.mcllowat (MBUF_MCLLOWAT)
                 The mbuf cluster low water mark.

         kern.mbuf.msize (MBUF_MSIZE)
                 The mbuf base size.

         kern.mbuf.nmbclusters (MBUF_NMBCLUSTERS)
                 The limit on the number of mbuf clusters.  The variable
                 can only be increased, and only increased on machines
                 with direct-mapped pool pages.

ふうむ

man 3 sysctl を眺めるよ

 [EPERM]            An attempt is made to set a read-only value.

 [EPERM]            A process without appropriate privilege attempts to
                    set a value or to create or destroy a node.

 [EPERM]            An attempt to change a value protected by the current
                    kernel security level is made.

port-alpha: Re: Realistic NMBCLUSTERS limit?

The behavior of making NMBCLUSTERS buffer depends on which port you're using.

 - On ports that use direct-mapped pool pages (Alpha, MIPS, PowerPC,
   VAX), this merely places an upper-bound on the number of pages
   which can be allocated to mbuf clusters.  On these platforms,
   the limit can be adjusted dynamically with kern.mbuf.nmbclusters.

 - On ports that do not use direct-mapped pool pages (everything but
   the platforms listed above), NMBCLUSTERS is used to size a kernel
   virtual memory map `mb_map'.  This map CANNOT be resized at run
   time.  Explaining why is beyond the scope of this message.  Just
   trust me on this one.

あらやだ。

soda さんのいうとおり[ 20070306#p05 ] 素直にカーネルコンフィグします。

_ [リッジレーサー7]リッジレーサー7

オンラインバトルなど。Southbay Docks の開始直後がどうしても巻き込まれる。

  • 走行距離 85078 km
  • RSGP 進行度 100.0 %
  • 名声 23244 FP
  • オンラインバトル勝利数 842/3088