Building a server-friendly base

Discussion in 'Alice (Minecraft)' started by Smudgerox, Sep 16, 2013.

  1. Smudgerox

    Smudgerox Active Member

    Joined:
    Oct 9, 2012
    Messages:
    321
    Likes Received:
    77
    Hello everyone,

    This thread is a list of "DOs and DON'Ts" of building a server-friendly base.

    Applied Energistics:
    • Try not to have an absolutely MASSIVE system, and use subsystems if possible.
    • Use Level Emitters with incinerators to get rid of your excess, so your machines don't overflow if your storage gets full.
    Buildcraft:
    • Use Liquiducts instead of Waterproof Piping. They have an auto-extract feature (no need for an engine, only a redstone signal).
    • Use Insertion Pipes and a runoff pipe to an incinerator for when you use transport pipes, for things like MFR Machinery.
    • Use Gates to detect full inventories so your system knows when to stop sending items.
    Minefactory Reloaded:
    • Placeholder
    IndustrialCraft 2:
    • Don't have massive spiderwebs of cabling, especially with Solar Panels.
    • Color-Code your voltages with GregTech spray cans, instead of painters.
    • Run your voltage as high as you can, with transformer upgrades on the machines themselves. Avoid the transformer blocks as much as you possibly can, they use a ridiculous amount of CPU.
    GregTech (IC2 Addon):
    • Placeholder
    Frogcraft (IC2 Addon):
    • ACWindmills use quite a bit of CPU, and they don't produce much at all, so avoid using them. They can also lag your client.
    OpenCCSensors:
    • If you use a Player Detector, have it only check for a player when it is triggered by a pressure plate, or another form or RS signal, like a button to tell the person you have arrived.
    Thanks to Proger_cbsk for compiling some of this list, and for letting me take over the thread.
     
    LGuasso, Drift91, Demenzia and 6 others like this.
  2. LeiserGeist

    LeiserGeist Gamer, Software Developer

    Joined:
    Oct 26, 2012
    Messages:
    479
    Likes Received:
    116
    Didn't know about the spray can bit, that's a helpful thing to know.
    I guess I should stick all my dyes into spraycans! Lol
     
  3. Progercbsk

    Progercbsk yes ?

    Joined:
    Jul 29, 2013
    Messages:
    68
    Likes Received:
    39
    Is there also stuff to know about lenght of wiring/pipe ? like 100+ block-long

    about AE, are import buses more CPU friendly than an item translocator to ME interface ?
     
  4. Demenzia

    Demenzia *boop*

    Joined:
    Feb 2, 2012
    Messages:
    555
    Likes Received:
    380
    I'd like to get examples for subsystems, please. currently i' running everything from one controller. if possible i use ender chests /tanks to avoid cabling.
    how about like 40 long rs conduits?
     
  5. Drift91

    Drift91 Occasional Forum Creeper

    Joined:
    Sep 16, 2013
    Messages:
    85
    Likes Received:
    12
    So I find this thread AFTER I build a 64 LV transformer array to run my whole house off of LV. XD

    Do transformers use less CPU if there's less power flowing through them? Or do they use a ton of CPU even while idle?
     
  6. Neonbeta

    Neonbeta Person who did stuff and things

    Joined:
    Mar 2, 2012
    Messages:
    2,603
    Likes Received:
    757
    Even while idle, the transformers still use larger amounts of CPU then they should.

    If you're looking for larger packets, I would suggest you use an adjustable transformer. It can upscale the voltage packets. It still uses a fair amount of CPU, but still less then 64 LV transformers.
     
  7. Drift91

    Drift91 Occasional Forum Creeper

    Joined:
    Sep 16, 2013
    Messages:
    85
    Likes Received:
    12
    I was trying to keep the EU/p down and the EU/t up. Basically was trying to alleviate the problem of having to make a messy network of cables, and instead put all my machines on one LV line. This of course was before I discovered painters/spray cans.

    I'd just run everything off of HV if I could, but a lot of my machines don't accept upgrades. One example is my induction furnace.
     
  8. Neonbeta

    Neonbeta Person who did stuff and things

    Joined:
    Mar 2, 2012
    Messages:
    2,603
    Likes Received:
    757
    I think you misread what I said. I said voltage packets, in regards to the adjustable transformer; Which is basically eu/t. With the adjustable transformer, you're able to configure all the packets and voltages with customize-able inputs and outputs You are able to configure it to output up to 32k eu/t, but that's HV and above.

    And what machines do you have that don't take upgrades? So far, the only ones I know of is the induction furnace, as well as the advanced machines made by Immibis, and Frogcrafts advanced machines.
     
    Demenzia likes this.
  9. Drift91

    Drift91 Occasional Forum Creeper

    Joined:
    Sep 16, 2013
    Messages:
    85
    Likes Received:
    12
    Induction Furnace, Rotary Macerator, Singularity Compressor and Centrifuge Extractor. Basically any IC2 machine without upgrade slots I'm assuming doesn't take upgrades. I haven't actually tried right clicking however. Also I'm not sure if my auto disenchanter can take HV or not.

    Can it take an input of one 8K EU packet per tick and convert it into 256 32EU packets each tick? I'm basically trying to run 8192EU/t through cables in LV packets. Just realized it's the input of the transformer that's limited, not the output. So the adjustable transformer would work perfectly if it can accept 8192EU packets from the UHSU I plan on crafting.

    How much CPU do the cables themselves use when there's lots of small packets going through them? And does the Adjustable Transformer use as much CPU as a single IC2 transformer, or less?
     
  10. Smudgerox

    Smudgerox Active Member

    Joined:
    Oct 9, 2012
    Messages:
    321
    Likes Received:
    77
    We can up the Voltage on Advanced Machines. I can start on another update that includes it, most likely the final one. In regards to CPU usage with transformers, it seems like the act of transforming packets causes the lag, not transformers in and of themselves. Adjustable Transformers seem exaggerated on profiling results because they do the work of many transformers. Also, MFR machines actually take 2048/p, so don't worry. Even if they didn't, they would just "break" and drop like breaking a block that a torch is on.
     
  11. Drift91

    Drift91 Occasional Forum Creeper

    Joined:
    Sep 16, 2013
    Messages:
    85
    Likes Received:
    12
    Would the power converters mod be a less CPU-hungry alternative? I use steam power, so I could perhaps place my endertanks and power converters near the machines instead of being centralized. Or maybe just use a HV consumer and LV producer.

    Speaking of endertanks, I know they're hard on client FPS, how are they on server TPS?
     
  12. Smudgerox

    Smudgerox Active Member

    Joined:
    Oct 9, 2012
    Messages:
    321
    Likes Received:
    77
    That is a pretty good idea, since neither PowerConverters or Ender Tanks are very heavy on the server. (1.6 for Tanks and less than .5% for PowerConverters.)
     
  13. Pathaleon

    Pathaleon Forum & Server Administrator
    Staff Member

    Joined:
    Jul 3, 2012
    Messages:
    1,014
    Likes Received:
    670

    They are LightWeight on the Serverside but due to the custom end portal texture in the bottom of the tank, they lower fps significantly in numbers.
     
  14. punk_and_goth

    punk_and_goth AFK a minimum of 23 hours, 59 minutes per day.

    Joined:
    Feb 7, 2013
    Messages:
    312
    Likes Received:
    128


    depends on your toaster
     
  15. ZoomerX

    ZoomerX Sent to exile for no reason

    Joined:
    Feb 13, 2013
    Messages:
    223
    Likes Received:
    88
    Not everyone has (or can afford) a computer like yours punk...
     
    kerjava and hsun324 like this.
  16. suchtie

    suchtie #LinuxMasterRace

    Joined:
    Jun 17, 2013
    Messages:
    303
    Likes Received:
    114
    I already decided I'd try building a "lightweight" base which neither strains FPS nor TPS too much.

    Someone (I'm bad with names) already told me that loops/short circuits in EU cables cause very much CPU load, so it's best to avoid those. Also, I only have 2 transformer blocks right now, but in the future I'll definitely try and use the transformer upgrades instead.

    Perhaps it's best if I avoid EU altogether. I'll try using Thermal Expansion machines too, hopefully they can get fast enough. Doesn't have to be extremely quick but still fast. I'll likely spend more time on upgrading my base visually than technically anyways, and I don't want to automate all crafting. The things I do automate will rely on enderchests/-tanks.

    You should use one sub-system for each job (like autocrafting, farms, storage) so that it looks like they are different ME systems, but everything is still connected to one controller. If you use an ME Dark Cable then you can use this practice to shut down parts of your system. Let's say your boiler room just exploded and you don't have backup power, you can simply shutdown the farming, autocrafting and other subsystems so you can still access your item storage with very little power.

    Call me paranoid but I always think what-if-something-bad-happens, I want to control my power consumption a bit because of that, and I'll have backup solars and EU machines in case my boilers explode or run out of fuel. I already thought about using barrels again so I wouldn't need any power at all to get my stuff. But that's boring without RP2 tubes... :(

    I don't think the difference matters much performance-wise, but don't quote me on that. Gameplay-wise, the translocator method is probably a bit faster because they get items instantly out of the machines and buses don't import instantly. I believe it's actually even cheaper than an import bus.
    Personally I'll use interfaces if I decide on continuing with Thermal Expansion machines because they automatically output their stuff.
     
  17. Progercbsk

    Progercbsk yes ?

    Joined:
    Jul 29, 2013
    Messages:
    68
    Likes Received:
    39
    IC2 transformers and Adjustable Transformer optimization sample

    Having 32768 EU/t over "cheap" glass fiber cable 512 EU/p setup :

    Raw solution : 16x HV transformers, superconductors, etc...
    [​IMG]

    Now the *exact* same result with Adjustable Transformer :
    [​IMG]

    /me happy ^_^

    ps : what need 32768 EU/t ? an accidental 4x overclocked industrial blast furnace...
     
  18. Neonbeta

    Neonbeta Person who did stuff and things

    Joined:
    Mar 2, 2012
    Messages:
    2,603
    Likes Received:
    757
    Not really 1 thing that would need the full 32k eu/t, but multiple machines (mainly Ind. electrolyzers and centrifuges). I use it when I have a lot of machines that powering it with an adjustable would be a whole lot easier.
     
  19. Drift91

    Drift91 Occasional Forum Creeper

    Joined:
    Sep 16, 2013
    Messages:
    85
    Likes Received:
    12
    Just craft a new one? :p
    This is how I was going to use my transformers. I wanted to power my whole base off one UHSU. However now I'm using endertanks to deliver my steam directly to power converters next to my machines. Unfortunately I'd need several expensive IDSU's and a ton of cable to keep up with power demand in the future without getting EU bottlenecks. Yes, endertanks cut down FPS. But they're cheaper, far easier to manage and don't hurt TPS much.
     
  20. suchtie

    suchtie #LinuxMasterRace

    Joined:
    Jun 17, 2013
    Messages:
    303
    Likes Received:
    114
    Depth of Field... you play SKCraft with shaders? I'd like to have your computer...