Sorting System and Lag

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

cH3wY

New Member
Jul 29, 2019
1
0
0
Hi, Newbie on here, so apologies if this is the wrong forum.

I've been trying to set up a sorting system to manage the output from some quarries including auto-macerate/furnace/compress/recycle. We had been using gregtech blocks but have changed our modpack to DW, so we where trying to set this up with filters and buffers but have been finding the timer laggy. This was just with 1 timer on a 5 second clock powering just a couple of filters etc. We also tried using retrievers but these obviously still require a pulse from a timer and where laggy still.

Does anyone have any suggestions for a sorting system that does not use timers?

We didnt want to use Buildcraft ideally. We've noticed that gold BC pipes have been nerfed to useless in DW? Why is this?

Thanks in advance
 

ItharianEngineering

New Member
Jul 29, 2019
473
0
0
Buildcraft changed the way Gold pipes work a while back. They now require 2 or more in a row to speed up to the old speed instead of 1. You could try a RP2 Sorting machine which can be set to send items to different colored tubes and depending on the mode you set it to, it does not require a timer.
 

Xakthos

New Member
Jul 29, 2019
81
0
0
I've had similar issue in that I need the sorter to handle at least 5 quarries running at maximum capability. The sheer amount of stuff backlogs and fills up the ender chest in most configurations. What I've done in past is buildcraft using multiple 'exit' pipes from the same chest all fully powered by combustion. This keeps up. I've been trying to switch over to redpower for the destination choosing ability but as you noted the timer is laggy and if it gets behind even slightly compared to the quarries the input chest fills up. Also max firing the timer can be rough on a server (though one could argue anything in the scale we're talking is hard on a server). Routers with their instant teleport could be used but they're bit of a pain in bulk. In theory you could have a row of routers extract from the input chest and eject into another chest for that given material then pipe out from that chest. Having the buffer chest specific to a given material should allow a little lag to not put the whole system so far behind as to cripple it.

Not sure about other alternatives. I'm actually in a creative world right now toying with them to see what my options are.
 

Golrith

Over-Achiever
Trusted User
Nov 11, 2012
3,834
2,137
248
In the current version of RedPower, the sorting machine has a mode for an inbuilt timer. Pulses quite fast, plus you have the option to pull individual items, or stacks.
 

b0bst3r

New Member
Jul 29, 2019
2,195
0
1
Quarry > relay > tubes to whatever

Relay doesn't use a timer and can keep up with the quarry at full speed.

What I do is quarry > relay > tubes to tesseract then
tesseract > relay > tubes along a row of barrels

I use an "upside down" filter to catch the cobblestone and send it into a series of 5 overclocked recyclers.
 

xSINZx

New Member
Jul 29, 2019
305
0
0
I also get lag when using a timer.
Have a simple flint maker with a timer attached Deployer/Block Breaker/Hopper attached to a timer. Whenever I turn it on things get very sluggish. Hope this is being looked at.
 

Xakthos

New Member
Jul 29, 2019
81
0
0
Quarry > relay > tubes to whatever

Relay doesn't use a timer and can keep up with the quarry at full speed.

What I do is quarry > relay > tubes to tesseract then
tesseract > relay > tubes along a row of barrels

I use an "upside down" filter to catch the cobblestone and send it into a series of 5 overclocked recyclers.

Hm. Haven't used the relay but looking at it the item has to be inserted on it's own power. So if my quarries are in a mystcraft world I'd have the relay put item in the chest (no reason, quarry can put directly into the chest) but I can't get it to take from the chest in my fortress world since the chest isn't a machine. I suppose switching from ender's to tesseracts is an option. I kinda liked my ender chests though because I could use my ender pouch to toss stuff into the sorting system manually from anywhere.
 

KhrFreak

New Member
Jul 29, 2019
689
1
0
I also get lag when using a timer.
Have a simple flint maker with a timer attached Deployer/Block Breaker/Hopper attached to a timer. Whenever I turn it on things get very sluggish. Hope this is being looked at.

how fast is your timer pulsing?
 

silenos

New Member
Jul 29, 2019
42
0
0
This lag is often caused by MC's lightengine constantly updating every pulse since redwire and the timer emit light when they are active. To prevent this place a light emitting block under the timer (lamp, lantern etc) and use insulated instead of plain redwire. Also stay away from excessive amounts of redstone tubes. But as others already said it'd be best to just use a sorting machine to pull out of your ender chest. :)
 

Futalis

New Member
Jul 29, 2019
44
0
0
Quarry > relay > tubes to whatever

Relay doesn't use a timer and can keep up with the quarry at full speed.

What I do is quarry > relay > tubes to tesseract then
tesseract > relay > tubes along a row of barrels

I use an "upside down" filter to catch the cobblestone and send it into a series of 5 overclocked recyclers.


I *really* don't recommend using relay's in the current incarnation of RP. Just placing one without using it reduced FPS in the area from 120 to 80. They are very unfriendly atm. Someone mentioned that it was due to a very short internal delay.

While I love relays and the theory behind them, they cause a lot of FPS problems.
 

b0bst3r

New Member
Jul 29, 2019
2,195
0
1
Everything causes lag, I personally have no issues with Relays, I use them all over the place, they don't cause lag or FPS drop.
 

ItharianEngineering

New Member
Jul 29, 2019
473
0
0
Everything causes lag, I personally have no issues with Relays, I use them all over the place, they don't cause lag or FPS drop.
Actually there is a problem with relays that has to do with how fast they update which is causing the game to resend entire chunks-worth of data to players on servers, which causes quite a bit of lag.
 

budge

New Member
Jul 29, 2019
273
0
0
Is this an issue I may be able to verify in a single player world, or do you figure it's only apparent when connecting to a remote server?
 

DoctorOr

New Member
Jul 29, 2019
1,735
0
0
I know that on one of the Forgecraft streams there was some discussion about massive amounts of block updates caused by redpower - not associated with timers. Significantly more than required to resend the entire block almost every tick.
 

Xakthos

New Member
Jul 29, 2019
81
0
0
Another issue I have with using redpower is yet another fking stupid power grid. Mean seriously, keeping up with another and one that specifically had removed the one conversion mod between types (I least can use power converters to warp easily between eu, bc, steam if I feel need) so I have to build it's own power grid system. Solar panels are only so useful depending on the situation (normally bad for me given where I like to build). Compared to the MJ and EU power grids it's highly primitive and I just don't see that changing. Bit of a quandry. It has nice features but also serious problems relying on it.
 

Vovk

New Member
Jul 29, 2019
321
0
0
I've been trying to build a relatively barrel free sorting system for the distribution of all items to a row of machines and 14 chests full of related items, accessible from an ender bag and hooked up to a single quarry. My design uses 1 sorting machine pulling from a chest and placing into up to 4 additional sorting machines (to handle just about any item I want to put into the system and to avoid a "generic chest of junk".

Problem is that one of the people on our server has a slower connection to the rest of us, and now whenever he loads the chunks with the sorting system, he gets irrevocably stuck in my base (lag teleports him back and his client is delayed up to 2 minutes). Do sorting machines really generate so much lag that 5 is an unreasonable number to have in a sorting system?

A problem is that gregtech adds a lot of new ores and ingots, and I want the system to handle ingots, dust, ores, forestry wood planks and logs, tin cells you name it - as I just want a bag to throw things into after I'm done a long crafting project.

A solution could be line of barrels fed from the top hooked up to managers on the bottom with a line of 3 or so diamond chests as the output, connected to managers handling their input. The input managers could be set to keep 1 stack of every item in the system in those 3 chests, allowing me to ignore the space consuming long line of barrels. It would also have the cool effect of replenishing any required object as soon as I take a stack - though it does slightly slow down my access to bulk goods like marble.
 

baw179

New Member
Jul 29, 2019
295
0
0
I've been trying to build a relatively barrel free sorting system for the distribution of all items to a row of machines and 14 chests full of related items, accessible from an ender bag and hooked up to a single quarry. My design uses 1 sorting machine pulling from a chest and placing into up to 4 additional sorting machines (to handle just about any item I want to put into the system and to avoid a "generic chest of junk".

Problem is that one of the people on our server has a slower connection to the rest of us, and now whenever he loads the chunks with the sorting system, he gets irrevocably stuck in my base (lag teleports him back and his client is delayed up to 2 minutes). Do sorting machines really generate so much lag that 5 is an unreasonable number to have in a sorting system?

A problem is that gregtech adds a lot of new ores and ingots, and I want the system to handle ingots, dust, ores, forestry wood planks and logs, tin cells you name it - as I just want a bag to throw things into after I'm done a long crafting project.

A solution could be line of barrels fed from the top hooked up to managers on the bottom with a line of 3 or so diamond chests as the output, connected to managers handling their input. The input managers could be set to keep 1 stack of every item in the system in those 3 chests, allowing me to ignore the space consuming long line of barrels. It would also have the cool effect of replenishing any required object as soon as I take a stack - though it does slightly slow down my access to bulk goods like marble.

The problem I foresee with your last idea is what happens to the surplus that is pulled out of the barrels by the managers? Once your destination inventory has its 64 of 'whatever' it will send the rest of the items coming down the pipe back where they came from. That works great for a chest but barrels don't let you insert more than 1 stack in the bottom. The best solution I can come up with off the top of my head is to put a restriction tube underneath the barrel and then connect an ender chest or item tesseract at 90 degrees so that the backflow goes in there which is then sent back to the start of your barrel sorting system to be restored. However I'm not sure how managers react if there's a restriction tube in the way as I've not tested it.
 

Vovk

New Member
Jul 29, 2019
321
0
0
a restriction tube is just a normal tube with a length of 5000. Manager should treat it like 5000 normal tubes.
 

Milaha

New Member
Jul 29, 2019
310
0
0
I use an "upside down" filter to catch the cobblestone and send it into a series of 5 overclocked recyclers.

You might consider replacing that filter with a restriction tube. That way anything that has a barrel to go to goes there, but if a barrel fills up or anything else "overflows" it has a backup path in the recyclers. (for that matter a restriction tube followed by a relay into a void pipe beyond the recyclers is a good call as well).