MegaGlest Forum

MegaGlest => Bug reports => Topic started by: papoteur on 1 January 2012, 09:43:15

Title: Very long time to unload a party 3.6.0 L32
Post by: papoteur on 1 January 2012, 09:43:15
Once a party is final, after loosing or winning, it takes a very long time to unload any items as world, map...
This time is about 5 to 30 minutes.
I know that the computer is under specifications : 512M RAM. But it works well before this step. The CPU is 100% needed. I think it is not normal that such a need of resources just for unloading.
Version : Megaglest 3.6.0
On linux Mageia 1, 32bits
Installed from MegaGlest-Installer-3.6.0_i386_linux.run

Happy new year.
Yves
Title: Re: Very long time to unload a party 3.6.0 L32
Post by: tomreyn on 1 January 2012, 15:11:10
Due to the lack of RAM on this system, the OS will probably need to swap a lot of memory to disk. When the game is over, this memory is deallocated, which I assume results in the OS doing a lot of work on the swap partition, making the process very slow. Is the HDD constantly busy while the game is unloading?
Title: Re: Very long time to unload a party 3.6.0 L32
Post by: papoteur on 1 January 2012, 15:31:55
Is the HDD constantly busy while the game is unloading?
Yes
I'm surprised that the problem is important only at this step.
Thx.
Title: Re: Very long time to unload a party 3.6.0 L32
Post by: tomreyn on 1 January 2012, 19:01:53
I don't know how it works, but maybe the process of unloading the game data can be optimized to reduce the I/O operations a little bit more, I guess this would help in such situations. Still, this system really has way too little RAM, which is the root cause of this issue.