DragonFly kernel List (threaded) for 2004-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: pipe structure and KVM caching patch
Matthew Dillon wrote:
I've done a first pass at improving pipe creation and teardown latencies
and reducing kmem operations (which are nasty on SMP systems). I added
a per-cpu cache of pipe structures and I retain VM object and kmem
mappings in the cached pipe structures. Everything can be monitored
and some params modified via the kern.pipe sysctl. It is untuned but
still represents a good first-order solution. The cache eats around 1MB
of KVM (virtual, not real memory) per cpu under heavy load.
I haven't had any problems testing it so far but more testing can't
hurt. The patch can be retrieved at:
fetch http://apollo.backplane.com/DFlyMisc/pipe01.patch
The change to sys/pipe.h seems cosmetic, right? Shouldn't those
be made separately?
-- Hiten
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]