UPS friendly green chips?
-
- Fast Inserter
- Posts: 187
- Joined: Fri Jan 05, 2018 5:18 pm
- Contact:
UPS friendly green chips?
What is a UPS efficient layout for green chips? Either bots or belts would be welcome. I've been putting 2 wire assemblers and 2 green chip assemblers in a 4x8 rectangle of beacons. The wire assemblers are fast enough to keep up with the chips, and the chip assemblers are 5.5 speed (+340%). I think there must be a better layout, though, as a normal box of 12 beacons with 4 prod modules gives a speed of 8. I was guessing that a 12 beacon layout would actually be worse for UPS, though, as then the wire would either need bots or belts for transport.
-
- Fast Inserter
- Posts: 187
- Joined: Fri Jan 05, 2018 5:18 pm
- Contact:
Re: UPS friendly green chips?
Very nice, thank you!
-
- Fast Inserter
- Posts: 187
- Joined: Fri Jan 05, 2018 5:18 pm
- Contact:
Re: UPS friendly green chips?
From a UPS perspective, do you know which of the following three are best?
- green chip assembler occasionally turns off because of not enough wire (the image shown)
- replace prod module with speed in the wire assembler
- remove one beacon near the green chip assembler
The green chip assembler has a speed of 7.375, but its effective speed is 6.883 because of how much wire it gets.
- green chip assembler occasionally turns off because of not enough wire (the image shown)
- replace prod module with speed in the wire assembler
- remove one beacon near the green chip assembler
The green chip assembler has a speed of 7.375, but its effective speed is 6.883 because of how much wire it gets.
Re: UPS friendly green chips?
The type of module should not affect UPS, I believe entities sleeping is pretty good (it's definitely not worse), and I think beacons have next to no UPS impact as well.AngledLuffa wrote: ↑Wed Jan 23, 2019 8:48 pmFrom a UPS perspective, do you know which of the following three are best?
- green chip assembler occasionally turns off because of not enough wire (the image shown)
- replace prod module with speed in the wire assembler
- remove one beacon near the green chip assembler
The green chip assembler has a speed of 7.375, but its effective speed is 6.883 because of how much wire it gets.
In conclusion, to the best of my knowledge, whichever produces the most green circuits.*
*But it's more complicated because replacing productivity with speed would increase your resource costs and hence the scale of your mining, smelting, and transportation infrastructure...
There are 10 types of people: those who get this joke and those who don't.
-
- Fast Inserter
- Posts: 187
- Joined: Fri Jan 05, 2018 5:18 pm
- Contact:
Re: UPS friendly green chips?
Indeed, I was wondering whether it is worth it to get full power out of the green chip assembler at the cost of flying around 20% more copper plates
Re: UPS friendly green chips?
Good excuse to finally try out factorio benchmarking...
Tested 2 setups. both built on the same empty map with the same settings.
They produce the same (12.5K per minute)
Setup 1:
-fully beaconed
-Copper wire with belts
Results:
Performed 600000 updates in 48127.782 ms
avg: 0.080 ms, min: 0.061 ms, max: 0.348 ms
checksum: 1649213351
59.183 Goodbye
Performed 600000 updates in 48264.212 ms
avg: 0.080 ms, min: 0.061 ms, max: 0.386 ms
checksum: 1649213351
59.116 Goodbye
Performed 600000 updates in 48209.047 ms
avg: 0.080 ms, min: 0.061 ms, max: 0.379 ms
checksum: 1649213351
60.901 Goodbye
Setup 2:
-fully beaconed
-full robot setup
Result:
Performed 600000 updates in 50863.923 ms
avg: 0.085 ms, min: 0.063 ms, max: 0.328 ms
checksum: 1216465678
61.699 Goodbye
Performed 600000 updates in 50546.559 ms
avg: 0.084 ms, min: 0.063 ms, max: 0.323 ms
checksum: 1216465678
61.607 Goodbye
Performed 600000 updates in 50693.630 ms
avg: 0.084 ms, min: 0.063 ms, max: 0.315 ms
checksum: 1216465678
61.564 Goodbye
System setup:
0.009 System info: [CPU: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz, 6 cores, RAM: 4830/16295 MB, page: 6845/18727 MB, virtual: 4252/134217727 MB, extended virtual: 0 MB]
0.010 Display options: [FullScreen: 0] [VSync: 0] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
0.016 Available display adapters: 3
0.016 [0]: \\.\DISPLAY1 - AMD Radeon R9 200 Series {0x80005, [0,0], 2560x1440, 32bit, 60Hz}
Tested 2 setups. both built on the same empty map with the same settings.
They produce the same (12.5K per minute)
Setup 1:
-fully beaconed
-Copper wire with belts
Results:
Performed 600000 updates in 48127.782 ms
avg: 0.080 ms, min: 0.061 ms, max: 0.348 ms
checksum: 1649213351
59.183 Goodbye
Performed 600000 updates in 48264.212 ms
avg: 0.080 ms, min: 0.061 ms, max: 0.386 ms
checksum: 1649213351
59.116 Goodbye
Performed 600000 updates in 48209.047 ms
avg: 0.080 ms, min: 0.061 ms, max: 0.379 ms
checksum: 1649213351
60.901 Goodbye
Setup 2:
-fully beaconed
-full robot setup
Result:
Performed 600000 updates in 50863.923 ms
avg: 0.085 ms, min: 0.063 ms, max: 0.328 ms
checksum: 1216465678
61.699 Goodbye
Performed 600000 updates in 50546.559 ms
avg: 0.084 ms, min: 0.063 ms, max: 0.323 ms
checksum: 1216465678
61.607 Goodbye
Performed 600000 updates in 50693.630 ms
avg: 0.084 ms, min: 0.063 ms, max: 0.315 ms
checksum: 1216465678
61.564 Goodbye
System setup:
0.009 System info: [CPU: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz, 6 cores, RAM: 4830/16295 MB, page: 6845/18727 MB, virtual: 4252/134217727 MB, extended virtual: 0 MB]
0.010 Display options: [FullScreen: 0] [VSync: 0] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
0.016 Available display adapters: 3
0.016 [0]: \\.\DISPLAY1 - AMD Radeon R9 200 Series {0x80005, [0,0], 2560x1440, 32bit, 60Hz}
-
- Fast Inserter
- Posts: 187
- Joined: Fri Jan 05, 2018 5:18 pm
- Contact:
Re: UPS friendly green chips?
Neat! Can I ask what you use to do this testing? I would gladly stress test some of my own layouts if I had a good setup for it. I was thinking that god mode wouldn't quite work as it would easily do 60ups the entire way, but it seems you are not going that fast. How did you accomplish that without spamming the same layout over and over?
My initial suspicion is that both a direct insertion bot layout and a direct insertion belt layout will do better than the two layouts you showed, but I'd love to experiment on that myself.
My initial suspicion is that both a direct insertion bot layout and a direct insertion belt layout will do better than the two layouts you showed, but I'd love to experiment on that myself.
Re: UPS friendly green chips?
I'm not entirely sure if it's what he used, but there's some command line stuff you can do.AngledLuffa wrote: ↑Thu Jan 24, 2019 10:35 pmNeat! Can I ask what you use to do this testing? I would gladly stress test some of my own layouts if I had a good setup for it. I was thinking that god mode wouldn't quite work as it would easily do 60ups the entire way, but it seems you are not going that fast. How did you accomplish that without spamming the same layout over and over?
My initial suspicion is that both a direct insertion bot layout and a direct insertion belt layout will do better than the two layouts you showed, but I'd love to experiment on that myself.
There are 10 types of people: those who get this joke and those who don't.
-
- Fast Inserter
- Posts: 187
- Joined: Fri Jan 05, 2018 5:18 pm
- Contact:
Re: UPS friendly green chips?
So this should work?
- build a design in sandbox mode, save it
- run from the command line with -benchmark FILE -benchmark-ticks N
- build a design in sandbox mode, save it
- run from the command line with -benchmark FILE -benchmark-ticks N
Re: UPS friendly green chips?
@Jap 2.0: yep.
Like this:(windows)
"D:\games\Factorio_16_standalone\bin\x64\Factorio.exe" --mod-directory "D:\games\Factorio_16_standalone\mods" --disable-audio --benchmark "bench_save.zip" --benchmark-ticks 600000 >> "D:\games\Factorio_16_standalone\benchmark.log" 2>&1
Last part generates output logfile in the main factorio directory.
Like this:(windows)
"D:\games\Factorio_16_standalone\bin\x64\Factorio.exe" --mod-directory "D:\games\Factorio_16_standalone\mods" --disable-audio --benchmark "bench_save.zip" --benchmark-ticks 600000 >> "D:\games\Factorio_16_standalone\benchmark.log" 2>&1
Last part generates output logfile in the main factorio directory.
Last edited by disentius on Fri Jan 25, 2019 2:22 pm, edited 1 time in total.
Re: UPS friendly green chips?
direct insertion bot layout:
(Same throughput greens)
Performed 600000 updates in 40437.798 ms
avg: 0.067 ms, min: 0.047 ms, max: 0.283 ms
checksum: 4096971926
51.665 Goodbye
Performed 600000 updates in 40102.277 ms
avg: 0.067 ms, min: 0.047 ms, max: 0.353 ms
checksum: 4096971926
51.095 Goodbye
Performed 600000 updates in 40182.177 ms
avg: 0.067 ms, min: 0.047 ms, max: 0.320 ms
checksum: 4096971926
51.991 Goodbye
Looks like your instinct is backed up by numbers, AngledLuffa
(Same throughput greens)
Performed 600000 updates in 40437.798 ms
avg: 0.067 ms, min: 0.047 ms, max: 0.283 ms
checksum: 4096971926
51.665 Goodbye
Performed 600000 updates in 40102.277 ms
avg: 0.067 ms, min: 0.047 ms, max: 0.353 ms
checksum: 4096971926
51.095 Goodbye
Performed 600000 updates in 40182.177 ms
avg: 0.067 ms, min: 0.047 ms, max: 0.320 ms
checksum: 4096971926
51.991 Goodbye
Looks like your instinct is backed up by numbers, AngledLuffa
Re: UPS friendly green chips?
No need for sandbox mode. Edit config.ini in your factorio testinstallation freeplay directory. enables you to run a normal freeplay game with the tools you need.
You'll find config ini here:
You can also use Creative Mode mod, but that one has ups impact on its own.
[your factorio install directory]\data\base\scenarios\freeplay
Make a backup of the original before editing.
More info on the factorio api page and the Wiki.
I use this one to build test setups:
You'll find config ini here:
You can also use Creative Mode mod, but that one has ups impact on its own.
[your factorio install directory]\data\base\scenarios\freeplay
Make a backup of the original before editing.
More info on the factorio api page and the Wiki.
I use this one to build test setups:
spoiler
Re: UPS friendly green chips?
So as quick summary:
All bots: avg: 0.084 ms
Wire belts: avg: 0.080 ms
direct insertion: 0.067 ms
Direct Insertion having the best performance was to be expected, but seeing belted wires perform better than bots is a surprise.
PS you can use Creative Items, which only makes use of existing hidden items and should have no noticeable performance impact.
All bots: avg: 0.084 ms
Wire belts: avg: 0.080 ms
direct insertion: 0.067 ms
Direct Insertion having the best performance was to be expected, but seeing belted wires perform better than bots is a surprise.
PS you can use Creative Items, which only makes use of existing hidden items and should have no noticeable performance impact.
My Mods: mods.factorio.com
Re: UPS friendly green chips?
Yes, it looks that way.
However, the test was small scale, and i did not try different orientations. Still lots to be tested.
Optera means this Mod
It conveniently avoids the hassle of editing config.ini.
However, the test was small scale, and i did not try different orientations. Still lots to be tested.
Optera means this Mod
It conveniently avoids the hassle of editing config.ini.
-
- Fast Inserter
- Posts: 187
- Joined: Fri Jan 05, 2018 5:18 pm
- Contact:
Re: UPS friendly green chips?
I've been trying some profiling experiments with all of these suggestions, and it's been very interesting so far. Without spamming too many pictures, I find that a simple change like putting a lane balancer at the end of a column of furnaces leads to a big improvement. Presumably the belt doesn't get those occasional gaps which throw off the compressed belt optimizations. I'll keep experimenting with other things (next up is testing my blue chip factories and structure factories, belt vs bot). If I come up with a green chip layout which blows away the layouts presented here, I'll report back, of course. In the meantime, thanks for all the help!
-
- Fast Inserter
- Posts: 187
- Joined: Fri Jan 05, 2018 5:18 pm
- Contact:
Re: UPS friendly green chips?
I built a couple blue chip factories to compare, and the results are pretty biased in favor of bots.
The bot based layout ran 1,000,000 ticks in 49s, and the belt based layout took 147s. I would say that there is probably some optimization to be done in both of the layouts, but in some ways they're about equal - they both have green chip assemblers that run at 5.5 speed, for example.
You can see that the resources come in via infinity chests, and the resulting chips go into an infinity chest that eats everything. Fluids are produced infinitely by putting infinite barrels of that fluid into an assembler which pipes directly into a tank. I figured this was close enough to simulating getting fluids brought in by train
How do I put these images in spoilers?
Edit: one thing I did do on the bot based version was put the inserters on timers, but I doubt that would have that large of an impact. I suppose I could test that as well.
The bot based layout ran 1,000,000 ticks in 49s, and the belt based layout took 147s. I would say that there is probably some optimization to be done in both of the layouts, but in some ways they're about equal - they both have green chip assemblers that run at 5.5 speed, for example.
You can see that the resources come in via infinity chests, and the resulting chips go into an infinity chest that eats everything. Fluids are produced infinitely by putting infinite barrels of that fluid into an assembler which pipes directly into a tank. I figured this was close enough to simulating getting fluids brought in by train
How do I put these images in spoilers?
Edit: one thing I did do on the bot based version was put the inserters on timers, but I doubt that would have that large of an impact. I suppose I could test that as well.
clickme
clickme
Last edited by AngledLuffa on Sat Jan 26, 2019 8:28 pm, edited 1 time in total.
Re: UPS friendly green chips?
Like this:
Result:
Code: Select all
[spoiler=clickme][attachment=0]12k green-robot.png[/attachment][/spoiler]
clickme
Looks promising, your testing. Nice builds!