Author Topic: Very long time to unload a party 3.6.0 L32  (Read 1063 times)

papoteur

  • Guest
Very long time to unload a party 3.6.0 L32
« 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
« Last Edit: 1 January 2012, 09:50:58 by papoteur »

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Very long time to unload a party 3.6.0 L32
« Reply #1 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?
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

papoteur

  • Guest
Re: Very long time to unload a party 3.6.0 L32
« Reply #2 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.

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Very long time to unload a party 3.6.0 L32
« Reply #3 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.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

 

anything