Thread: extreme lag
View Single Post
  #10  
Old 11-03-2007, 02:57 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Stefan View Post
Optimization in terms of reducing the memory usage. Each player had hundreds of clientr.muditem_ flags, the original scripters probably thought those are deleted at logout, but they are not, it's clientr.mud_. So those flags required a huge amount of memory on server-side and also made login slower. Also there were two dbnpcs with a huge amount of variables which were not used anyway but it was adding more and more.

I cannot blame the scripters, but if each server would take >500 MByte memory then there is not enough memory on the machine. There should eventually be some tools to measure the memory usage of npcs, players and levels.
I think it would be better to put all the not-so-much-memory-eating playerworlds onto one of the better machines you mentioned somewhere, and only put one or two memory-eating playerworlds on the other ones. If you got enough...
Reply With Quote