Optimizing MU resources usage

Results 1 to 11 of 11
  1. #1
    Retired NanoGuy is offline
    MemberRank
    Jul 2012 Join Date
    IsraelLocation
    286Posts

    Optimizing MU resources usage

    since there is no reason to reinvent the wheel the better solution is the efficient one
    so after quick lookup i seen that MU usages most of CPU power to render objects so the basic idea
    is to limit them or even better filter them besides writing such code wont be an issue

    does anyone else want to contribute their ideas?


  2. #2
    Don't be afraid to ask! RevolGaming is offline
    MemberRank
    Jun 2012 Join Date
    1,458Posts

    Re: Optimizing MU resources usage

    You talk about the clientside or the serverside?

    If you remove the useless logging parts from your serverside and make a little bit better code than the old, you can reduce the cpu and ram usage. I am using zteam source, the original gs using 650 mb ram about, my is using about 320 (with 70 online players/GS).

    The clientside s1-s6 has normal cpu usage, but if you are playing on a potato it can be problem of course. On a normal c2d or c2q or higher pc you cant get any lag or anything...

  3. #3
    Retired NanoGuy is offline
    MemberRank
    Jul 2012 Join Date
    IsraelLocation
    286Posts

    Re: Optimizing MU resources usage

    Quote Originally Posted by djsad94 View Post
    You talk about the clientside or the serverside?

    If you remove the useless logging parts from your serverside and make a little bit better code than the old, you can reduce the cpu and ram usage. I am using zteam source, the original gs using 650 mb ram about, my is using about 320 (with 70 online players/GS).

    The clientside s1-s6 has normal cpu usage, but if you are playing on a potato it can be problem of course. On a normal c2d or c2q or higher pc you cant get any lag or anything...
    ^ ^ my gs takes 40M ram and 0% cpu but thats not the point i was talking about client running multiple clients would be issue or if there is many players around you

  4. #4
    Don't be afraid to ask! RevolGaming is offline
    MemberRank
    Jun 2012 Join Date
    1,458Posts

    Re: Optimizing MU resources usage

    Quote Originally Posted by NanoGuy View Post
    ^ ^ my gs takes 40M ram and 0% cpu but thats not the point i was talking about client running multiple clients would be issue or if there is many players around you
    Please make a screenshot about your gs and from your task manager.... an avg dataserver eat 8-10 mb ram, so you have an interesting gs... maybe if you removed the full graphic interface... but i dont think.

    The lag around you can be cause because of its an opengl based client, you cant change the video ram usage of the opengl.

  5. #5
    Account Upgraded | Title Enabled! rusolp is offline
    MemberRank
    Mar 2008 Join Date
    $db->play_lifeLocation
    319Posts

    Re: Optimizing MU resources usage

    Reducing the CPU usage will be the custom of the millenium for client side... Im not a coder but can say that with a dual core, you just get fucked.

  6. #6

    Re: Optimizing MU resources usage

    Quote Originally Posted by djsad94 View Post
    Please make a screenshot about your gs and from your task manager.... an avg dataserver eat 8-10 mb ram, so you have an interesting gs... maybe if you removed the full graphic interface... but i dont think.

    The lag around you can be cause because of its an opengl based client, you cant change the video ram usage of the opengl.

  7. #7
    Retired NanoGuy is offline
    MemberRank
    Jul 2012 Join Date
    IsraelLocation
    286Posts

    Re: Optimizing MU resources usage

    Quote Originally Posted by djsad94 View Post
    Please make a screenshot about your gs and from your task manager.... an avg dataserver eat 8-10 mb ram, so you have an interesting gs... maybe if you removed the full graphic interface... but i dont think.

    The lag around you can be cause because of its an opengl based client, you cant change the video ram usage of the opengl.
    im using dynamic memory allocation on player plus monster have different structure which is also dynamic but i still not finishing clean it all up i believe even lower memory is possbile

  8. #8
    Let's do this... navossoc is offline
    MemberRank
    Sep 2004 Join Date
    BrazilLocation
    305Posts

    Re: Optimizing MU resources usage

    Quote Originally Posted by NanoGuy View Post
    im using dynamic memory allocation on player plus monster have different structure which is also dynamic but i still not finishing clean it all up i believe even lower memory is possbile
    I will not trade memory for performance, but it's a personal choice...

  9. #9
    Retired NanoGuy is offline
    MemberRank
    Jul 2012 Join Date
    IsraelLocation
    286Posts

    Re: Optimizing MU resources usage

    Quote Originally Posted by navossoc View Post
    I will not trade memory for performance, but it's a personal choice...
    and there is no need...

  10. #10
    Let's do this... navossoc is offline
    MemberRank
    Sep 2004 Join Date
    BrazilLocation
    305Posts

    Re: Optimizing MU resources usage

    Quote Originally Posted by NanoGuy View Post
    and there is no need...
    Dude, you said:

    im using dynamic memory allocation
    Are you sure you know what are you doing?

    []'s

  11. #11
    DarkMu wolfulus is offline
    MemberRank
    Jul 2006 Join Date
    BrazilLocation
    306Posts

    Re: Optimizing MU resources usage

    the problem with CPU usage is because of the client engine rendering models with many GL calls per vertex.
    if you manage to render using VBO you'll have HUGE performance gains.

    OOOOOORR,

    get better contacts and grab a main.exe source from some weird asian guy and rewrite part of the game to use directx instead, just like they did here: [MU Online] Promoção de Dezembro - MuAwaY! [PACOTES ATÉ x26 PARA GWs + ATÉ x6 PARA JCPOINTS + BRINDES]

    :P
    Last edited by wolfulus; 03-01-16 at 03:32 PM.



Advertisement