Results 1 to 3 of 3

Thread: About to try HD install for first time - SWAP size?

Hybrid View

  1. #1
    Member registered user
    Join Date
    Mar 2004
    Location
    England
    Posts
    33

    About to try HD install for first time - SWAP size?

    Hi All,

    I just got knoppix 3.3 today, I've not played with knoppix much before and I was wondering; I just went and wiped the HD ready for an all knoppix install. I made up the usual 3 partitions as per my fairly standard recipe, however I got a little bit of a question arising out of it all:

    Normally it's reckoned that as a broad rule of thumb you'd want 2.5 times your memory as a swap size. however I see comments like 512Mb max. If I got 512Mb mem, then I would guess that indicates +1280M (or so) for swap instead of the more usual +512M.

    I can spare it, so should I, or not? What are the arguments for and against this?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    The old "rule of thumb" 2.5 x RAM is obsolete and has been since 2.4 kernels.

    Linux' use of swap is frighteningly sophisticated.

    As I see it, popping things which will be seldom used into swap makes sense. Although swap is (much) slower than RAM, the more RAM you have available (due to use of swap) to serve the more frequently called things the quicker the job will be done.

    In short, the only argument is swap or no swap. Use more than 1/2 Gig or so and you're just wasting space which could be filled with .oggs or Buffy movies............

  3. #3
    Member registered user
    Join Date
    Mar 2004
    Location
    England
    Posts
    33
    Quote Originally Posted by fingers99
    The old "rule of thumb" 2.5 x RAM is obsolete and has been since 2.4 kernels.
    Pardon me I am sure, I'm an old bloke and we tend not to be THAT trendy ;O)

    Quote Originally Posted by fingers99
    Linux' use of swap is frighteningly sophisticated.
    I see, I may not understand fully, but I'm glad enough to hear it!


    Quote Originally Posted by fingers99
    As I see it, popping things which will be seldom used into swap makes sense. Although swap is (much) slower than RAM, the more RAM you have available (due to use of swap) to serve the more frequently called things the quicker the job will be done.
    Yep, that was pretty much my take on it too.

    Quote Originally Posted by fingers99
    In short, the only argument is swap or no swap. Use more than 1/2 Gig or so and you're just wasting space which could be filled with .oggs or Buffy movies............
    Ah, I'm not sure oggs and buffy are really me these days (or even long ago now I think about it), and this is a prototype for a home server I want to build; Could it be that having enough swap beyond all possible doubt may not be such a criminal waste, when seen in that light?

    I was perhaps a little less than thoughtful earlier when I referred to "my usual recipe", please do not even remotely misinterpret this as me knowing what on earth I am doing, as I really, really don't! ;O) (I am slowly trying to remedy that in the way that us stumbling old blokes tend to though!)

    Thanks heaps for your insight! (still not quite sure whether to "waste" or not mind you, but now it's less tempting than it was earlier) [progress?]

Similar Threads

  1. Knoppix 4.0 DVD Install size
    By GerryA in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 07-09-2005, 05:11 PM
  2. 3.4 install- can't change the swap?
    By explosion242 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 02-14-2005, 05:20 PM
  3. Knoppix HD install, but SWAP isn't being used..
    By Jerunk in forum General Support
    Replies: 1
    Last Post: 06-06-2004, 08:03 PM
  4. knoppix hdd install and swap partition ?
    By raphael24 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 09-07-2003, 10:48 PM
  5. Hdd Install of swap file
    By fjon13 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 04-29-2003, 06:13 AM

Posting Permissions

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


Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro picture

Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro

$239.99



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50



Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11 picture

Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11

$229.99



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50



Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro picture

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro

$319.99



Lenovo ThinkPad L14 Gen 3 14

Lenovo ThinkPad L14 Gen 3 14" FHD Laptop i5 12th Gen 16GB RAM 256GB SSD Win 11

$329.99



Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11 picture

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11

$374.99



Lenovo Thinkpad T14 Gen 2i 14

Lenovo Thinkpad T14 Gen 2i 14" 16GB 512GB, Black

$313.00



Lenovo ThinkPad T14s Laptop 14” Laptop Core i5 8GB RAM 256GB SSD Windows 11 Pro picture

Lenovo ThinkPad T14s Laptop 14” Laptop Core i5 8GB RAM 256GB SSD Windows 11 Pro

$249.99



Slightly Used - Lenovo IP Slim 3 Chrome 14M868 14

Slightly Used - Lenovo IP Slim 3 Chrome 14M868 14" Touchschcreen .

$80.00