[MUD-Dev] Re: TECH: Distributed Muds

J C Lawrence claw at 2wire.com
Wed Apr 25 17:07:10 CEST 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
---------(*)                          http://www.kanga.nu/~claw/
--=| A man is as sane as he is dangerous to his environment |=--
_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev



More information about the mud-dev-archive mailing list