[MUD-Dev] Re: TECH: Distributed Muds
J C Lawrence
claw at 2wire.com
Wed Apr 25 17:07:10 New Zealand Standard Time 2001
On Wed, 25 Apr 2001 13:02:11 -0400
Derek Snider <derek at idirect.com> wrote:
> Of course the list elements were tiny, but it wasn't to test how
> well the virtual memory worked.
Simple traversal is not really the problem. The underlieing problem
is fragmentation and resultant thrashing of the OS page cache.
Translation: You're trying to keep N discrete objets in system
memory, where the N objects are distributed across M virtual memory
pages, where M approaches N in the pessimal case. Given that your
application is also trying to keep a whole bunch of other things in
the page cache, as the sum of M + (rest of working set) grows the
more your VM system will thrash.
J C Lawrence claw at kanga.nu
--=| A man is as sane as he is dangerous to his environment |=--
MUD-Dev mailing list
MUD-Dev at kanga.nu
More information about the MUD-Dev