Multi-Threading

Discussion in 'Support!' started by Corang, October 23, 2013.

?

Would having PA support multiple cores be beneficial to you?

  1. Yes

    96.9%
  2. No

    2.1%
  3. I do not know

    1.0%
  1. gunshin

    gunshin Well-Known Member

    Messages:
    790
    Likes Received:
    417
    You clearly do not understand what a client-server architecture is. It does not mean that you cannot operate a server and client on the same machine. Have you ever played minecraft? because that uses a server-client architecture aswell, but when you play singleplayer games, minecraft is running an internal server on your computer for you to connect to locally. The servers for PA run the majority (if not all of) the simulation. On release, when they allow us to do community servers, you will be able to run a server on your computer, and yes, it will take a lot of resources to do so. But the client should not take much from CPU for simulation.

    All i can take from your comment is that you are trying to be sarky, but in the case you were not, i have explained the basics. PA MAY do it this way too (not sure how else they would do singleplayer in offline mode if they wanted to keep it 'simple'), but they will certainly do this for LANs.
  2. BulletMagnet

    BulletMagnet Post Master General

    Messages:
    3,263
    Likes Received:
    591
    @gunshin, have a read of Time's previous postings on the forum. You will be able to divine whether he's being snarky or not.
  3. zaphodx

    zaphodx Post Master General

    Messages:
    2,350
    Likes Received:
    2,409
    Then you host a LAN server that has nothing to do with Ubernet. The server has nothing to do with the graphical rendering of the game.
  4. Timevans999

    Timevans999 Active Member

    Messages:
    518
    Likes Received:
    44
    It does if your using and playing at the same time
  5. carn1x

    carn1x Active Member

    Messages:
    389
    Likes Received:
    156
    How much memory do you have? I wonder if you have low RAM or your seeing a memory leak whether your swapping to disk. I'm not sure but this would probably max out a single core and it could explain low performance.
  6. Timevans999

    Timevans999 Active Member

    Messages:
    518
    Likes Received:
    44
    Hey Bull if you were as good at gaming as you seem to be at spotting other peoples grammatical errors or trolling then I would be very scared of you.
  7. Corang

    Corang Well-Known Member

    Messages:
    772
    Likes Received:
    313
    For everyone wondering about RAM I have 8 GB over 2 DDR3 Sticks 1333 MHz
  8. alopex2lagopus

    alopex2lagopus Member

    Messages:
    48
    Likes Received:
    6
    A lot of what this thread is talking about, has been mentioned and beat to death over at this other thread. Not sure why nobody pointed to this earlier...
    PA Multi-threading
  9. alopex2lagopus

    alopex2lagopus Member

    Messages:
    48
    Likes Received:
    6
    The reasons for low performance is likely a combination of things. But if one processor core is maxed out, thats a good sign of a bottleneck, doesn't seem to matter if you only have one core or 8, the Coherent UI processes themselves can get divided up amongst the cores, if I understand the way the game is structured out. But if one coherent UI requires more processing power than what one of your cores can provide, that is going to be a bottle neck. plain and simple. Maybe not THAT bottleneck, but certainly one of them.
    Last edited: October 24, 2013
  10. monkeyulize

    monkeyulize Active Member

    Messages:
    539
    Likes Received:
    99
    I'm sure once the server is released you will see much heavier CPU usage.

    You need to learn just a little bit about the difference between a GPU and a CPU.
  11. rick104547

    rick104547 Member

    Messages:
    305
    Likes Received:
    17
    From what i know a cpu is able to do everything a gpu can but is much much slower. So i think in theory it should be possible but i dont think its worth it. Might also introduce extra overhead.
  12. gunshin

    gunshin Well-Known Member

    Messages:
    790
    Likes Received:
    417
    Actually, sli gtx760 is better than a gtx780, for less cost.
  13. Terrasque

    Terrasque Member

    Messages:
    49
    Likes Received:
    29
    It will introduce A LOT of overhead. You have to send data back and forth between the card and cpu, and that's just painfully slow.

    It's a bit like sending a piece of paper to the other side of town to have it put in an envelope, and then retrieved back again so you can post it. Sure, you can collect a large batch and send back and forth periodically, but that is kinda not helpful when you're trying to put information on the screen as soon as possible.
  14. garat

    garat Cat Herder Uber Alumni

    Messages:
    3,344
    Likes Received:
    5,376
    From memory and CPU perspective certainly, but most certainly not from a GPU perspective.

    If you want to host a multi person LAN game while playing on the same box, you will of course need a bit more memory and a more robust CPU, but your GPU doesn't enter into it.
    gunshin likes this.
  15. zweistein000

    zweistein000 Post Master General

    Messages:
    1,362
    Likes Received:
    727
    So basically... What does one need (from a hardware point of view) To get the best performance experience in this game. Because I don't get it - I thought that server only handled the physics and keeping everyone in sync.
  16. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    No. Server do all simulation you see in game include AI, path finding, line of sight, projectiles.

    Game client just don't have (by design) all this information in memory. As result none of client-side cheats (like map-hack) are possible in PA because server (should) verify any command client sent. E.g it's only give client recon information about units you actually might see.

    Obviously it's mean server need lot of RAM and it's very CPU-intensive.
    zweistein000 likes this.
  17. zweistein000

    zweistein000 Post Master General

    Messages:
    1,362
    Likes Received:
    727
    But Why dowe we even get FPS Drops then? It seems to me that if the server handles everything then the only bottleneck should be the GPU and VRAM. Why shouldn't the CPU then take the load off GPU and help it with rendering graphics?
  18. Stormie

    Stormie Active Member

    Messages:
    122
    Likes Received:
    28
    Im not expert but i would assume that most of the time its a delay in getting the data from the server to your machine. a network bottleneck
  19. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Because some parts of game client is not too efficient yet and this what developers improve in every new version.

    Because CPU can't "help" GPU and even if it's were possible CPU loaded for 100% can't give even +1% to rendering performance.
    Quitch and Terrasque like this.
  20. Terrasque

    Terrasque Member

    Messages:
    49
    Likes Received:
    29
    Because it doesn't work that way.

Share This Page