Results 1 to 4 of 4

Thread: [SOLVED] Is my swap too big? Pc running slow

  1. #1
    Join Date
    Jul 2008
    Beans
    111
    Distro
    Ubuntu 8.04 Hardy Heron

    [SOLVED] Is my swap too big? Pc running slow

    I recently did a clean install of Ubuntu and chose to make my swap bigger than before. I have 256mb on this pc and before I always let the partitioner do auto config on the swap during the install. It was 667mb before.. This time I made it 1gb. There seems to be a lot of hdd activity going on while doing minor tasks. Things that opened fast before take longer now. Did I make the swap too big? I have gparted should I resize? I dont know what else could be causing the slowness.

  2. #2
    Join Date
    Jan 2007
    Location
    $here ? $here : $there
    Beans
    3,717
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Is my swap too big? Pc running slow

    It's probably not too big, no. With 256M of RAM, you can expect a lot of swap activity and that will generally slow your machine. If at all possible, I would try to upgrade to at least 512M of RAM. Changing the swappiness value may help as well. Edit /etc/sysctl.conf and add the following line:

    Code:
    vm.swappiness = 0
    Then run:

    Code:
    sudo sysctl -p
    That should make the machine prefer RAM to swap and will insure that it stays that way every time you reboot.
    Don't try to make something "fast" until you are able to quantify "slow".

  3. #3
    Join Date
    Jul 2008
    Beans
    111
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Is my swap too big? Pc running slow

    Yeah I need to get some more ram.. Thx for the reply.

  4. #4
    Join Date
    Dec 2007
    Location
    Wellington, New Zealand
    Beans
    37
    Distro
    Xubuntu

    Re: [SOLVED] Is my swap too big? Pc running slow

    OMG that worked awesomely for me. Thanks!!!!

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
  •