summaryrefslogtreecommitdiff
path: root/bin/rcp
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2008-11-26 00:14:49 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2008-11-26 00:14:49 +0000
commit00f1d74258fa07c03c3560474959595bd61b1e14 (patch)
tree54d571bcf2974ffcd6fa99361fd0648bf7ce20d0 /bin/rcp
parent00ccc24aadaa9e7a9862fcf5c6c4125afb4ffddb (diff)
rework the filling of the rx ring. this switches us to having the cluster
allocation limited by per ifp statistics, ie, we're not guaranteed to have mbufs in every slot on the rx ring. instead of filling the ring with 256 mbufs all the time (about 512KB of kva) when em is brought up, we give it 4. as demand grows we increase the number of mbufs allowed on the ring. i will bet most users wont go above 50ish mbufs, so we're saving them 400KB of kva. tested by many, including one on sparc64 ok claudio@ deraadt@ henning@ krw@
Diffstat (limited to 'bin/rcp')
0 files changed, 0 insertions, 0 deletions