Distiler Posted March 4, 2009 Posted March 4, 2009 (edited) I might be wrong but look at the speed setting of 56kb/s modem compared to the others in scripts/net/net_types.lua: return { -- {name, download_speed, upload_speed} -- add new network types after this line {"Modem 56", 56*1024/8, 33600/8}, {"ADSL 128/64", 128*1024, 64*1024}, {"ADSL 256/128", 256*1024, 128*1024}, {"LAN 1", 1024*1024, 1024*1024}, {"LAN 10", 10240*1024, 10240*1024} -- add new network types before this line } It seems the modem settings are expressed in Bytes and the others in bits (see the /8). So if I'm not wrong and the game picks all those values as bits, selecting a modem would result in 8 times lower bandwidth than a real 56kb modem should reach. Edited March 4, 2009 by Distiler AMD Ryzen 1400 // 16 GB DDR4 2933Mhz // Nvidia 1060 6GB // W10 64bit // Microsoft Sidewinder Precision 2
EtherealN Posted March 4, 2009 Posted March 4, 2009 Well, that is if it takes all of them as bits. Do you have a reason to suspect that it does? If the standard settings are such that someone made a specific difference to it I would assume that they did so for a reason. You don't usually do such a change by mistake. [sIGPIC][/sIGPIC] Daniel "EtherealN" Agorander | Даниэль "эфирныйн" Агорандер Intel i7 2600K @ 4.4GHz, ASUS Sabertooth P67, 8GB Corsair Vengeance @ 1600MHz, ASUS GTX 560Ti DirectCU II 1GB, Samsung 830series 512GB SSD, Corsair AX850w, two BENQ screens and TM HOTAS Warthog DCS: A-10C Warthog FAQ | DCS: P-51D FAQ | Remember to read the Forum Rules | | | Life of a Game Tester
Distiler Posted March 4, 2009 Author Posted March 4, 2009 Yes as I've said, if teh game picks all the values as bits. I suspect it does, or in other words, I don't suspect it differentiates between lines to assign bytes or bits. It's just a head ups for devs, in case they just mistyped the value. AMD Ryzen 1400 // 16 GB DDR4 2933Mhz // Nvidia 1060 6GB // W10 64bit // Microsoft Sidewinder Precision 2
Distiler Posted March 4, 2009 Author Posted March 4, 2009 (edited) Look. When you select in network speed "modem 56" the file /config/network.cfg changes to (just the first line): connection = {"Modem 56", 7168, 4200} If you select any other, for example DSL 128/64: connection = {"ADSL 128/64", 131072, 65536} So it seems, if there is not any other odd thing, that it really use bits and selecting a modem reduces the bandwidth by 8 compared to a regular modem. PD: another strange thing is netfork.cfg doesen't change until you close DCS, so you might not be really changing network speed untill restart the game. Just a guess. Edited March 4, 2009 by Distiler AMD Ryzen 1400 // 16 GB DDR4 2933Mhz // Nvidia 1060 6GB // W10 64bit // Microsoft Sidewinder Precision 2
EtherealN Posted March 4, 2009 Posted March 4, 2009 (edited) Well, what I mean is, do you have reason beyond looking at the file? Have you run it on a modem connection and used a network traffic analysis tool to see what bandwidth it does use? The difference might be that it uses a different internal module when on modem than it does when using other network types, and that other module might be wanting bytes instead of bits. Only looking at the config file isn't revealing without knowing how DCS handles network traffic. Edited March 4, 2009 by EtherealN [sIGPIC][/sIGPIC] Daniel "EtherealN" Agorander | Даниэль "эфирныйн" Агорандер Intel i7 2600K @ 4.4GHz, ASUS Sabertooth P67, 8GB Corsair Vengeance @ 1600MHz, ASUS GTX 560Ti DirectCU II 1GB, Samsung 830series 512GB SSD, Corsair AX850w, two BENQ screens and TM HOTAS Warthog DCS: A-10C Warthog FAQ | DCS: P-51D FAQ | Remember to read the Forum Rules | | | Life of a Game Tester
Distiler Posted March 4, 2009 Author Posted March 4, 2009 (edited) Yes and no. I've tested it in a DSL connection, not in a modem. The values (specially upload) in /config/network.cfg match what I'm seeing using a bandwidth meter. I have 320 max upload in my DSL but I've set it at 280*, and the max upload I'm seeing while flying with others is exactly 280. *I made a new entry "ADSL 3000/280" in the network speed drop menu using scripts/net/net_types.lua Edited March 4, 2009 by Distiler AMD Ryzen 1400 // 16 GB DDR4 2933Mhz // Nvidia 1060 6GB // W10 64bit // Microsoft Sidewinder Precision 2
EtherealN Posted March 4, 2009 Posted March 4, 2009 Very interesting. 'course, I do wonder who will try playing this on a modem, but still very interesting. [sIGPIC][/sIGPIC] Daniel "EtherealN" Agorander | Даниэль "эфирныйн" Агорандер Intel i7 2600K @ 4.4GHz, ASUS Sabertooth P67, 8GB Corsair Vengeance @ 1600MHz, ASUS GTX 560Ti DirectCU II 1GB, Samsung 830series 512GB SSD, Corsair AX850w, two BENQ screens and TM HOTAS Warthog DCS: A-10C Warthog FAQ | DCS: P-51D FAQ | Remember to read the Forum Rules | | | Life of a Game Tester
Recommended Posts