Vu+
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Memory usage

Discussion in 'Vu+ Solo2 Black Hole Images' started by lovrencan, Jan 31, 2013.

  1. lovrencan

    lovrencan Vu+ Newbie

    Messages:
    21
    Gents,
    could you please share your memory usage experience?
    By specifications, there should be 1GB DDR3 RAM, however usage on my box is all the time above 70%.
    Therefore I ran free command via telnet which on my big surprise report:
    only 512MB of ram.

    Code:
    root@vusolo2:~# free
                  total        used        free      shared      buffers
      Mem:      571836      455292      116544            0        8948
    Swap:            0            0            0
    Total:      571836      455292      116544
    root@vusolo2:~#
    
     
  2. komodo

    komodo Vu+ User

    Messages:
    156
    Hi,

    i'v found this on the world of satellite forum


     
  3. lovrencan

    lovrencan Vu+ Newbie

    Messages:
    21
    @komodo,

    much appreciated on your answer.
    Is there any option to reduce system reserved memory?
     
  4. paolino

    paolino Vu+ User+++

    Messages:
    4,189
    Trust me!

    There is 1 GB of SYSTEM RAM, you can't see a lot of it, only for example Video Buffer RAM. And 571836/1024? How much is it? 558,433 and not 512.

    You are running Linux and RAM is for to be used! NOT TO BE FREE!
    Please, do not use any RAM Freeing plugin, you will only slow the system!
    RAM is used for Linux Buffer and Cache.
     
  5. komodo

    komodo Vu+ User

    Messages:
    156
    Thats right :)
     
  6. lovrencan

    lovrencan Vu+ Newbie

    Messages:
    21
    Cheers! I feel better now ;)
     
  7. lovrencan

    lovrencan Vu+ Newbie

    Messages:
    21
    If I just move on from here.
    When I use wget (i.e. download 10GB file), my memory usage increase up to 99%, even after process is finished, ram is somehow occupied and the only solution to release it, is reboot.

    could it be that kernel can't "clean" ram as it should?
     
  8. komodo

    komodo Vu+ User

    Messages:
    156
    No, it's normal behaviour.

    Try this on the command line

    and there you can see somethign like this

    so i fou compare with free

    there you can see that active memory usage is only 5424kB and other are Buffers and Cache so, that's why you can see free ram after reboot.
     
  9. paolino

    paolino Vu+ User+++

    Messages:
    4,189
    I repeat again: RAM is for to be used, not to bo free! Let the Linux to do his work!
     
  10. komodo

    komodo Vu+ User

    Messages:
    156
    Relax :) maybe it's windows user :)
     
  11. lovrencan

    lovrencan Vu+ Newbie

    Messages:
    21
    Cheers komodo.
    My problem is that reboot is required, without reboot, box will freeze on fast zapping or recording.
    My opinion is that ram should be occupied while wget (or similar task) is in use, but when is done, ram shall be released.
     
  12. komodo

    komodo Vu+ User

    Messages:
    156
    Cheers,

    are you sure that the problem is caused by RAM ?

    What taks do you do to freeze your box ? I will try on my machine.
     
  13. 23732

    23732 Vu+ Newbie

    Messages:
    25
    I think there is something else that causes your box to crash, because my RAM usage is 98% but my box is still superfast, able to record and do everything else it is supposed to.
     
  14. komodo

    komodo Vu+ User

    Messages:
    156
    I agree, i have memory usage almost full (of course most of it is Cache and Buffers) but no problems and freezing.

    As i wrote, in linux ram is not freed unles is not needed for other process.
     
  15. lovrencan

    lovrencan Vu+ Newbie

    Messages:
    21
    Well, if I would download mkv file via wget (to avoid copying on LAN) and after download is finished, scheduled recording will freeze my box.
    If wget is not used, issue won't appear.

    Also noticed that even task via samba would do same thing...
     
  16. komodo

    komodo Vu+ User

    Messages:
    156
    So you download file via wget on your box from some location and recording freeze ?

    And what do you do with samba to freeze your box ?

    Sorry for many questions but i don't have a clue why should this happened.
     
  17. lovrencan

    lovrencan Vu+ Newbie

    Messages:
    21
    No worries komodo, it seems that my explanation was not clear.
    wget:
    I am using dedicated remote ubuntu server to download "large files", from there I normally transfer files to my home location.
    Instead of downloading to computer, I am downloading to VU+, where I watch as well.
    samba:
    used for local transfers to xtreamer...

    in both cases ram usage is high, and that leads to occasional issues mentioned before.
     
  18. komodo

    komodo Vu+ User

    Messages:
    156
    Hi,

    so i made som tests, but i am sure that your problem is not ram.

    I have copied 10GB file, and i was recording 2 streams and one viewing.

    And here are the results.

    Before copying.

    During copying, from top

    So as you can see, no extra memory usage.

    And here you can see that whole file was uploaded to VU+.

    And as i wrote and you can see in the attachement, two recordings are active, one of them HD and one channel was online.

    So yor problem is sure not in RAM, maybe you could change your HDD, or return your box, maybe is faulty.

    Regards

    Martin
     

    Attached Files:

    lovrencan likes this.
  19. lovrencan

    lovrencan Vu+ Newbie

    Messages:
    21
    Much appreciated komodo,
    Will try to reinstall image first, to see if it helps.
     
  20. Alexwilmac

    Alexwilmac Vip

    Messages:
    4,488
    What command shows the memory usage of each process?
     

Share This Page