I know, I am answering RBB's question... http://forum.ragezone.com/6702824-post13.html
add:
&& personally I didn't think it would, but I am testing that theory anyway...
Printable View
I know, I am answering RBB's question... http://forum.ragezone.com/6702824-post13.html
add:
&& personally I didn't think it would, but I am testing that theory anyway...
Oh well it was a nice idea.
Went around and experimented with this today. In short: it does not work as you say, it's just a way to bulk load instances.
What it actually does it gs starts, fork itself and then load the specific map. It might be slightly faster to start up but it does not save any ram (as shown below). It also means once started the maps are fully independent (crash one != crash other).
Load at once (./gs 1 2)
(notice the parent process becomes 1 as the initial loader dies)Code:$ ps -C gs -o rss,pid,ppid,command
RSS PID PPID COMMAND
80668 18112 17706 ./gs gs01 gsworld.cfg gs.cfg gsworldalias.cfg is20
(few seconds later)
$ ps -C gs -o rss,pid,ppid,command
RSS PID PPID COMMAND
420456 18118 1 ./gs gs01 gsworld.cfg gs.cfg gsworldalias.cfg
134024 18119 1 ./gs is20 gsworld.cfg gs.cfg gsworldalias.cfg
Load separately (./gs 1 ; ./gs 2)
Code:$ ps -C gs -o rss,pid,ppid,command
RSS PID PPID COMMAND
419188 18023 17706 ./gs gs01 gsworld.cfg gs.cfg gsworldalias.cfg
133016 18052 17706 ./gs is20 gsworld.cfg gs.cfg gsworldalias.cfg
I will have to test that in full detail later on... All I know is that my previous tests (on my 32GB server) concluded that my release needs at least 16 GB of ram to run all maps simultaneously and safely... Also, I have never been able to open all maps at the same time on a machine with only 4GB using the 'original method'/"correct" method of loading one map at a time... However I HAVE been able to open all maps simultaneously using the above method on that same 4GB machine; I kept that server 'up' for 7 days before coming to the conclusion that it indeed does use less ram to start all the maps that way... (the server was up 7 days with no crashes)...