Author Topic: Memory Usage  (Read 4197 times)

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Memory Usage
« on: August 05, 2012, 07:27:47 pm »
Hello ,

someone is having problems with memory, my core all md's are using 100% of memory
i have  on core a  dell optiplex 755 with 4G  and 5 optiplex gx620 with 2g as a MD.

system is to slow  after 1 hour of usage .

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Memory Usage
« Reply #1 on: August 05, 2012, 07:56:54 pm »

JaseP

  • Addicted
  • *
  • Posts: 526
    • View Profile
    • JaseP's LinuxMCE Wiki User page
Re: Memory Usage
« Reply #2 on: August 06, 2012, 02:36:25 pm »
@cfernandes:

You might want to adjust swappiness on the MDs,... High swappiness is more of a indicator of sluggishness on Linux systems than RAM usage. You might want a swappiness setting of 5 vs the default 60 as the MDs are net boot systems.

See here:
http://askubuntu.com/questions/103915/how-do-i-configure-swappiness

I don't know if it will be a huge difference, but most who lower swappiness report it being more responsive, with desktop systems.
See my User page on the LinuxMCE Wiki for a description of my system configuration (click the little globe under my profile pic).

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Memory Usage
« Reply #3 on: August 07, 2012, 03:56:29 pm »
be happy that the smart system utilizes your memory :-) It would be a bad investment if the RAM were idling unused, right?

@jasep
there should be no need to tune the swappiness on LMCE. We don't run workloads that go beyond installed RAM. So most of the RAM is used as cache anyway and there is no need for heavy paging. I'd refrain from giving such tuning advice to not so experienced users. They will be fine with the default settings.
rock your home - http://www.agocontrol.com home automation

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: Memory Usage
« Reply #4 on: August 07, 2012, 06:08:00 pm »
well then I must find that leaving it too slow

JaseP

  • Addicted
  • *
  • Posts: 526
    • View Profile
    • JaseP's LinuxMCE Wiki User page
Re: Memory Usage
« Reply #5 on: August 07, 2012, 06:34:50 pm »
@cfernandes;

When you notice the system starting to slow down,... {Alt}{Ctrl}{F1} to a terminal and use the top command to see what is running. Given what Posde is saying, your RAM and swapping is not what is likely causing the slowdown. I suspect something else, like a misbehaving application of some kind. Please, especially, report if with top, if you see any of the following running:
  • nepomuk, nepomuk-server, or anything with nepomuk in the name.
  • stringi ... or anything including that name
  • akonadi, akonadi-server, or, again, anything related to these names

The foregoing programs are KDE desktop related programs that are tied into KDE's "social desktop" schema. They scan the available drives for metadata related to contact information and feed it into Kontact, the KDE PIM software. If any part of the KDE desktop is run, or invoked somehow, these will activate and start eating up CPU cycles and IO bandwidth. On anything short of an i7 quad core with 8GB of RAM, they will grind the system to a functional halt. In Kubuntu 10.04, the versions of these "utilities" are especially poor/buggy, and pretty much need to be deactivated entirely (someone,... Posde or Thom, or someone,... confirmed they are not used in LinuxMCE for anything).

But if don't see any of the programs listed above, please report anything you do see that is using a large portion of resources.
See my User page on the LinuxMCE Wiki for a description of my system configuration (click the little globe under my profile pic).

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: Memory Usage
« Reply #6 on: August 11, 2012, 04:26:23 pm »
i do a rebuild on MD  and now is working,  thank you