ESAc_matador Posted July 5, 2016 Posted July 5, 2016 Hello Fellows... there is something happening in a mission I made, there are around 400 units, mostly ground units, no more than 10 radar and SAM systems, around 10-12 planes, but mostly tanks and Infantry. Is it too much?? it happens that as time goes by, the mission (for the server) start to slutter, and the lags more intense... IT has many scripts. Mist Moose Suppression fire Detection IR CTLD CAS and Recon (made by me, but there are no loops, is just orders) EWRS Dynamic Defense Script (mine too) It seems like there is some memory liking... ANy suggestion?
xcom Posted July 5, 2016 Posted July 5, 2016 Most relevant to ground movement, I suggest you remove the ground movement and see if the issue persists. Also, I suggest to wait for the new MP update. [sIGPIC][/sIGPIC] BuddySpike Website | Live Map & Statistics BuddySpike Twitch Channel Buddyspike Discord Buddyspike Facebook
ESAc_matador Posted July 5, 2016 Author Posted July 5, 2016 Actually all ground movements are given by scripts mist. Grouptozone. And no more than 10 or 15 groups ate moving (around 60 units) is that too much?
ESAc_matador Posted July 5, 2016 Author Posted July 5, 2016 Are loops in scripting too demanding? I use "in pairs"... But all tables are "local".
xcom Posted July 5, 2016 Posted July 5, 2016 Yes that's many. It also depends on time of mission running and how many clients. [sIGPIC][/sIGPIC] BuddySpike Website | Live Map & Statistics BuddySpike Twitch Channel Buddyspike Discord Buddyspike Facebook
ESAc_matador Posted July 5, 2016 Author Posted July 5, 2016 I am doing some tests, using my laptop as server... Everything is much more smooth!!! I put it lowest resolution and also I am running it in F10 mode! that works way better!
Wrecking Crew Posted July 6, 2016 Posted July 6, 2016 (edited) I use Render3D=False on my server; it runs with an old GTX series 5xx card. This is the content of the ..\DCS\Config\autoexec.cfg - options.graphics.maxfps = 30 options.graphics.render3D = false if not net then net = {} end net.download_speed = 1024*1024 net.upload_speed = 256*1024 Back in the old v1 days I ran into a unit ceiling around 800, but not anymore. Some of my missions push that, even. WC Edited July 6, 2016 by Wrecking Crew Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
ESAc_matador Posted July 6, 2016 Author Posted July 6, 2016 I use Render3D=False on my server; it runs with an old GTX series 5xx card. This is the content of the ..\DCS\Config\autoexec.cfg - options.graphics.maxfps = 30 options.graphics.render3D = false if not net then net = {} end net.download_speed = 1024*1024 net.upload_speed = 256*1024 Back in the old v1 days I ran into a unit ceiling around 800, but not anymore. Some of my missions push that, even. WC It goes much better like this, than only in my cpu. I'll check the render thing....
SNAFU Posted July 6, 2016 Posted July 6, 2016 (edited) I used to play the ground commander/ game master in our squad campaign and noticed in pre 1.5 missions, that giving more than 3 groups orders to move to a certain place or along a road causes terrible lags after about an hour. So I limited myself to have at most 3 groups moving at the same time and this prevented the lag. I hope this improved in 1.5. since we just wanted to continue the campaign after a longer break, but your report doesn´t give me much hope. In this regard is CA and mulitplayer a real joke. We use a dedicated server machine, with a graphic card (don´t know which one. but we just moved onto a new machine last fall) have the server also a minimum grphic settings and set to F-10 map. Usually we have 10 clients and around 300-500 ground units and lag sets in after one hour, when about 5 ground groups are moving at the same time. Edited July 6, 2016 by SNAFU [sIGPIC][/sIGPIC] Unsere Facebook-Seite
xcom Posted July 6, 2016 Posted July 6, 2016 In blue flag we have more than 2000 units in the mission. after taking care of the normal issues such as using a dedicated server, using no rendering etc.. You should consider DCS limitations - - number of moving ground units. - number of clients. - time the mission runs (suggest to restart every now and then, depends on the above 2 how much time to restart by). - hard running scripts. - graphics setting the server restricts, this directly affects clients with low end computers, eventually they will be the main cause for lag. There's probably some more I forgot to mention. [sIGPIC][/sIGPIC] BuddySpike Website | Live Map & Statistics BuddySpike Twitch Channel Buddyspike Discord Buddyspike Facebook
SNAFU Posted July 6, 2016 Posted July 6, 2016 Interesting to read these experience... I notice that you can have almost unlimited static units and that many the active AI does cause performance issues, so I limited myself to 300-600 active units (I wrote a little script which removes all non-essential groups and counts the units after mission start to better control performance) but have no limit for statics. Are these 2000 units active units or active units with switched off AI or statics? [sIGPIC][/sIGPIC] Unsere Facebook-Seite
xcom Posted July 6, 2016 Posted July 6, 2016 Because of the format Blue Flag runs in, At a given state the maximum amount that are spawned will be half. it does not include dynamically spawned groups done by CTLD and other scripts. There are around 50 units with switched off AIs that have the AI being switched on in relation to the running campaign. Blue flag usually runs with around 60 players stable for 3 hours cycles. [sIGPIC][/sIGPIC] BuddySpike Website | Live Map & Statistics BuddySpike Twitch Channel Buddyspike Discord Buddyspike Facebook
BaD CrC Posted July 6, 2016 Posted July 6, 2016 I am interested in the solution if any. I actually built a mission some years ago with 600 static objects to recreate a small town that was not on the caucasus map. It was painful but looked really nice when flying SP for testing. Then I ran it MP with my squad mates and only a quarter of the buildings showed up. I was pretty disappointed. https://www.blacksharkden.com http://discord.gg/blacksharkden
ESAc_matador Posted July 6, 2016 Author Posted July 6, 2016 Can you post it here? I might try to do something with it!
ESAc_matador Posted July 6, 2016 Author Posted July 6, 2016 I use Render3D=False on my server; it runs with an old GTX series 5xx card. This is the content of the ..\DCS\Config\autoexec.cfg - options.graphics.maxfps = 30 options.graphics.render3D = false if not net then net = {} end net.download_speed = 1024*1024 net.upload_speed = 256*1024 Back in the old v1 days I ran into a unit ceiling around 800, but not anymore. Some of my missions push that, even. WC Hello Wrecking... I cant find this file... are you sure it is in that path?
cichlidfan Posted July 6, 2016 Posted July 6, 2016 Hello Wrecking... I cant find this file... are you sure it is in that path? You have to create it. ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup:
BaD CrC Posted July 6, 2016 Posted July 6, 2016 Found the topic I created 1 year ago. Wasn't 600 objects actually but 1200 :)) : Here are two examples: Example 1: City center. What is seen by host: What is seen by guests: Example 2: What is seen by host: What is seen by guests: https://www.blacksharkden.com http://discord.gg/blacksharkden
ESAc_matador Posted July 6, 2016 Author Posted July 6, 2016 You have to create it. So I create the file and I put it in that path?? that is all?
Wrecking Crew Posted July 6, 2016 Posted July 6, 2016 yes, in your Saved Games folder in the DCS\Config folder, autoexec.cfg. WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
Recommended Posts