Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2003 16:27:24 -0800
From:      "Sam Leffler" <sam@errno.com>
To:        "Matthew Dillon" <dillon@apollo.backplane.com>, "Bosko Milekic" <bmilekic@unixdaemons.com>
Cc:        "Andrew Gallatin" <gallatin@cs.duke.edu>, <freebsd-arch@FreeBSD.ORG>
Subject:   Re: mb_alloc cache balancer / garbage collector
Message-ID:  <019101c2d6e4$828cd370$52557f42@errno.com>
References:  <20030216213552.A63109@unixdaemons.com> <15952.62746.260872.18687@grasshopper.cs.duke.edu> <20030217095842.D64558@unixdaemons.com> <200302171742.h1HHgSOq097182@apollo.backplane.com> <20030217154127.A66206@unixdaemons.com> <200302180000.h1I00bvl000432@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>     By creating a thread you are introducing more moving parts, and like
>     a physical system these moving parts are going to ineract with each
>     other.  Remember, the VM system is *already* trying to ensure that
>     enough free pages exist in the system.  If you have a second thread
>     eating memory in large globs it is far more likely that you will
>     destabilize the pageout daemon and create an oscillation between the
>     two threads (pageout daemon and your balancer).

Good point.  Trying to reason about the behaviour of the system w/ two (or
more) threads trying to do the same/similar work is too hard.

    Sam


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?019101c2d6e4$828cd370$52557f42>