[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

18982: Re: [MUD-Dev] Re: TECH: Distributed Muds

[Full Header] [Plain Text]
From: J C Lawrence <claw@2wire.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Wed, 25 Apr 2001 17:07:10 -0700
References: [1]
Organization: Kanga.Nu
On Wed, 25 Apr 2001 13:02:11 -0400 
Derek Snider <derek@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@kanga.nu
---------(*)                          http://www.kanga.nu/~claw/
--=| A man is as sane as he is dangerous to his environment |=--
_______________________________________________
MUD-Dev mailing list
MUD-Dev@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev