Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    should i increase the swap file size now?

    hello every body

    i am using Linux redhat 9.0 distro. when i installed it previously i had 192 MB ram and i specified the swap file size 400 MB. now yesterday i installed a new Ram 256 MB now i have 448 MB of random access memory. now my question is should i increase the swap file size now to get better performance from the additonal ram? if yes then what should be the amount of swap file size to be increased? and also how can i do that? do i reinstall the distro in order to change the swap file size?

    please help

  2. #2
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    The old 3*RAM argument for the size of swap space was for older computers when RAM prices were expensive, these days, having 500 MB of RAM and ~ 500 MB of swap is more than enough. You may notice a marginal increase in performance, but unless you are a speed freak, theres no need to go for it.
    Life is complex, it has a real part and an imaginary part.

  3. #3
    well no not a speed freak i am but still wanna know how can i change modify the swap file size without reinstall the operation system again... actually i didnt found any way to go to change/ modify the swap file size...
    please tell me if you know about it how to change...

  4. $spacer_open
  5. #4
    Linux Engineer
    Join Date
    Apr 2005
    Don't worry about your swap file, you don't need to increase it. If you want to cut it down, you'll have to resize the swap partition. That's the only way you can influence the max size of your swap.
    Debian Jessie x86_64 & armhf :: LibreELEC is the solution for your Linux-based HTPC setups.

  6. #5
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Knee deep in Grand Rapids, Michigan
    The best way to resize your swap partition would be to get a livecd suchas Knoppix or Mepis and SystemRescue cd has qtparted on it. And you can use that to resize any partitions.
    If you want to learn more about linux take a linux journey
    Use CODE tags when posting output of commands. Thank you.

Posting Permissions

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