Results 1 to 3 of 3

Thread: Un-used swap

  1. #1
    Join Date
    Sep 2009
    Location
    California
    Beans
    43
    Distro
    Kubuntu 8.04 Hardy Heron

    Question Un-used swap

    I am just wondering why KDE never uses my swap. On the KsysGuard, It reports that I have a GB of swap that is never used. I have 2GB of ram. This is only an issue because VMware will take up half of my computers resources for itself if, in the event, it needs to use it. How do I change this so my swap is being used.

    I have:
    Kubuntu 8.04LTS

  2. #2
    Join Date
    Mar 2010
    Location
    Ohio
    Beans
    465
    Distro
    Kubuntu

    Re: Un-used swap

    If you're not experiencing performance problems, then it's a good thing that your computer is not using any swap.

    It's unusual, in my experience not to use any swap when running a virtual machine, but it's not automatically a bad sign if you're not. It's actually quite normal not to use swap until the physical memory is nearly full with ACTIVE data. The command line "top" program reports physical usage with INACTIVE included, and INACTIVE can be dumped at any time, without paging to disk. It's also a lot faster if it does NOT get paged out to disk.

    My laptop only has 1GB of RAM, and I don't even have a swap partition on the hard drive, because it's so small (EeePC with 8GB SSD). Running the FULL 10.04 desktop version, with Firefox, Guitar Pro 6, OpenOffice.org and the terminal as well as other things open simultaneously, I still cannot get it to use over 75% of physical memory.

    If you really must have more swap usage, you can try increasing swappiness. See this thread here. Just increase the number to something high, like 70-80-90-100. But keep in mind that this will probably hurt your performance rather than helping it.
    Last edited by Ranko Kohime; May 27th, 2010 at 02:34 PM.

  3. #3
    Join Date
    Sep 2009
    Location
    California
    Beans
    43
    Distro
    Kubuntu 8.04 Hardy Heron

    Talking Re: Un-used swap

    Thanks man. Now I understand how swap works on KUbuntu. I will try out your site and see if it works.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •